cancel
Showing results for 
Search instead for 
Did you mean: 

SAP-CC - Adapt WS return message

isaqueaugust
Explorer
0 Kudos
554

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

View Entire Topic
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.