If my camel-context.xml contains this cxf Endpoint, what is the default url when I run CamelMain
locally in my development environment?
<cxf:cxfEndpoint id="myService"
address="/MyService"
serviceClass="com.mycompany.MyServicePort"
wsdlURL="schema/MyService.wsdl">
</cxf:cxfEndpoint>
Is it http://localhost:8181/MyService
?
I don't want to specify the server specifically address="http://localhost:8181/MyService
, since the application is being deployed to openshift, and it seems to function best with a "relative" endpoint: address=/MyService
.
The above configuration works when deployed to openshift, with this sort of endpoint:
http://openshift-test.mycompany.com/openshift-myservice/MyService
So, I would like the same configuration to run locally, but what is the default endpoint? http://localhost:..../.../MyService