Hi, thanks for the response.

Yes, it is a POJO and I am using RPCMessageReceiver.  It is a Spring
based deployment.  Spring is deployed within the aar.

service.xml:
    <service name="restService" class=".....spring.SpringInit">

     <messageReceivers>
        <messageReceiver  mep="http://www.w3.org/2004/08/wsdl/in-only";
class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
        <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out";
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
    </messageReceivers>

        <!-- Spring / Axis2 config stuff -->
        <parameter name="ServiceTCCL">composite</parameter>
        <parameter
name="ServiceObjectSupplier">org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier</parameter>
        <parameter name="SpringBeanName">searchService</parameter>


        <operation name="RestfulService"/>

    </service>

The service interface is defined as follows:

public String RestfulService(Integer startIndex, Integer
resultsPerPage, String profile, String keywords);

Thanks!


On Jan 21, 2008 9:47 PM, keith chapman <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is your service a POJO? Are you using RPCMessageReceiver?
>
> Thanks,
> Keith.
>
>
> On Jan 22, 2008 1:01 AM, Ralph Perko <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Is there any way to configure axis2 to not include the wrapping XML on
> > the REST response?  My service returns an Atom feed which needs to  be
> > returned as POX without the extra XML, otherwise it does not render
> > correctly.
> >
> > Thanks!
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> Keith Chapman
> Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> http://wso2.org/
>
> blog: http://www.keith-chapman.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to