Monday, April 28, 2008 04:54 AM
Using JavaWebservices we can send of two types SOAP requests
In RPC style you will have a method in your webservice which will take some parameters and will process the RPC kind of requests.
In document Style we can send the xml it self in the SOAP request which you may need to unmarshall to some java objects in your webservice. To generate those java classes you can use the JAXB which will generate stubs for a give schema using the xjc compiler.After recieing the requst we need to process it and we may again need to send the response XML to the client in this case you can marshall the processed java objects to xml and you can send it back.