How can I enable WS-Addressing on SwitchYard SOAP reference binding?

Solution Unverified - Updated -

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 Found error.
  • 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content