in reply to Syntax used by SOAP::Lite
in thread Syntax used by SOAP::Lite
If I execute this:
my $req = $soap->getPhone('phoneName' => 'SEP000000000000');
then it sends this request to the call manager's soap handler:
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:xsi="ht +tp://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP- +ENV="http://schemas.xmlsoap.org/soap/envelope/" xm lns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="htt +p://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <namesp1:getPhone xmlns:namesp1="http://www.cisco.com/AXL/1.0"> <c-gensym3 xsi:type="xsd:string">phoneName</c-gensym3> <c-gensym5 xsi:type="xsd:string">SEP000000000000</c-gensym5> </namesp1:getPhone> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
And the call manager complains that it doesn't know what a c-gensym3 is (output from Data::Dumper)
$VAR1 = { 'error' => { 'request' => 'getPhone', 'message' => ' Unexpected element. Found <c-gensym3>, expecting <phoneName> or <phone +Id>..', 'code' => '5005' } };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Syntax used by SOAP::Lite
by smeenz (Sexton) on Jun 03, 2005 at 22:59 UTC | |
by jhourcle (Prior) on Jun 04, 2005 at 02:20 UTC |