Skip to Content
author's profile photo Former Member
Former Member

Localized data and error messages in web services?

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 05, 2012 at 10:41 AM

    Hello Martin,

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

    Regards,

    Alex.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.