How can I enable WS-Addressing on SwitchYard SOAP reference binding?
Issue
- We are trying to call a SOAP web service from our SwitchYard application which is defined as SwitchYard reference with SOAP binding.
- The issue is that this web service requires WS-Addressing to be enabled on the client request, otherwise it throws
Operation Not Founderror. -
When using SoapUI , if we enable WS-Addressing that error is resolved. Similarly if we use a simple Java web service client, we can enable it by passing the following property:
service.getPort(new AddressingFeature(true, true)); -
But we could not figure out how to enable WS-Addressing on SwitchYard SOAP reference binding.
-
Following is the exception I am getting from SwitchYard when calling this web service:
Caused by: org.switchyard.component.bean.BeanComponentException: SWITCHYARD030403: Bean Component invocation failure. Service 'MyService', operation 'login'. at org.switchyard.component.bean.ClientProxyBean$ClientProxyInvocationHandler.invoke(ClientProxyBean.java:315) [switchyard-component-bean-1.1.1-p7-redhat-1.jar:1.1.1-p7-redhat-1] ... 124 more
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.0
- Red Hat JBoss Fuse (Fuse)
- 6.2
- SwitchYard
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
