• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Webservices : Writing a client

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am not aware of Java Web Services. I have to create a client to call a webservice.

I was searching for the code in google but failed to understand what files/components/jars need to be there at the client side to call a web service.

Can anyone let me know how to create a client which makes a call to an external Web Service?

Thanks,
Lalitha
 
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Lalita,

Are you planning to use Axis as SOAP engine? if so here is one of my test clients ..





Hope that helps.

Thanks,
Ugender
 
Lalitha Gottumukkula
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the code Ugender.
I am not sure what should be used as I am completely unaware of the web services.

Can you clarify the following :
1. Are there are any config files for the web services that should be present at the client side?
2. Should we need to have the Web Services download to run the client? What jars needs to be present at the client side?
3. How many types of clients can be written and what are their pros & cons?? (I think it is 3 types..)

Thanks,
Lalitha
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If a SAAJ client is OK, have a look at this one. It's just about the simplest possible WS client in Java, and has the benefit of not using any specific SOAP library, just the Java APIs.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic