>>1. how i'll pass the xml document to the service... using which apis
From the client, create a SOAPEnvelope and using Axis classes send it to the target end point using the api from axis library.
http://ws.apache.org/axis/. 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.
>> I have seen and implemented the document based axis webserivices like this.
public Document SomeMethod(Document doc){
return Confirmdoc;
}
For converting XML string to java objects to store the info in DB, here is a nice one:
http://xstream.codehaus.org/