File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 42919
    
  68
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.
Niels Tielenburg
Ranch Hand

Joined: Aug 19, 2009
Posts: 44
no not yet... I will look in to that;)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: connecting to webservices using axis