cancel
Showing results for 
Search instead for 
Did you mean: 

SAP-CC - Adapt WS return message

isaqueaugust
Explorer
0 Kudos
544

Dear CC experts,

Is there a way to change the return message of a CC standard request? We are using the request rangeTableRangeSetCancelRequest to delete Range Sets from a range table, but the return message has not enough informations to meet the requirement needs.

Currently we are getting the following response on successfull cases:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Header/>
   <soap:Body>
      <ns2:rangeTableRangeSetCancelResponse xmlns:ns2="http://schema.catalog.v3.ws.highdeal.com/" xmlns:ns3="http://schema.catalog.ws.highdeal.com/">
         <status>return</status>
         <id>RANGE_TABLE_ID</id>
         <reference>123456789</reference>
      </ns2:rangeTableRangeSetCancelResponse>
   </soap:Body>
</soap:Envelope>

We would like to have something like this:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Header/>
   <soap:Body>
      <ns2:rangeTableRangeSetCancelResponse xmlns:ns2="http://schema.catalog.v3.ws.highdeal.com/" xmlns:ns3="http://schema.catalog.ws.highdeal.com/">
         <status>return</status>
         <id>RANGE_TABLE_ID</id>
		 <message>The range set key $1 was successfully deleted.</message>
         <reference>123456789</reference>
      </ns2:rangeTableRangeSetCancelResponse>
   </soap:Body>
</soap:Envelope>

Best Regards,

Isaque

Accepted Solutions (1)

Accepted Solutions (1)

former_member428395
Active Participant

Hello Isaque,

as soon as you didn't receive any error in the received response, it means that the request was successfully executed.

If you want to check that the modification was correctly done, you can open the range table or you can use the object change log.

Best regards,

Eric F.

Answers (1)

Answers (1)

former_member428395
Active Participant

Hello Isaque,

I'm not sure to understand why you need this change. As soon as you have received the highlighted response, it means that the request was successfully executed. What is the interest to confirm that the request was successfully executed with additional details?

Eric F.

isaqueaugust
Explorer
0 Kudos

Hello Eric!

The reason for this requirement is that in the system where we consume the WS, we need to log the responses as evidence of the changes made to the range table. For this reason, the additional details would provide information about which table was edited and what exactly was the content they modified.

Best Regards,

Isaque