• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How Can I Access Various 3Rd Party Services In Server Side

 
revathi kurum
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi good morning,

My question is how to access various 3rd party services(events.con, career.com, indeed.com)in server side actually i tried single services its working in clent side, but how i can access various services in servlet and its should go to clent as a single response.
 
E Armitage
Rancher
Posts: 989
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on what type of services they are. If they are all REST services then there plenty of Java REST clients that you will get from Google.
 
revathi kurum
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks actually i want soap web-services please help
 
E Armitage
Rancher
Posts: 989
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So Google "Java soap client", look at the options suggested and pick one that is best applicable to your project.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13073
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Naturally, if you are doing SOAP or REST requests on the server side you must take the normal precautions to prevent interference between multiple user requests. No servlet instance variables that contain user specific data, etc.

You must also pay particular attention to cleaning up after errors in the SOAP or REST requests so that connections get closed etc no matter whether the request succeeds or fails.

Bill
 
vk jain
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can generate stub classes using wsdl2java utility from WSDL for third party services. Once you have stub you can call other web service operation simple as a method call. Otherwise You can also use dynamic proxies way of calling web services if you didn't want to generate stub.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic