Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Issue with generation of document/literal type WSDL using Axis  RSS feed

Scott Riffon
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to convert some Java code into WSDL using Axis 1.2 framework. I used Document/Literal style for binding.

One of the methods in my Java code returns an array. This array is described in Axis generated WSDL as follows:

<complexType name="ArrayOfThings">
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="impl:Things[]"/>

But the end user(client for the web service I am hosting) says " .NET won't allow him to consume my webservice (or generate the proper reference classes) for types that derive from encoded types".

So my question is "Would it be possible to change the webservice so that it doesn’t use that(soapenc) implementation of the array?"

The end user is expecting something more like this:

<s:complexType name="ArrayOfThings">
<s:element minOccurs="0" maxOccurs="unbounded" name="Things" nillable="true" type="tns:Things" />

I am new to Web Services. So any help or guidance would be greatly appreciated.


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!