On Nov 23, 2007 11:41 AM, Simon Steinacker < [EMAIL PROTECTED]> wrote:
> Yes, I am using Axis2. > This is the WSDL: http://pastebin.com/m1c167821 > Please have a look at with a SNAPSHOT. here the problem is you have an element called findDocumentsResponse and a complexType called findDocumentsResponse so we have to rename one. But I changed this in trunk like this. if both element and complex type in same package the element name would have an suffix E. and if they are in different packages then have the original name. thanks, Amila. > > Thanks, > Simon > > > Amila Suriarachchi wrote: > > Are you using Axis2? > > Can you send your wsdl? > > > > thanks, > > amila. > > > > On Nov 22, 2007 3:31 PM, Simon Steinacker > > <[EMAIL PROTECTED]> wrote: > > > >> Hello, > >> > >> I have a wsdl and generate java classes out of it using the wsdl2java > >> ant task. For example I have defined a response message named > >> 'FindDocumentsResponse'. Axis2 generates the java class for that, but > >> performs a renaming into something like 'FindDocumentsResponse11'. So > it > >> seems that it somehow appends a random number to the generated > response. > >> This only seems to be the case with service responses, since parameters > >> are not affected by that phenomenon. > >> Is there a way to circumnavigate this issue? Because it is rather > >> inconvenient to use? > >> > >> Thanks for your help! > >> Simon > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Amila Suriarachchi, WSO2 Inc.
