1
votes

We have CXF based SOAP web services and we are hitting these services from SOAP UI with no problem. With one of these services, I setup a ProxyService on barebone WSO2 ESB 4.6.0. The proxy service seems to be working with the "Try It" option from the admin console. When I try to access it from SOAPUI, the WSO2 ESB starts complaining that

"The endpoint reference (EPR) for the Operation not found is /services/HelloWorldProxyService and the WSA Action = . If this EPR was previously reachable, please contact the server administrator."

Now, when I change the endpoint URL in SOAPUI as http:// hostname:8280/services/service-name.port-name/operation-name things start to work.

Does anyone know how to fix this issue? Are there configuration options on the WSO2 ESB which will let us use traditional SOAPUI with WSO2 ESB?

3

3 Answers

0
votes

You can point the proxy service url(you can view this, via service dashboard of the particular proxy) in soapui and for the "action", in the insequence of the proxy define a property call; . header name="Action" value="soap action"

Here is the guide on vailable properties

http://wso2.org/project/esb/java/3.0.0/docs/properties_guide.html

0
votes

I have the same problem if I put operation1 at the end of WS URI (http://somedomain.com/WebServiceProxyName/operation1), but post a SOAP message body with constructs for another operation(operation2,3,4,5...) it works!!!

Sample

POST http://somedomain.com/..../operation1 HTTP/1.1
....
....
<soap:Envelope ...>
<soap:Header/>
  <soap:Body>
     <ws:operation2>



     </ws:operation2>
  </soap:Body>
</soap:Envelope>
0
votes

Try to change the (original) WSDL and put the soapAction there:

You can define it as an attribute of the http://schemas.xmlsoap.org/wsdl/soap/:operation element in the binding section, e.g.

<wsdl:binding name="healthcheck-1.0.0SOAP" type="tns:HealthCheck100PortType">
  <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="doHealthCheck">
      <soap:operation soapAction="http://www.xyz.ch/healthcheck-1.0.0/doHealthCheck"/>