axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas" <dava...@gmail.com>
Subject Re: Axis2 : incorrectly generated stub functions with release 1.2
Date Mon, 30 Apr 2007 17:09:25 GMT
Gul,

JIRA Please with your wsdl.

thanks,
dims

On 4/30/07, Gul Onural <onural@nortel.com> wrote:
>
>
>
>
> The release 1.2 wsdl2 java generates incorrect stub functions for the
> operations that has header part only, no payload.
> This was correctly done with version axis2 1.1.1. Something changed in
> between the two releases in this area is causing the problem.
>
> For example, operation and message are defined something similar to  :
>
>       <operation name="queryX">
>          <input message="queryXRequest"/>
>          <output message="queryXResponse"/>
>       </operation>
>
>
>    <message name="queryXRequest">
>       <part name="header" element="id"/>
>    </message>
>
> The generated stubs contains the id twice :
>
>   public  com.mycompany.QueryXResponseDocument queryX(
>                             com.mycompany.IdDocument id2,
>                             com.mycompany.IdDocument id3)
>                             throws java.rmi.RemoteException
> {
> ...
> }


-- 
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message