Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: SOAP::Lite and XML

by rhesa (Vicar)
on Jul 03, 2007 at 02:25 UTC ( [id://624579]=note: print w/replies, xml ) Need Help??


in reply to SOAP::Lite and XML

Similar to your previous node, try passing a reference to the @pkg array:
XRC::changePkg( $username, \@pkg );
I still don't have access to the required wsdl file, so it's a bit of a guess, but here's what SOAP::Lite generates for the array without the wsdl:
<soapenc:Array soapenc:arrayType="xsd:int[1]" xsi:type="soapenc:Array" +> <item xsi:type="xsd:int">5544</item> </soapenc:Array>
I think you'll find it'll turn out alright when the wsdl is in place.

Replies are listed 'Best First'.
Re^2: SOAP::Lite and XML
by cerror (Scribe) on Jul 03, 2007 at 02:40 UTC
    When I do that, I end up passing:
    <offerIDs soapenc:arrayType="xsd:int[1]" xsi:type="types:ArrayOfInt">< +item xsi:type="xsd:int">5544</item></offerIDs>
    and the fault is:
    <faultstring>org.xml.sax.SAXException: No deserializer for int</faults +tring>
    I tried almost every permutation I could think of. I've posted the entire wsdl file here if you think it'll help (minus the actual username/password).

    Thanks for all your help so far. :-)
    - cerror

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://624579]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-23 18:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found