Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-WS Client for a SOAP service provider

 
Damodar Mukherjee
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am new to Web services. I need your help for the following issue,
Can JAX-WS Client used for a SOAP service provider?

Regards,
Damodar...
 
Damodar Mukherjee
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any answer please...
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by a "JAX-WS client"? JAX-WS is an API for creating web services, not for creating web service clients.

JAX-WS services are SOAP services; any client that can access a SOAP service can be used to access it.
 
Damodar Mukherjee
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank your for the reply, Actually I want to say that can I use JAX-WS API in a client program which receive SOAP...
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I said, JAX-WS is an API for creating web services - in other words, the server side, not the client side. Any SOAP client will do, e.g. this one.

Most SOAP toolkits (like Axis and Metro) also have tools for creating client code from a WSDL; the tool might be called wsdl2java or something like that.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you? Sure! Thats the whole idea - JAX-WS tools can be used to create both server and client side code.

Here for example, is a general discussion.

If you have JAX-WS installed you should have plenty of client code examples.

If you can get a WSDL document describing the service you want to access, there is support for a lot of automated code creation.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic