-
1. Re: WS Beginner needs help with ejb ws endpoints and wsdl
dhaval_shah_m Feb 24, 2005 1:14 PM (in response to balteo)First of all you might want to familiarize yourself with the content in the following wikis for approaches :
http://www.jboss.org/wiki/Wiki.jsp?page=WSRPCServiceStepByStep
http://www.jboss.org/wiki/Wiki.jsp?page=WSRPCClientStepByStep
http://www.jboss.org/wiki/Wiki.jsp?page=WSClientDII
I will leave it up to you to find the wikis for WS based on Document Literals.
Also go through the posts to get a feel for the issues and questions.
To answer your question in short, you have to use the wscompile that is currently bundled with jwsdp. There are several options to the wscompile and the above examples will hopefully help you out.
Thanks
Dhaval -
2. Re: WS Beginner needs help with ejb ws endpoints and wsdl
balteo Feb 26, 2005 3:35 PM (in response to balteo)Hello Dhaval,
Thanks for the tip. I managed to generate the wsdl using the jwsdp. Now I am left to write the service endpoint by hand. Can you point me in any direction to generate the service enpoint inteface automatically???
Thanks in advance,
Julien. -
3. Re: WS Beginner needs help with ejb ws endpoints and wsdl
thomas.diesler Feb 27, 2005 9:56 AM (in response to balteo)There are two approaches in WS4EE deployment artifact generation.
A client usually uses "top down" and generates the SEI, SI, User types, jaxrpc-mapping.xml from a remote WSDL.
A service endpoint usually uses "bottom up" and generates the WSDL, jaxrpc-mapping.xml from a SEI.
If you managed to generate the WSDL you must have had a SEI, no? -
4. Re: WS Beginner needs help with ejb ws endpoints and wsdl
balteo Feb 27, 2005 1:26 PM (in response to balteo)Thanks,
Yes. I do have the SEI but only for my hello world web service. I don't have the SEI for the ejb with over 120 methods. Can you tell me what is the tool I need in order to generate the SEI?
Julien. -
5. Re: WS Beginner needs help with ejb ws endpoints and wsdl
thomas.diesler Feb 27, 2005 3:32 PM (in response to balteo)You can use any decent IDE like IntelliJ to extract an interface from your SLSB implementation. For a service endpoint, the SEI is not something you generate it is an artifact you start off with.
If you expose the same set of methods through the SLSB's local or remote interface, then that can be your SEI (with minor modifications)