axis-java-user mailing list archives

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

  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
WeatherService.java 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:


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

BUILD FAILED


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



-- 
Vedha Vijayan

Mime
View raw message