As I am new for webservices ,So I need to help from you guys so that I can retrieve actual data in XML format from this web services. I think this is mapping . Could you please do for me or guide me for this situation. I need javacode so that i can find xml data using JSP.I am using tomcat server.
Have you ever created a WS client? If you're familiar with SOAP, you can find a simple client here. If not, then you have a bit of a learning curve ahead of you. I'd advise to get familiar with Apache Axis; its wsdl2java tool can create a Java client from a WSDL description like you have.
As an aside, it is not a good idea to do this in a JSP. Do yourself a huge favor, and do this in a backing bean or a servlet.
Hi, I used AXIS and received 5 .java file but i don't know where will put these file for XML.I used on tool and they are using same file and genrating XML. I have to make other project to deploy it or I can integrate it web service. I need to call URL and want xml fromat data. please help me step by step...I am beginner for java
Joined: Mar 22, 2005
The tool doesn't generate the actual client application, only the classes that perform the WS access. The documentation should show the code needed to make it a full client app.
I'm not sure what you're asking about XML. You wouldn't have to write code to create XML (or SOAP) - the classes that were generated do all that.