on 10-23-2017 10:53 PM
We are trying to generate ABAP outbound proxy. Getting error message below.
SERIALIZE_APPLICATION_DATA Conversion error ABAP => XML: Request Message; CX_ST_SWITCH_NO_CASE in /1SAI/SAS8172B5C1FEAE9080B8D5 Line 34 Unexpected Case in Branch.
I deleted proxy and regenerated, still getting error. Is there somebody can help with it?
Hi Ankit,
Yes, I was getting issue while generating XML and issue is resolved. When PI generated proxy, it created SWITCH in the deep structure. Make sure schema should have UTF-8 format. First line should be <?xml version="1.0" encoding="utf-8" ?>.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Satish,
Would require more details if you can share....
1. What's a SWITCH here?
2. Where I'll be able to see it?
3. Should it be removed/replaced or what should be done with it?
4. Regarding the schema, I can see the first line is <?xml version="1.0"?>, how can I change it to <?xml version="1.0" encoding="utf-8" ?>?
5. I referred my other proxies as well, all have <?xml version="1.0"?> as the first line & they are working fine.
Hi Ankit,
Please find below my answers.
1. What's a SWITCH here? - When PI creates proxy it will appear in the SPROXY transaction for you. Then you as an abaper creates proxy. It will create class and deep structure. SWITCH is component created in deep structure.
2. Where I'll be able to see it? - Inside deep structure
3. Should it be removed/replaced or what should be done with it? - You cannot change deep structure. Scema must be modified with UTF-8 format and PI developer will regenerate proxy. You should not have SWITCH in deep structure.
4. Regarding the schema, I can see the first line is <?xml version="1.0"?>, how can I change it to <?xml version="1.0" encoding="utf-8" ?>? - You can open schema in notepad and replace first line with <?xml version="1.0" encoding="utf-8" ?>.
5. I referred my other proxies as well, all have <?xml version="1.0"?> as the first line & they are working fine. - Not sure about this.
Try This.
Step1- Deactivate your proxy
Step2 - Modify first line in schema as I said
Step3 - send it to PI and ask them to regenerate proxy
Step4 - Generate your proxy. Your deep structure shouldnt have SWITCH.
Try this and let me know.
Regards
Satish
Hi All,
I am also getting this error, can you kindly guide me how to solve it...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Satish,
Did you resolve it? If so, kindly share the solution. I'm getting the same error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Former Member any Idea?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.