This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
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

 
Reza Rav.
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !!!
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Reza Rav.
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 Rav.
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic