aspose 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: 42641
    
  65
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;)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: connecting to webservices using axis