in reply to SOAP and .NET Web Services

I never used SOAP so forgive me if it doesn't help. In the line:
-> on_action( sub { join '/', 'https://wstest.solspark.com', $_[1] }
you use index 1 inside array @_, but indexes to arrays start from 0 in Perl. I tried to look at the on_action method more in depth in SOAP::Lite docs, but they didn't enlighten me much.

On a more general base, why don't you start with some clear-text experiments (using HTTP instead of HTTPS)? In this way, you would be able to capture traffic (e.g. using ethereal) and see what's going on between your client and the server.

Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')

Don't fool yourself.

Replies are listed 'Best First'.
Re^2: SOAP and .NET Web Services
by jhourcle (Prior) on May 11, 2005 at 12:23 UTC

    SOAP::Lite::on_action() is used to set a function that will be used to generate the SOAPAction header value. Arg 0 is the SOAP URI, and Arg 1 is the name of the method called. By default, the SOAPAction generated by SOAP::Lite is of the form 'URI#METHOD', but .Net expects 'URI/METHOD'.

    Also, if the web service isn't available as HTTP, it'd do no good to change protocols. If on_debug() doesn't work for HTTPS (I don't have any HTTPS webservices to test against), you can always fake it with a custom serializer/deserializer, like the following logic

      I understood that the OP owned the service and could change the server end as well as the client, but now that I re-read the post I don't find anything supporting this interpretation - thanks for correcting.

      Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')

      Don't fool yourself.