Message-ID: <24573237.13567.1422693431893.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_13566_1433360869.1422693431892" ------=_Part_13566_1433360869.1422693431892 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
XMLBeans is a tool for handling typically XSD typed XM= L with support for the autogenerating of beans to map to a WSDL or XSD file= .=20
Alternatively we've an XMLBeansRegistry which you can use= with a RestService or SoapService to bind any service instances which can = process incoming XMLBeans document types and possibly process some output.<= /p>=20
Here is an example application which demonstra= tes writing a simple POJO based services using purely XMLBeans and letting = ActiveSOAP be the REST or SOAP stack and handling the HTTP or JMS transport= s for you.=20
First you need some kinda service to expose. So we wrote a little interf= ace.An error occurred: cvs.activesoap.codehaus.org. The system adminis= trator has been notified.=20
There's a method on this interface which accepts an XMLBeans type. We ca= n have as many methods as we like all auto-published, the only requirement = is that the parameter must be an XMLBeans type, so that when we register it= with XMLBeansRegistry it can auto-deduce the QName which matches the XMLBe= an type.=20
Then if we register an implementation of this interface with the XMLBean= sRegistry we can automatically publish the service as both REST and SOAP en= dpoints...An error occurred: cvs.activesoap.codehaus.org. The system a= dministrator has been notified.