You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Jesus Salvo (Communicator)" <je...@communicator.com.au> on 2006/11/16 21:12:38 UTC
Webservice with DTD only ( REST ? ), no xsd
There is a specific XML format that I need to follow ( based on Mobile Location Protocol / MLP from www.3gpp.org ). The XML is defined by DTD only, no XSD.
Now what I have done is generated Java classes from the XSD via JAXB 2.0.1 xjc compiler. How do I go about creating a webservice that is only defined by a DTD ?
I can see a few links on using REST with Axis as a client:
http://www.wso2.net/kb/175
http://ws.apache.org/axis2/1_1/rest-ws.html
.. but not enough information on how to generate a RESTful webservice with axis. What exactly do I need to do ?
Thanks,
John
Re: Webservice with DTD only ( REST ? ), no xsd
Posted by "Jesus Salvo Jr." <je...@communicator.com.au>.
I guess a better question is ... how do I enable / plugin JAXB2 with Axis2,
since I already have all the Java generated code from JAXB xjc compiler from
DTD.
On Friday 2006 November 17 07:12, Jesus Salvo (Communicator) wrote:
> There is a specific XML format that I need to follow ( based on Mobile
> Location Protocol / MLP from www.3gpp.org ). The XML is defined by DTD
> only, no XSD.
>
> Now what I have done is generated Java classes from the XSD via JAXB 2.0.1
> xjc compiler. How do I go about creating a webservice that is only defined
> by a DTD ?
>
> I can see a few links on using REST with Axis as a client:
>
> http://www.wso2.net/kb/175
> http://ws.apache.org/axis2/1_1/rest-ws.html
>
> .. but not enough information on how to generate a RESTful webservice with
> axis. What exactly do I need to do ?
>
> Thanks,
>
> John
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org