Gert ,
how can i configure the Marshaller in the xbean.xml?
I know I can put it in using <bean id="providerMarshaler" class="org.apache.servicemix.http.endpoints.DefaultHttpProviderMarshaler" />
but this way i can't configure its properties right?

cheers, Johannes
Martin,

You can use a HttpProviderMarshaler instance together with the new <http:provider/> endpoint to achieve this. In fact, the DefaultHttpProviderMarshaler will probably allow you to this already if you...
- specify the method as GET
- specify a locationUriExpression to determine the URL with the parameters therein

Hth,

Gert

Martin Mulder wrote:
Hi,

I'm trying to create a http provider which performs an HTTP GET with
parameters. (non-SOAP)

so the URL should be: http://testurl/getProducts?cat=<cat>&type=<type>

the idea was to create a SOAP consumer which has a action getProducts
and has to set the <cat> and <type> parameters for the GET URL.


Is this possible, because I am trying it for over a week, and couldn't
get it working......



Thank a lot,

Martin


Reply via email to