on 01-18-2017 11:35 PM
I have an oData service setup in GW, and we are receiving the following error message when testing outside of the SAP GW client (works correctly there). This is a PUT request, and receiving the following error message:
<?xml version="1.0" encoding="utf-8"?> <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <code>CX_ST_MATCH_ELEMENT/544FAE4641562346A1372144E7396586</code> <message xml:lang="en">System expected the element '{http://www.w3.org/2005/Atom}entry'</message> <innererror> <application> <component_id/> <service_namespace>/SAP/</service_namespace> <service_id>ZONLINE_STORE_SRV</service_id> <service_version>0001</service_version> </application> <transactionid>FDC5DDE6F681F12F80D2005056A24790</transactionid> <timestamp>20170118213512.2980000</timestamp> <Error_Resolution> <SAP_Transaction>Run transaction /IWFND/ERROR_LOG on SAP Gateway hub system (System Alias DEVCLNT500) and search for entries with the timestamp above for more details</SAP_Transaction> <SAP_Note>See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)</SAP_Note> </Error_Resolution> <errordetails/> </innererror> </error>
In the header, I have Content-Type = application/atom+xml;type=entry;charset=utf-8 and X-CSRF-Token=fetchedtoken
The body is this:
<?xml version="1.0" encoding="utf-8"?>
<atom:entry xmlns:base="https://*MYURL*/sap/opu/odata/sap/ZONLINE_STORE_SRV/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
<id>https://*MYURL*/sap/opu/odata/sap/ZONLINE_STORE_SRV/Update_PasswordSet('jane@mycompany.com')</id>
<title type="text">Update_PasswordSet('jane@mycompany.com')</title>
<updated>2017-01-12T19:02:57Z</updated>
<category term="ZONLINE_STORE_SRV.Update_Password" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
<link href="Update_PasswordSet('jane@mycompany.com')" rel="self" title="Update_Password"/>
<atom:content type="application/xml">
<m:properties>
<d:Email>jane@mycompany.com</d:Email>
<d:Password>MyNewPassword!</d:Password>
</m:properties>
</atom:content>
</atom:entry>
Can anyone tell me how to resolve this issue? I have done quite a bit of research, and all blogs point to the solution above, but it's not working.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.