cancel
Showing results for 
Search instead for 
Did you mean: 

Localized data and error messages in web services?

Former Member
0 Kudos

Is there a way to tell a ME web service to respond translatable date in <SOAP-ENV:Body> or the <faultstring> in <SOAP-ENV:Fault> in a specific language? The ME web services ignore the HTTP header "Accept-Language". Is there a SOAP Header where I can set the locale?

Example: I build an Adobe Flex application requesting data from ME via standard web services. The user enters the site. If he/she misspelled it, almost every web service returns this:

<SOAP-ENV:Fault>
   <faultcode>SOAP-ENV:Client</faultcode>
   <faultstring>
      Site "MisspelledSiteName" invalid (Message 12930)
   </faultstring>
   <detail>
      <yq1:com.sap.me.frame.mapping.data.MappingException 
         xmlns:yq1="http://sap-j2ee-engine/client-runtime-error">
         Site "MisspelledSiteName" invalid (Message 12930)
      </yq1:com.sap.me.frame.mapping.data.MappingException>
   </detail>
</SOAP-ENV:Fault>

Now I have to display this message to the user in his/her language, in our case it is German.

Best regards,

Martin

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hello Martin,

Have you found the solution already? If so, please, share it with the community and close this thread.

Regards,

Alex.