TheNode has asked for the wisdom of the Perl Monks concerning the following question:
I'm new to SOAP::Lite.
I have to write SOAP client for third party software. It seems pretty straightforward, but there's one obstacle. There is a hyphen in method name I want to invoke.
I've copied wsdl to local filesystem and modified method name there - of course it returns an error - but the syntax is ok. Output works when sending it through SoapUI when I change the method name back.Method name: bpi-request
When trying to run my script I got an error:It seems that SOAP:Lite have problem with hyphens in wsdl files. Is there a way to modify xml before sending? Then I could change 'bpi-request' in wsdl to 'bpirequest' and then before sending change all 'bpirequest' to 'bpi-request'.Bad stub: Bareword "bpi" not allowed while "strict subs" in use at (ev +al 92) line 6. at /usr/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm line 2921.
Regards,
TheNode
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SOAP::Lite - a hyphen in method name
by Corion (Patriarch) on Aug 27, 2015 at 13:13 UTC | |
by TheNode (Initiate) on Aug 27, 2015 at 13:43 UTC | |
by Corion (Patriarch) on Aug 27, 2015 at 14:33 UTC | |
by TheNode (Initiate) on Aug 28, 2015 at 08:10 UTC | |
by Anonymous Monk on Aug 28, 2015 at 08:47 UTC | |
| |
by Corion (Patriarch) on Aug 28, 2015 at 08:39 UTC |