Hi all,
i am workin on a project with very stiff deadline. I need to develop a web service which takes an xml document as a
String, processes it and updates the database and returns a confirmation xml document. the service needs to b document based.
following is the method signature we will b exposing:
public String SomeMethod(String request){
return Confirmdoc;
}
i have gone thru some documents but i am a little confused as to how i shud send the XML document and how i shud recieve it and parse it and then validate it and update the database. there is very little help available online for Document based web services..most material i went thru just give a threotical overview..but no real case has been shown.
i am using Apache
Tomcat and Apache Axis1.3.
the xml will be validated against a schema which will be avaialble at both ends.
I am new to Web services and any help will b greatly appreciated.
following are the things i need to know.:
1. how i'll pass the xml document to the service... using which apis
2. how i'll recieve the
doc as a string and how will i generate the original XML doc frm it and validate it against the schema.
Thanx.