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.



Reply via email to