Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: SOAP::Lite and XML

by rhesa (Vicar)
on Jul 03, 2007 at 02:25 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2023-04-02 05:21 GMT
Find Nodes?
    Voting Booth?

    No recent polls found