Thanks for reply, I'll try this.

Nico.

Dies Koper a écrit :

Hello Nicolas,

I have noticed the same, I think it is a bug.
Use document/literal(WRAPPED) instead of document/literal when you create your WSDL (-y WRAPPED, IIRC). That should work.

Regards,
Dies


Nicolas De Loof wrote:


I'd like to use Java2Wsdl to build a WSDL for my business service
Business method is "public boolean isSiteDroit(String idSiu, String idDroit)"

It works fine in "rpc" mode, but in document mode, Java2WSDL creates this WSDL message :
<wsdl:message name="isSiteDroitRequest">
     <wsdl:part element="impl:idSiu" name="idSiu"/>
     <wsdl:part element="impl:idDroit1" name="idDroit"/>
</wsdl:message>

When I generate an axis client using WSDL2Java The SOAP message contains in its body two elements
<soap:body>
  <idSiu>x</idSiu>
  <idDroit1>1</idDroit1>
</soap:body>

The business method is invoked, but receives null as second argument.

When running debugger in axis code, I've found only the first soap parameter is read and used for method invocation.

Is this expected ? How to build my wsdl to work ?

Nico.




This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

Reply via email to