Hi,
You need modify web.xml in the war,
change
<servlet-mapping>
<servlet-name>servicemix-http</servlet-name>
<url-pattern>/jbi/*</url-pattern>
</servlet-mapping>
to
<servlet-mapping>
<servlet-name>servicemix-http</servlet-name>
<url-pattern>/services/*</url-pattern> //or whaterver you
want
</servlet-mapping>
Freeman
On 2009-7-7, at 上午2:28, ldonald wrote:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:http="http://servicemix.apache.org/http/1.0"
xmlns:ms="http://ws.mycompany.com/MyService/2009-07-01/">
<http:endpoint service="ms:MyService"
endpoint="MyServicePort"
targetService="ms:MyService"
role="consumer"
locationURI="http://0.0.0.0:8192/MyService/2009-07-01/
"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
soap="true"
wsdlResource="classpath:MyService.wsdl"/>
</beans>
Jean-Baptiste Onofré wrote:
Hi,
What do you have defined in the locationUri into the HTTP xbean.xml ?
Regards
JB
ldonald wrote:
I'm deploying ServixeMix (ver 3.2.1) as a WAR inside OC4J. Web
Services
are
deployed in servicemix-http.
Is there a way to remove or rename "jbi" from my service url? i.e.
Changing
http://host:port/application/jbi/MyService?wsdl to
http://host:port/application/MyService?wsdl or to
http://host:port/application/services/MyService?wsdl
I would prefer not to let integration partners know more than they
have
to
about my service and its technology / framework.
--
View this message in context:
http://www.nabble.com/How-to-remove-jbi-keyword-from-service-URL-tp24358916p24360554.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com