Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
rock3111
rock3111
5 Posts
ACCEPTED ANSWER

Pinned topic WS-Addressing issue in WSP

‏2013-05-03T07:20:54Z |

Hi,

   I have WSDL which is in SOAP 1.2 & follows WS-addressing standards. Also WS-security policy is defined inside wsdl file . I had exposed this as  WSP with http FSH.

   When i hit the service, i am getting the following error

"No WS-Proxy service endpoints match operation in SOAP request as required by WS-I BP1.0/1.1 R2744 or R2745."

 

here is my wsdl pieces of info.(its huge one which is not shareble)

 

<wsdl:portType name="IService">
<wsdl:operation name="Order">
<wsdl:input message="tns: order_InputMessage "
wsaw:Action="http://xyz.com/OrdersRequest">
</wsdl:input>
<wsdl:output message="tns:Order_OutputMessage"
wsaw:Action="http://xyz.com/OrdersResponse">
</wsdl:output>
</wsdl:operation>
</wsdl:portType>
 
<wsdl:binding name="wsHttpsEndpoint" type="tns:IService">
 
<wsp:PolicyReference URI="#wsHttpsEndPoint_policy" />
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="Order">
<soap12:operation soapAction="http://xyz.com/IService/Orders"
style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="HttpsEndpoint">
<wsdl:port name="wsHttpsEndpoint" binding="tns:wsHttpsEndpoint">
<soap12:address location="http://xyz.com/ws/wsHttpsEndpoint/" />
<wsa10:EndpointReference>
<wsa10:Address>http://xyz.com/ws/wsHttpsEndpoint/</wsa10:Address>
</wsa10:EndpointReference>
</wsdl:port>
</wsdl:service>
 
 

 

I have given my port number and context URI same in soapUI, i have checked the namespace in the wsdl and binding namespace in WSP policy rules are same, but still i am getting above error.

          I have disabled subjects in the ws-policy settings and tried to do the testing. but still have the same issue

           When i set WS-Addressing property to false in SOAPUI, its going thru the  request rule and getting into the response rule.
 This solution is solving only side of the problem

 

but the problem is i am making call to another WSP(kind of service chaining)  from this   ServiceAWSP is making call to ServiceBWSP.  when the request goes to Service B, service B is complaining  the same above error message.

 

   So in this case, how can i fix the issue. Do i need to setup for WS-addressing ?   if so , what are the changes, i have to make.