soap-consumer doesn't rewrite endpoint urls correctly in wsdls when servicemix 
runs inside tomcat
-------------------------------------------------------------------------------------------------

                 Key: SMXCOMP-484
                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-484
             Project: ServiceMix Components
          Issue Type: Bug
          Components: servicemix-http
         Environment: servicemix 3.3 running inside tomcat
            Reporter: Milan Satala
             Fix For: servicemix-http-2008.01


When servicemix is running inside tomcat all service urls are modified. For 
example: http://0.0.0.0:8192/MyService  will be published at 
http://url.to.your.servicemix-web/jbi/MyService
However http:soap-consumer doesn't modify endpoint urls inside wsdls to reflect 
real service location.
Here's my soap-consumer configuration:

*xbean.xml:*
<http:soap-consumer service="umes:UMEventService"
                 endpoint="UMEventServiceSoap"
                 wsdl="classpath:UMEventService.wsdl"
                 *locationURI="http://localhost/UMEventService/"*
                 targetService="prolix:umes-camel"
                 useJbiWrapper="false"                 
                 />

http://localhost:8080/servicemix-web-3.3/jbi/UMEventService/main.wsdl :
<soap:address location=*"http://localhost/UMEventService/"*/>

while it should be:
<soap:address 
location=*"http://localhost:8080/servicemix-web-3.3/jbi/UMEventService/"*/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to