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

3404Calling a .NET service

Expand Messages
  • Burno, Pierre
    Mar 5, 2004

      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;

       

       

    • Show all 3 messages in this topic