Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

soap encoding missing for array type

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