-
1. Re: JBossWS and wsgl2java
thomas.diesler May 10, 2006 6:34 AM (in response to mjrother)Yes, this is an oversight
http://jira.jboss.com/jira/browse/JBWS-929
Have a look at the jsr181ejb and jsr181pojo samples in the samples download.<configuration ...> <wsdl-java file="resources/samples/jsr181ejb/META-INF/wsdl/TestService.wsdl"> <mapping file="jaxrpc-mapping.xml" /> </wsdl-java> </configuration>
-
2. Re: JBossWS and wsgl2java
sgao May 15, 2006 9:11 PM (in response to mjrother)CAn I generate stub with <wsdl-java/> configuration?
If I can, what is the configuraiton?
Thanks -
3. Re: JBossWS and wsdl2java
steinar.ardal May 16, 2006 6:53 AM (in response to mjrother)Guys,
Based on the example found in the sample code, I have managed to generate the interfaces from the WSDL file, but not the implementing stub classes.
WS Tool Configuration<configuration xmlns="http://www.jboss.org/jbossws-tools"> <wsdl-java file="resources/wsdl/DataRetrieve.wsdl"> <mapping file="jaxrpc-mapping.xml" /> </wsdl-java> </configuration>
My Web Service is named DataRetrieve.
Axis generates these files:
-DataRetrieve.java (javax.xml.rpc.Service)
-DataRetrieveLocator.java (org.apache.axis.client.Service)
-DataRetrieveService.java (java.rmi.Remote)
-DataRetrieveServiceBindingStub.java (org.apache.axis.client.Stub)
When running the JBossWS wsdl-java code generator, only these files are generated.
-DataRetrieve.java (javax.xml.rpc.Service)
-DataRetrieveService.java (java.rmi.Remote)
How should I configure the wstool to be able to generate the Stubs (e.g. DataRetrieveLocator and DataRetrieveServiceBindingStub) or is this not possible?
Cheers -
4. Re: JBossWS and wsgl2java
wcrosman May 17, 2006 11:55 AM (in response to mjrother)Likewise I generate two interfaces from a single pojo 181 jsr but no stubs. I noticed the client dir has no
jbossws-client.jar just the 14 version. Posted a topic about that because wstool.bat refers to it. Don't know if this is the culprit or not.
I installed via the installer jar downloading the zip now to see if it contains the correct jar -
5. Re: JBossWS and wsgl2java
thomas.diesler May 22, 2006 6:44 AM (in response to mjrother)wstools does not generate staticly compilable stubs. We use the JSR109 client deployment model where you look au a preconfigured stub from JNDI.
Look at the sample clients