on 07-17-2009 11:10 AM
Hi All ,
I have wsdl file published on server which i can access from WebService Navigator. I have created this file using create web service option by right clicking on session bean. I want to execute this webservice in other session bean which is in other Track. How can i achieve this?
Thanks in advance
Regards
Ravi Shankar
Hi H can use avi,
You can create a web service client. You can do this in the same ejb project.
If you use ejb 3, you can use the @WebServiceRef annotation to refer another service
Regards
Marcos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi Shankar
You have to create Web service Client Proxy project based on the WSDL. You can do this in NWDS. For example, in NWDS 7.1 there is Import WSDL wizard which can help you in the case.
Usually the client proxy project is a deployable one. So you can build/deploy it on a servers. But it can be also a part of any other JEE project.
After this in your client EJB you can invoke Web service business methods using the Java Web service Client (Java class generated by the wizard in Client proxy project).
See topic Consuming Web services.
BR, Sergei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.