Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java SE Web Service Client

 
Debojit Sinha
Ranch Hand
Posts: 66
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've created a web service using Axis2 on eclipse, and now I'm trying to test it via a Java SE client. Axis2, it seems doesn't work that way. So, could someone please sugest a way for me to achieve this?
 
Tim Moores
Bartender
Posts: 2848
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Axis2 comes with a tool that can create client-side code to access a WS as defined by a WSDL; it's called wsdl2java, and is probably the simplest way to create your client code. The code it generates runs fine in Java SE.

If that's not what you're using, tell us how you created your client code, and what "Axis2, it seems doesn't work that way." means.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic