Win a copy of Java Concurrency Live Lessons this week in the Threads 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?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!