*
The moose likes EJB and other Java EE Technologies and the fly likes How to consume third party webservice inside EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to consume third party webservice inside EJB" Watch "How to consume third party webservice inside EJB" New topic
Author

How to consume third party webservice inside EJB

sri ramvaithiyanathan
Ranch Hand

Joined: Nov 20, 2010
Posts: 109
Hello Ranchers,

As per my requirement I want to consume third party webservice inside my EJB project.
Please share your views and let me know if you have any tutorial for that.

Regards
Sriram


For java examples,ebooks,interview questions,visit this blog
http://periodicupdates.blogspot.com/
Deepak Rao
Ranch Hand

Joined: Jan 24, 2012
Posts: 31

Sri,

Just do it the way you normally call webservices. I would have a POJO helper class which calls the webservice using jax-ws(maybe). I would call the pojo class from the EJB.

Deepak
Joemon Anthony
Greenhorn

Joined: May 22, 2011
Posts: 23

Deepak, could you please elaborate it. If possible can you share an example.


(SCJP 5, OCA 9i)
(Always interested in learning)
Deepak Rao
Ranch Hand

Joined: Jan 24, 2012
Posts: 31

There are a number of examples for calling webservices online.
Joemon Anthony
Greenhorn

Joined: May 22, 2011
Posts: 23

Thanks Deepak.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to consume third party webservice inside EJB
 
Similar Threads
Axis2 1.4 Client Transport error: 501 Error: Not Implemented
Webservice help
Third party place for EJB.
1.4 vs 1.5 - why don't people load new
ejb-jar & third party libs