Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to consume web service for web logic

 
Dinesh Pise
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

created jar using ant but how to write client code for webservice

I have created a jar file for webservice stub and want to consume it for web logic web server in eclipse but unable to find the client code to cousune. Below is the link I have gone through but could not succeed

web logic documents

Can some please give me some idea or link which can help me.

Regards,
Pise
 
Carles Gasques
Ranch Hand
Posts: 199
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dinesh,

Your reference documentation already have an ant target to generate the client code "<target name="webservice.client">" in a client jar.
If you run this target something goes wrong?

Best regards,

 
Dinesh Pise
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Carles,

I tried below code and got succeed in consuming the url. Thank you for your efforts.

.

Regards,
Dinesh Pise
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic