简体   繁体   中英

The endpoint reference (EPR) for the Operation not found in WSO2 EI 6.6

I Created a DSS and exposed as a REST resource and it's working fine in Management Console try this service option, but while trying from the postman I get the following The endpoint reference (EPR) for the Operation not found error please help me to sort this out.

Postman Error

You are not setting a SOAPAction or Action header which is required. You can determine that header either based on the WSDL of the DSS, or from the example call that you make with Try This Service from the management console.

In default configuration, the DSS REST endpoint is exposed with address like:

http://{EI_ADDRESS}/services/{YOUR_DSS_SERVICE_NAME}.HTTPEndpoint/{REST_RESOURCE_PATH}

So your url doesn't point to REST resource. Also sending data in POST to that DSS REST endpoint should be "wraped" in value object like:

{
  "payload": {
    "id": "10"
  }
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM