Hello List!

I generated Java Code for my WSDL-File with wsdl2java batch file. (I use the nightly Snapshot from today (10th apr): http://people.apache.org/dist/axis2/nightly/)

The generated SOAP-XML-Request hast an other order of the message-parts as specified in the WSDL, so the server rejects my request.

Here's the WSDL:

 <message name="ssoLoginRequest">
   <part name="ssoLoginUser" type="typens:ssoLoginUser"/>
   <part name="c_login"    type="xsd:string" />
   <part name="c_password" type="xsd:string" />
   <part name="c_client"   type="xsd:string" />
 </message>



and here the generated xml:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
<soapenv:Body>
  <ns1:ssoLogin xmlns:ns1="urn:ssoService">
     <c_password>test1234</c_password>
     <c_login>user1</c_login>
     <c_client>client1</c_client>
     <ssoLoginUser xmlns="">
        <login>a.pirker</login>
        <password>test1234</password>
        <client>we</client>
        <client_title>we</client_title>
        <force_migration>0</force_migration>
        <perm_login>0</perm_login>
        <ipuser>62.99.267.58</ipuser>
     </ssoLoginUser>
  </ns1:ssoLogin>
</soapenv:Body>
</soapenv:Envelope>


is there a possibility to say axis2 to use the same order as in the wsdl?

i generate the java-stub with following command:

[axis2-dir]\bin> wsdl2java.bat -uri Authentification.wsdl -p at.ignaz.sso -d 
adb -s -o sso



any help is greatly appreciated!

thanks in advance,
Anton





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to