axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <>
Subject [jira] Updated: (AXIS2-665) WSDL2Java generated code does not run correctly (multiple ports)
Date Wed, 31 Jan 2007 15:11:06 GMT


Davanum Srinivas updated AXIS2-665:

    Assignee: Amila Chinthaka Suriarachchi

> WSDL2Java generated code does not run correctly (multiple ports)
> ----------------------------------------------------------------
>                 Key: AXIS2-665
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>         Environment: Windows 200 Service Pack 4
>            Reporter: Siim Annuk
>         Assigned To: Amila Chinthaka Suriarachchi
> When I generate Java code from a WSDL (using WSDL2Java from Axis2 1.0 RC4) and try to
run (i have created the main method that calls the test functions) the generated test case
(compiling seems successful), I get a java.lang.Error: Unresolved compilation problem: 
> 	Unreachable code.
> When looking into the generated stub code, this is what seems to be generating the problem:
>                                     //Unknown style!! No code is generated
>                                     throw new java.lang.UnsupportedOperationException("Unknown
> Removing it still doesn't run the generated test case correctly. Instead I get a NullPointerException.

> Here's the WSDL I used for testing:
> This is the commandline I use for generating the code: 
> WSDL2Java -uri -t -a -g -u -p stockquote
-o c:\generatedClients\StockQuote
> I have tried to generate the code from many WSDLs at different locations, but never managed
to acutally run any test cases successfully. I've also tried WSDL2Java from Axis2 0.95, 1.0
RC2 and 1.0 RC4.
> Is WSLD2Java still having problems generating correct code from a little bit more complex
WSDL's or am I not using WSDL2Java correctly?

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message