in reply to Re: Force integer to occupy 64 bits (bytes)
in thread Force integer to occupy 64 bits

I was mistakenly blaming Perl for my problem. It seems that the real cause lies within the XML generated by the SOAP call:
<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" x +mlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="h +ttp://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://schemas.x +mlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soa +p/envelope/"><soap:Body><loadPathwayForId><identifier xsi:type="xsd:i +nt">68886</identifier></loadPathwayForId></soap:Body></soap:Envelope>

I just have to somehow get xsi:type to say "xsd:long" instead of "xsd:int".

Replies are listed 'Best First'.
Re^3: Force integer to occupy 64 bits (bytes)
by Anonymous Monk on Jul 29, 2013 at 11:54 UTC
      Thanks for the thorough reply!

      I used SOAP::Data -> name(identifier => $identifier ) -> type('xsd:long'); and obliterated the type error.

      Unfortunately, now it seems I'm getting another error from SOAP::Lite when the returned XML is too long... I am stuck with SOAP since that is the only way for me to retrieve the data I want. I'll check out the other SOAP modules that you proposed, maybe they will better handle large amount of data!