in reply to Re: Perl syntax question
in thread Syntax used by SOAP::Lite
I think I'll stick with the 'traditional' syntax... at least until I really have this chained thing worked out in my head.
Re the second part - the bit where the perl namespace is populated... I'm still not clear on where SOAP::Lite finds what names/methods are available on the remote server.
What I'm doing is trying to talk to a Cisco Call Manager (some of you may remember my previous attempt doing it with XML::Twig which turned out to be a dead end), and I don't know what the method names are. I have a working example of what should be 'on the wire', but I don't know what method I should be calling to get SOAP::Lite to create the correct request packets.
For example, after creating a SOAP::Lite object and specifying the uri and proxy, I would expect to execute something like this:
... but I don't know what 'functioname' is.my $response = $soap->functionname(param,param,param)->result
If it helps anyone answer my question, this is the working packet trace that I did by manually posting the request to the SOAP handler.
REQUEST
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/env +elope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:x +sd="http://www.w3.org/2001/XMLSchema"> <SOAP-ENV:Body> <axl:getPhone xmlns:axl="http://www.cisco.com/AXL/1.0" xsi:sch +emaLocation="http://www.cisco.com/AXL/1.0 http://myhost/schema/axlsoa +p.xsd" sequence="1234"> <phoneName>SEP000011112222</phoneName> </axl:getPhone> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/en +velope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/enco +ding/"> <SOAP-ENV:Body> <axl:getPhoneResponse xmlns:axl="http://www.cisco.com/AXL/1.0" xmlns: +xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="h +ttp://www.cisco.com/AXL/1.0 http://MCSCM1/CCMApi/AXL/V1/axlsoap.xsd" +sequence="1234"> <return> <device> (loads of response data removed) </device> </return> </axl:getPhoneResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Syntax used by SOAP::Lite
by smeenz (Sexton) on Jun 03, 2005 at 22:50 UTC | |
by smeenz (Sexton) on Jun 03, 2005 at 22:59 UTC | |
by jhourcle (Prior) on Jun 04, 2005 at 02:20 UTC | |
|
Re: Syntax used by SOAP::Lite
by jhourcle (Prior) on Jun 04, 2005 at 17:16 UTC | |
by smeenz (Sexton) on Jun 04, 2005 at 19:53 UTC | |
by jhourcle (Prior) on Jun 04, 2005 at 22:24 UTC | |
by smeenz (Sexton) on Jun 04, 2005 at 23:38 UTC |