Loading ...
Sorry, an error occurred while loading the content.

4645Re: [soaplite] UPDATED Re: Question using .NET wsdl file in perl client

Expand Messages
  • Duncan Cameron
    May 5, 2005
    • 0 Attachment
      At 2005-05-05, 06:14:12 you wrote:

      >After tinkering a bit with my perl client connecting to a .NET server,
      I have this:
      >
      >#!/usr/bin/perl -w
      >
      >use strict;
      >use SOAP::Lite +trace=>'debug';
      >
      >my $soap = SOAP::Lite
      > ->service('http://www.francisshanahan.com/TheHolyBible.asmx?wsdl')
      > ->ListBooks();
      >
      >bless $soap, "SOAP::SOM";
      >
      >for ($soap->valueof("//bible_content")) {
      > print $_->BookTitle, ' - ', $_->Book, "\n";
      >}
      >
      >Examining the trace output shows the data is being passed back to
      $soap and the bless
      >statement allows me to use valueof. However, the print statement shows
      nothing. It
      >outputs one empty line and that's it. Any idea why I'm not getting to
      the data in $soap?
      >
      >Matthew
      >
      See this prior thread about using WSDL and getting the SOM object

      http://groups.yahoo.com/group/soaplite/message/4445

      Duncan









      ___________________________________________________________
      Yahoo! Messenger - want a free and easy way to contact your friends online? http://uk.messenger.yahoo.com
    • Show all 6 messages in this topic