You need to add one more level of wrapping so that your echoed values are returned in a single return bean:

        <element name="echoBinResponse">
          <complexType>
            <sequence>
              <element name="echoBinReturn">
               <complexType>
                <sequence>
                 <element name="fileName" type="string"/>
                 <element name="fileContent" type="string"/>
                </sequence>
               </complexType>
              </element>
            </sequence>
          </complexType>
        </element>

On 2/10/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:
Hmmmm ...
I made a new testing WSDL file (see attached file) and generated a WS using Axis from Eclipse. The test resulted in that I can send a SOAP message with two parameters, I can see the server receives them, but the response contains only the first parameter of the two expected.

Any ideas/suggestions?
Regards






----Mensaje original----

De: [EMAIL PROTECTED]

Recibido: 09/02/2006 23:07

Para: ,

Asunto: Re: SOAP messages format




When using document/literal, your message may have at most one message part.
If you would like to design a programming interface that supports multiple input parameters, then you must design the WSDL to follow the WRAPPED convention. See my blog entry for more information:
http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.html.

Anne

On 2/9/06,
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:




Prueba el Nuevo Correo Terra; Seguro, Rápido, Fiable.











Prueba el Nuevo Correo Terra; Seguro, Rápido, Fiable.


Reply via email to