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