on 06-03-2010 12:28 PM
Hi,
I have a external definition (.xsd) which contains imports which are loaded seperately into ESR. In PI I have no problem using them. But in the SAP ERP system - SPROXY, I cant generate the proxy. It gives the error: "Proxy generation terminated: mixed conent not supported".
How can I solve this problem?
Hi,
>>>How can I solve this problem?
create the message on your own with data type/message type
which contains the same structure as the one from XSD
add 1-1 mapping
generate the proxy on the new service interface/message interface
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> I will give it a try. By the way, are attributes accessible in proxy?
Yes, you can access the attributes in proxy.
Update:-
Example: Let's say you have a field Kunnr and it's attribute "value", so you can access the attribute inside proxy by using below code..
MOVE input-mt_test-kunnr-value TO lv_kunnr.
Please go through this article and you can identify some of the data type not supported in PI.
As mike' reply Build your data type manually instead of having external definition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The problem in your case is external definition has some mixed type of xsd structure.
so it is not supporting to know more about mixed content refer below link
http://www.w3schools.com/schema/schema_complex_mixed.asp
We can genarate proxy class for external definition, i had done that it is working..
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.