Hi,

We're currently using Axis 1.4 to connect to a WebSphere webservice
(no other webservice library coould be found to work!) and we are
having a problem sending a message which consists of a Map where one
of the values is a String[].  Websphere wants the value element to
specify the soapenc otherwise it doesn't work.

<key xsi:type="xsd:string">name<\key>
<value xsi:type="soap-enc:Array" soap-enc:arrayType="xsd:String[2]">
 <item xsi:type="xsd:string">Fred</item>
 <item xsi:type="xsd:string">Dave</item>
</value>

<!-- please not the above is from memory  - so it might have typos -->

However looking at the code for the ArraySerializer the only way to
make this happen would be to set the encodingstyle of the whole
message to be soap, in which case everything is soapenc including
strings.

How can I make axis provide the soapenc attributes on the array value?

Regards

Kevin

Reply via email to