...
Then if we register an implementation of this interface with the JAXBRegistry we can automatically publish the service as both REST and SOAP endpoints...
Here's the SOAP server side
| Wiki Markup |
|---|
{snippet:id=examplesoapServer|lang=java|url=http://cvs.activesoap.codehaus.org/viewrep/~raw,r=HEAD/activesoap/activesoap/modules/jaxb/src/test/org/codehaus/activesoap/examples/jaxb/SnowboardTest.java} |
And here's the SOAP client side
| Wiki Markup |
|---|
{snippet:id=soapClient|lang=java|url=http://cvs.activesoap.codehaus.org/viewrep/~raw,r=HEAD/activesoap/activesoap/modules/jaxb/src/test/org/codehaus/activesoap/examples/jaxb/SnowboardTest.java} |
The rest version
| Wiki Markup |
|---|
{snippet:id=restClient|lang=java|url=http://cvs.activesoap.codehaus.org/viewrep/~raw,r=HEAD/activesoap/activesoap/modules/jaxb/src/test/org/codehaus/activesoap/examples/jaxb/SnowboardTest.java} |
