axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vedha Vijayan <>
Subject Error in stub generation
Date Wed, 03 Jan 2007 20:09:05 GMT

  I'm working on the "pojoguide" sample bundled with Axis2 1.1. I'm
trying to expose WeatherService as a POJO service i.e. using I run java2wsdl and generate the wsdl file. 

I then use "XMLBeans" as databinding option for client code generation.
When I try to compile the generated stub, I get the following error:

missing return statement
    [javac]         }
    [javac]         ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
Note: /home/vvijayan/axis2-1.1/samples/pojoguide/build/client/src/sample/pojo/service/xmlbeans/
uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error


When you look at the Stub code, you'll find that there are multiple
instances of " //Unknown style detected !! No code is generated"
comment. I've attached the wsdl and the stub code. Can anyone let me
know the reason why I'm running into this issue.

Thanks in advance.


Vedha Vijayan

View raw message