This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

soap encoding missing for array type  RSS feed

Nir Tal
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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="">
<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>

However, my stubs are creating only the below request which is actually throwing an error as a response:

<getPendingServiceIDs xmlns="" xmlns:java="java:com.zeal.central.jep.eventsservices.ejb">
<serviceIDLists xmlns ="">

Could someone please suggest me some solution so that I can have the namespaces and soapenc:arrayType appear in the required positions?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!