You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by imorales <im...@ignos.com> on 2007/10/02 12:07:30 UTC
Component http, hepl.
Hi all.
I would like to know if servicemix-http supports GET, POST operations.
If it supports, how have to configure de endpoints (consumer, provider) .
Thanks in advance.
--
View this message in context: http://www.nabble.com/Component-http%2C-hepl.-tf4554049s12049.html#a12996085
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Component http, configuration. Re-edited
Posted by Gert Vanthienen <ge...@skynet.be>.
L.S.,
It tries to access the main.wsdl by default, but because you're not
using SOAP, you cannot get a WSDL. You can still POST an XML message to
the URL though, this should work fine. Have a look at the bridge
example in the distribution, which also uses a simple POST for sending XML.
I don't think GET requests are currently support by servicemix-http
though. What is your use case for it? From another post, I had the
impressions you were trying to useServiceMix to act as some kind of
'reverse proxy' to another web application...
Gert
imorales wrote:
> I forget it ... I get this error when accesing the consumer url
> "http://platinoa:8192/xforms"
>
> HTTP ERROR: 404
>
> Unable to find requested resource
>
> RequestURI=/xforms/main.wsdl
>
> Powered by Jetty://
>
> ......
>
> I don´t know why is trying to acces main.wsdl, because both endpoinst has
> the attribute soap="false".
>
>
>
> imorales wrote:
>> Hi all.
>> I would like to know if servicemix-http supports GET, POST operations.
>> If it supports, how have to configure de endpoints (consumer, provider) .
>>
>> My xbean.xml:
>>
>> <beans xmlns:http="http://servicemix.apache.org/http/1.0"
>> xmlns:cmp="http://mycompany.com/">
>>
>> <http:endpoint service="cmp:xformspublicador"
>> endpoint="miChibaWebCliente"
>> soap="false"
>> locationURI="http://platinoa:8192/xforms"
>> defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
>> role="consumer"/>
>>
>> <http:endpoint service="cmp:xormspublicador"
>> endpoint="miChivaWebServidor"
>> role="provider"
>> soap="false"
>> defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
>> locationURI="http://192.168.1.9:9393/xformspublicador"/>
>> </beans>
>>
>>
>>
>> Thanks in advance.
>>
>
Re: Component http, configuration. Re-edited
Posted by imorales <im...@ignos.com>.
I forget it ... I get this error when accesing the consumer url
"http://platinoa:8192/xforms"
HTTP ERROR: 404
Unable to find requested resource
RequestURI=/xforms/main.wsdl
Powered by Jetty://
......
I don´t know why is trying to acces main.wsdl, because both endpoinst has
the attribute soap="false".
imorales wrote:
>
> Hi all.
> I would like to know if servicemix-http supports GET, POST operations.
> If it supports, how have to configure de endpoints (consumer, provider) .
>
> My xbean.xml:
>
> <beans xmlns:http="http://servicemix.apache.org/http/1.0"
> xmlns:cmp="http://mycompany.com/">
>
> <http:endpoint service="cmp:xformspublicador"
> endpoint="miChibaWebCliente"
> soap="false"
> locationURI="http://platinoa:8192/xforms"
> defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
> role="consumer"/>
>
> <http:endpoint service="cmp:xormspublicador"
> endpoint="miChivaWebServidor"
> role="provider"
> soap="false"
> defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
> locationURI="http://192.168.1.9:9393/xformspublicador"/>
> </beans>
>
>
>
> Thanks in advance.
>
--
View this message in context: http://www.nabble.com/Component-http%2C-configuration.-Re-edited-tf4554049s12049.html#a12997327
Sent from the ServiceMix - User mailing list archive at Nabble.com.