Try to post the request using an URI with a trailing '/'.
So post it to "/axis/services/Subscriber/"
rather than "/axis/services/Subscriber" and it will work.
THis is what the 302 http status code tries to indicate.


On Sep 12, 2007, at 9:44 AM, johper wrote:



Hi,

Would like to move an Axis WS solution 'as is' over to SMX. Step 1 is to put
SMX in the
middle of existing WS-client-Web-app and Jboss/Axis SOAP stack. Trying to
use 'servicemix-http' BC
but not to sure how to setup to act as a ws-router ?


HTTP SU
========
<beans xmlns:http="http://servicemix.apache.org/http/1.0";
       xmlns:r="http://servicemix.apache.org/samples/router";>

        <http:endpoint service="r:soapConsumer"
                 endpoint="endpoint"
                 targetService="r:soapProvider"
                 role="consumer"
                 soap="true"
                 soapVersion="1.1"
locationURI="http://0.0.0.0:8080/axis/services/ Subscriber/"
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                 wsdlResource="classpath:main.wsdl" />

        <http:endpoint service="r:soapProvider"
               endpoint="soapProvider"
               role="provider"
               soap="true"

locationURI="http://100.147.25.131:8080/axis/services/Subscriber/";
               wsdlResource="classpath:main.wsdl"/>

</beans>


OUTPUT SMX CONSOLE
===================

DEBUG - JettyContextManager            - Dispatching job:
[EMAIL PROTECTED],io=1,w=true,b
=0|0]
DEBUG - jetty - REQUEST /axis/services/ Subscriber
on org.mortbay.
[EMAIL PROTECTED]
DEBUG - jetty - RESPONSE /axis/services/ Subscriber
302
DEBUG - JettyContextManager            - Dispatching job:
[EMAIL PROTECTED],io=1,w=true,b
=0|0]
--
View this message in context: http://www.nabble.com/HTTP-BC-acting- as-a-SOAP-router-tf4427544s12049.html#a12630328
Sent from the ServiceMix - User mailing list archive at Nabble.com.


--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to