aspose file tools*
The moose likes Web Services and the fly likes JAX-WS client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAX-WS client" Watch "JAX-WS client" New topic
Author

JAX-WS client

Reza Ravasizadeh
Ranch Hand

Joined: Jun 08, 2004
Posts: 177
After all my hair gone white because of lack of documentation I learn how to create simple web service with JAXWS but now I get in another trouble and don't know how to write a client,can anybody provide me some documentation about JAXWS client?

I HATE THAT DAMN EXAMPLE FROM SUN TUTORIAL It does every thing via ANT, I don't know why they don't know tutorial should be simple and easy to understand not copy/paste of their own first test !!!


Reza
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41867
    
  63
Since you have an SCJP, you should have enough Java experience to get Ant scripts to run. How does Ant cause problems?

A quick googling for "jax-ws client example" brings up several examples, e.g. this one and this one.


Ping & DNS - my free Android networking tools app
Reza Ravasizadeh
Ranch Hand

Joined: Jun 08, 2004
Posts: 177
Thank you Ulf for your hints.

My SCJP doesn't mean that Tutorial should refer to other technology like ANT they should written it simple,anyway I analyzed that damn build.xml and wrote my JAXWS service.

I need some core knowledge about jax-ws these example you sent me I read them before, they are very simple I need something to explain me jaxws components for example how can I create a port without knowing what type is port or...
They are all simple example about calculator and same situation.
Reza Ravasizadeh
Ranch Hand

Joined: Jun 08, 2004
Posts: 177
Yesterday I read JAX-WS spec. there is some description to create dynamic client I used it and it work well.
GOD BLESS SPECs.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41867
    
  63
There is little JAX-WS-specific stuff out at the moment, because it's relatively new, and not all servers support it yet (e.g., Axis doesn't).

Ports have been around a while; you should be able to learn about them by reading up on WSDL. JAX-WS is just a Java API - it still uses the same WSDL and SOAP underneath.

Please avoid words like "damn" in your messages - they go against the "Be Nice" rule.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-WS client