Sorry, I just noticed you were questioning where "addResult" name came from since it was not in your WSDL. That's probably a naming convention recommended by WSDL, JAX-RPC, Axis or SOAP specs I would guess (covering all my bases ;-)
However, now that I think about it I did have the same problem and posted it, someone promised to look at it, but it obviously hasn't been fixed. See the thread I started at http://marc.theaimsgroup.com/?l=axis-user&w=2&r=1&s=soap+response+tags&q =b with sample code. cheers, Simon -----Original Message----- From: Simon McClenahan Sent: Tuesday, March 26, 2002 4:02 PM To: [EMAIL PROTECTED] Subject: RE: Question about the element name of an array. I think that because addResult is the only out parameter in the RPC call, WSDL2Java will generate code that will declare the return type of your RPC to be an Array, no-name. Add another out parameter, call it "ignore", and WSDL2Java will create holders for both the out parameters and the RPC will return void. cheers, Simon -----Original Message----- From: St-Germain, Sylvain [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 3:48 PM To: Axis-User (E-mail) Subject: Question about the element name of an array. >From what I can see, it looks like the name of the element that contains an array is irrelevent. In the response below the "addResult" name is no wehere in my WSDL: <ns1:addResponse ...> <addResult xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[2]" .....> <item xsi:type="xsd:string">www.macadamian.com</item> <item xsi:type="xsd:string">Macadamian Tecnologies Web Site</item> </addResult> </ns1:addResponse> If the "addResult" name is irrelevent, anyone knows what happen when a response is a struct containing two arrays? -- Sylvain This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.
