This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes connecting to webservices using axis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "connecting to webservices using axis" Watch "connecting to webservices using axis" New topic
Author

connecting to webservices using axis

Niels Tielenburg
Ranch Hand

Joined: Aug 19, 2009
Posts: 44
I need to connect to a webservice using axis. What I now have is this:



but the problem is that must be in the soap. so the customer and the module and the version must be a child of callinfo. The "cal:" is a namespace like this: "http://site/naam/CallInfo".
how can I make sure that the customer and the module and the version are childs of callinfo?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
Have you considered using a tool like Axis' wsdl2java to generate the Java client code? Coding it up manually seems error-prone and unnecessary work in comparison.


Ping & DNS - my free Android networking tools app
Niels Tielenburg
Ranch Hand

Joined: Aug 19, 2009
Posts: 44
no not yet... I will look in to that;)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: connecting to webservices using axis
 
Similar Threads
Need help with Apache Client
Accessing a secure webservice...plz help
Error in client for webservice on websphere 4.0
Getting an exception org.xml.sax.SAXException: Bad types
Need help with Apache Client