You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Nirmit Desai <ni...@us.ibm.com> on 2006/11/27 19:19:58 UTC

[axis2 1.1.1] wsdl2java generates bad code

Hi,

I am using 27th Nov snapshot of axis2 1.1.1. In my wsdl I have an operation
that takes no inputs (empty input message), doc/lit style. When I generate
code with wsdl2java, the test cases generated for asynchronous invocation
generates this:

stub.startgetInfo(
                    ,
                    new tempCallbackN10038()
                );

which is bad as the comma is not needed there. (getInfo is my wsdl
operation) Just deleting the comma solves the problem.

Please correct this in the nightly.

Thanks,

-Nirmit


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


Re: [axis2 1.1.1] wsdl2java generates bad code

Posted by Davanum Srinivas <da...@gmail.com>.
Please log a JIRA bug with your wsdl/xsd. Since we need to figure out
what caused the problem in the first place :)

thanks,
dims

On 11/27/06, Nirmit Desai <ni...@us.ibm.com> wrote:
>
> Hi,
>
> I am using 27th Nov snapshot of axis2 1.1.1. In my wsdl I have an operation
> that takes no inputs (empty input message), doc/lit style. When I generate
> code with wsdl2java, the test cases generated for asynchronous invocation
> generates this:
>
> stub.startgetInfo(
>                     ,
>                     new tempCallbackN10038()
>                 );
>
> which is bad as the comma is not needed there. (getInfo is my wsdl
> operation) Just deleting the comma solves the problem.
>
> Please correct this in the nightly.
>
> Thanks,
>
> -Nirmit
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

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