nite_man has asked for the wisdom of the Perl Monks concerning the following question:

Dear brothers and sisters,

I've just started to use SOAP and I've tried to develop a Perl client to the webservis on Java using SOAP::Lite. I pass array which consists data with type 'ParmInfo'. For this service this array should have soapenc:arrayType='namespace:ParmInfo[array_length]' but instead of that I see that this array has soapenc:arrayType='xsd:ur-type[array_length]'.

Could you tell me, please, what does SOAP property 'soapenc:arrayType' mean and how can I define it in SOAP::Data?

Thanks in advanced

_ _ _ _ _ _
  M i c h a e l

Replies are listed 'Best First'.
Re: SOAP::Lite client - deserializer.
by rob_au (Abbot) on Jul 12, 2004 at 05:44 UTC
    The soapenc:arrayType attributes describes the manner by which an array of elements should be encoded within the SOAP request, the default value supplied in your code being that specified within the xsd namespace (http://www.w3.org/1999/XMLSchema). In order to specify the alternate array encoding however, you are likely to have to build the SOAP data structure at a lower level using SOAP::Data::Builder.

     

    perl -le "print unpack'N', pack'B32', '00000000000000000000001011101010'"