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

3409Re: [soaplite] Calling a .NET service

Expand Messages
  • Todd Tyree
    Mar 8, 2004
      Bruno,

      Have you had any luck with this yet? If not, could you send me the
      +trace output, and I'll have a look to see if I can help?

      Cheers,
      Todd

      Burno, Pierre wrote:

      > Hello,
      >
      >
      >
      > I am attempting to connect to a .NET service and pass simple parameters,
      > strings and integers. But I am not having any success. Below is my
      > client code…Any suggestions?
      >
      >
      >
      >
      >
      > use SOAP::Lite +autodispatch =>+trace =>qw(all);
      >
      >
      >
      > my $soap = SOAP::Lite
      >
      > -> uri('…’)
      >
      > -> on_action( sub { join '/', '…’, $_[1] } )
      >
      > -> proxy('…')
      >
      > -> autotype(0)
      >
      > -> soapversion('1.1')
      >
      > -> envprefix('soap')
      >
      > -> encprefix('soap');
      >
      >
      >
      > my $method = SOAP::Data->name('Echo')
      >
      > ->attr({xmlns => '…'});
      >
      >
      >
      > my $response = SOAP::Data->name(value => 'mystring');
      >
      >
      >
      > print $soap->call($method => $response)->result;
      >
      >
      >
      >
      >
      >
      > *Yahoo! Groups Sponsor*
      > ADVERTISEMENT
      >
      >
      > ------------------------------------------------------------------------
      > *Yahoo! Groups Links*
      >
      > * To visit your group on the web, go to:
      > http://groups.yahoo.com/group/soaplite/
      >
      > * To unsubscribe from this group, send an email to:
      > soaplite-unsubscribe@yahoogroups.com
      > <mailto:soaplite-unsubscribe@yahoogroups.com?subject=Unsubscribe>
      >
      > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
      > Service <http://docs.yahoo.com/info/terms/>.
      >
      >
    • Show all 3 messages in this topic