Why can't I connect to my deployed application?

Updated -

If you have deployed an application to the server but you are not able to connect to it, it may be that you are using the wrong URL.

The endpoint address in WSDL is not respected when it is deployed on JBoss Fuse Service Works as a SwitchYard application. The endpoint which the underlying JBoss Web Services enforces always precedes it.

The URL should be the endpoint address for the application. You can confirm the endpoint address in the EAP_HOME/PROFILE/logs/server.log file.
For example, for a deployed application called 'bean-service' you will see the following output in the server.log file:

 Adding service endpoint metadata: id=OrderService
 address=http://localhost:8080/quickstart-bean/OrderService
 implementor=org.switchyard.component.soap.endpoint.BaseWebService
 serviceName={urn:switchyard-quickstart:bean-service:1.0}OrderService
 portName={urn:switchyard-quickstart:bean-service:1.0}OrderServicePort
 annotationWsdlLocation=null
 wsdlLocationOverride=vfs:/content/switchyard-quickstart-bean-service.jar/wsdl/OrderService.wsdl
 mtomEnabled=false
 handlers=[org.switchyard.component.soap.InboundResponseHandler]

The 'address' is the URL you should be using to connect to your deployed application.

For more information, please refer to Binding References with SOAP.

Comments