You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by angeloNZ <an...@nz.fujitsu.com> on 2009/06/16 14:55:08 UTC

What component/class is responsible for URL rewriting when SM is run on a container

Hi,

I'd like to know which ServiceMix class handles the url rewriting of the
"locationURI" for http consumer components when ServiceMix is run on a
servlet container such as Tomcat.  I need to look at why if I use
http:soap-consumers with static WSDLs, the "locationURI" gets rewritten ok
to have the "apache-servicemix-web-3.3/jbi/" while the service location
value in the static WSDL doesn't seem to be rewritten properly.

This is related to an earlier post that I haven't had an answer yet.

http://www.nabble.com/WSDL-service-location-not-being-rewritten-for-http%3Asoap-*-on-Tomcat.-to23957752.html
http://www.nabble.com/WSDL-service-location-not-being-rewritten-for-http%3Asoap-*-on-Tomcat.-to23957752.html 
-- 
View this message in context: http://www.nabble.com/What-component-class-is-responsible-for-URL-rewriting-when-SM-is-run-on-a-container-tp24053751p24053751.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: What component/class is responsible for URL rewriting when SM is run on a container

Posted by Benoît Clouet <be...@gmail.com>.
I think this is done in the HttpManagedServlet defined in the web.xml  
of your servicemix web app. I don't know if it is this one that is  
responsible for the rewrite of your WSDL.

Benoît

Le 16 juin 2009 à 14:55, angeloNZ <an...@nz.fujitsu.com> a  
écrit :

>
> Hi,
>
> I'd like to know which ServiceMix class handles the url rewriting of  
> the
> "locationURI" for http consumer components when ServiceMix is run on a
> servlet container such as Tomcat.  I need to look at why if I use
> http:soap-consumers with static WSDLs, the "locationURI" gets  
> rewritten ok
> to have the "apache-servicemix-web-3.3/jbi/" while the service  
> location
> value in the static WSDL doesn't seem to be rewritten properly.
>
> This is related to an earlier post that I haven't had an answer yet.
>
> http://www.nabble.com/WSDL-service-location-not-being-rewritten-for-http%3Asoap-*-on-Tomcat.-to23957752.html
> http://www.nabble.com/WSDL-service-location-not-being-rewritten-for-http%3Asoap-*-on-Tomcat.-to23957752.html
> -- 
> View this message in context: http://www.nabble.com/What-component-class-is-responsible-for-URL-rewriting-when-SM-is-run-on-a-container-tp24053751p24053751.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>