aspose file tools*
The moose likes Web Services and the fly likes JAX-WS Client for a SOAP service provider Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAX-WS Client for a SOAP service provider" Watch "JAX-WS Client for a SOAP service provider" New topic
Author

JAX-WS Client for a SOAP service provider

Damodar Mukherjee
Ranch Hand

Joined: Mar 20, 2007
Posts: 135
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...


SCJP 1.5, SCWCD 1.4, Next... SCBCD5
Damodar Mukherjee
Ranch Hand

Joined: Mar 20, 2007
Posts: 135
Any answer please...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42285
    
  64
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.


Ping & DNS - my free Android networking tools app
Damodar Mukherjee
Ranch Hand

Joined: Mar 20, 2007
Posts: 135
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
Marshal

Joined: Mar 22, 2005
Posts: 42285
    
  64
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

Joined: Mar 22, 2000
Posts: 12806
    
    5
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JAX-WS Client for a SOAP service provider