| Author |
soap encoding missing for array type
|
Nir Tal
Greenhorn
Joined: Aug 31, 2010
Posts: 12
|
|
Hi,
I am trying to invoke a webmethod through stubs generated through axis. The problem I am having over here is that one of the element I need to pass is an Array of some Complex type. It requires me to create the request as
<m:getPendingServiceIDs xmlns:m="http://www.zeal.com/eventsService">
<serviceIDLists xmlns:n1="java:com.zeal.central.jep.eventsservices.ejb" soapenc:arrayType="n1:ServiceIDList[1]">
<ServiceIDList xsi:type="n1:ServiceIDList">
<serviceID xsi:type="xsd:string">CLD-12326</serviceID>
<serviceIDType xsi:type="xsd:string">Q_SVC_ID</serviceIDType>
</ServiceIDList>
</serviceIDLists>
</m:getPendingServiceIDs>
However, my stubs are creating only the below request which is actually throwing an error as a response:
<getPendingServiceIDs xmlns="http://www.zeal.com/eventsService" xmlns:java="java:com.zeal.central.jep.eventsservices.ejb">
<serviceIDLists xmlns ="">
<java:serviceID>18228065</java:serviceID>
<java:serviceIDType>Q_SVC_ID</java:serviceIDType>
</serviceIDLists>
</getPendingServiceIDs>
Could someone please suggest me some solution so that I can have the namespaces and soapenc:arrayType appear in the required positions?
|
 |
 |
|
|
subject: soap encoding missing for array type
|
|
|