hi,
I think there is somthing with the -cp switch on the wsgen because I
got the class not found exception as follow eventhough i put the right
class path.
Any solution for this ?
wsgen -verbose -classpath
POC-ejb\build\jar\;POC-war\build\web\WEB-INF\classes\ endpoint.ServletWS
-wsdl
[ProcessedMethods Class: endpoint.ServletWS]
[should process method: sayHello hasWebMethods: true ]
[endpointReferencesInterface: false]
[declaring class has WebSevice: true]
[returning: true]
[WrapperGen - method: sayHello(java.lang.String)]
[method.getDeclaringType(): endpoint.ServletWS]
[requestWrapper: endpoint.jaxws.SayHello]
[should process method: getPerson hasWebMethods: true ]
[endpointReferencesInterface: false]
[declaring class has WebSevice: true]
[returning: true]
[WrapperGen - method: getPerson(int)]
[method.getDeclaringType(): endpoint.ServletWS]
[requestWrapper: endpoint.jaxws.GetPerson]
[ProcessedMethods Class: java.lang.Object]
endpoint\jaxws\GetPerson.java
endpoint\jaxws\GetPersonResponse.java
endpoint\jaxws\SayHello.java
endpoint\jaxws\SayHelloResponse.java
Note: ap round: 2
[completing model for endpoint: endpoint.ServletWS]
[ProcessedMethods Class: endpoint.ServletWS]
[should process method: sayHello hasWebMethods: true ]
[endpointReferencesInterface: false]
[declaring class has WebSevice: true]
[returning: true]
[WebServiceReferenceCollector - method: sayHello(java.lang.String)]
[should process method: getPerson hasWebMethods: true ]
[endpointReferencesInterface: false]
[declaring class has WebSevice: true]
[returning: true]
[WebServiceReferenceCollector - method: getPerson(int)]
[ProcessedMethods Class: java.lang.Object]
Exception in thread "main" java.lang.NoClassDefFoundError:
Lcom/jumino/applicati
on/test/account/PersonBean;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2232)
at java.lang.Class.getDeclaredFields(Class.java:1715)
at
com.sun.xml.bind.v2.model.nav.ReflectionNavigator.getDeclaredFields(R
eflectionNavigator.java:210)
at
com.sun.xml.bind.v2.model.nav.ReflectionNavigator.getDeclaredFields(R
eflectionNavigator.java:22)
......
Thanks
-AZ-