![]() |
|
Just another Perl shrine | |
PerlMonks |
SOAP Lite WSDL Questionby casey0999 (Initiate) |
on Oct 19, 2014 at 15:24 UTC ( #1104308=perlquestion: print w/replies, xml ) | Need Help?? |
casey0999 has asked for the wisdom of the Perl Monks concerning the following question:
Good morning-- I'm a reasonably experienced Perl programmer, but new to accessing SOAP methods. Specifically, I'm trying to pull out the proper parameters from a customer-supplied WSDL file, and determine the arguments to supply to a SOAP::Lite call, as follows: In my subroutine to execute a SOAP method, supplying the method name (StartTransaction) and arguments, I use something like: (see below for WSDL source) my $func = shift @_;$soap = SOAP::Lite -> uri('urn:company-com:gateway:v1/ITokenServiceContract/') -> proxy('http://xxxxx.test.hatchlab.fr/201303') -> $func(@_); ------------------------------------------ The above executes, but produces an error in the SOAP-Lite debug log: "IIS 7.5 Detailed Error - 405.0 - Method Not Allowed" ...probably because the uri and proxy fields above are not correct, therefore I'm probably not getting to the SOAP dispatcher. Am I interpreting the WSDL correctly to set URI and PROXY? (WSDL port and binding excerpt below) THANKS! Casey ps: cross-posted without reply on PerlGuru.com
Back to
Seekers of Perl Wisdom
|
|