You may want to check out the JSR-311 implementation in CXF, it is more 
standard based [1].

[1]. http://cwiki.apache.org/CXF20DOC/jax-rs-jsr-311.html

Cheers,
Jervis

> -----Original Message-----
> From: Kamlesh [mailto:[EMAIL PROTECTED]
> Sent: 2008年1月12日 7:02
> To: [email protected]
> Subject: Unable to get xml as tring in rest services
> 
> 
> Hi, All
> 
> I have following rest service. When I post a request xml using wget, I get
> null string on my impl class. I want to recevice xml as string so that I can
> marshall the string using JiBX.
> 
>  @Post
>  @HttpResource(location = "/requestHLTranscode")
>   public String
> requestHLTranscode(@WebParam(name="requestXML")String
> requestXML);
> 
> Configuration
> ==========
> <jaxws:endpoint id="transcodeservice_rest"
>                  implementor="#transcodeService"
>                  address="/TranscodeService_Rest"
>                  bindingUri="http://apache.org/cxf/binding/http";>
>        <jaxws:serviceFactory>
>            <bean
> class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
>                <property name="wrapped" value="true" />
>            </bean>
>        </jaxws:serviceFactory>
>    </jaxws:endpoint>
> 
> 
> --
> View this message in context:
> http://www.nabble.com/Unable-to-get-xml-as-tring-in-rest-services-tp1476
> 7165p14767165.html
> Sent from the cxf-user mailing list archive at Nabble.com.

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland

Reply via email to