JaxB and JavaWebservices
1 posts in topic
Flat View  Flat View

Posted By:   kbird_g
Posted On:   Friday, April 25, 2008 08:50 AM

how does jaxb come in contact with java webservice, how does both relate together,can somebody help me in giving some idea on it.
thanks in advance

Re: JaxB and JavaWebservices

Posted By:   Anonymous  
Posted On:   Monday, April 28, 2008 04:54 AM

Using JavaWebservices we can send of two types SOAP requests

  • document style

  • RPC style

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.
About | Sitemap | Contact