cancel
Showing results for 
Search instead for 
Did you mean: 

PI mapping create complextype mixed

former_member442866
Discoverer
0 Kudos

Hi exerts,
I have a scenario IDOC> SOAP with PI 7.3
I need to create a complexType mixed
ex:
    <xsd:complexType name="Extrinsic" mixed = "true">
       <xsd:sequence>
          <xsd:element name="orderBy" type="xsd:string" />
          <xsd:element name="text" type="xsd:string" />
       </ xsd: sequence>
       <xsd:attribute name="name" type="xsd:string" />
    </ xsd: complexType>
</ xsd: schema>
But the PI does not support this property.
Anyone ever experienced this or have any solution for this?

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Create outside ESR as xsd file and validate the xsd using editors like XMLSPY . Then import that XSD as external definition and use it as message type and see if that helps.

former_member442866
Discoverer
0 Kudos

Hi Baskar,

how i use a xsd external definition as message type or directly in message mapping?

I tried but couldn't...

ambrish_mishra
Active Contributor
0 Kudos

Hi Rafael,

You need to import the XSD as an external definition and then use the external definition in message mapping.

Ambrish

Answers (3)

Answers (3)

former_member442866
Discoverer
0 Kudos

tks everyone!!!

I created XSD with XMLSpy and import as external definition, works fine!

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

The best solution for those cases when PI does no support such cases is to define it in an external editor.

have you try to save the example provided in the post in an external file and later impor it to PI as external Definition?

ambrish_mishra
Active Contributor
0 Kudos

Hi Rafael,

please check if below link helps:

http://sapxitutorials.blogspot.ca/2009/07/handling-of-mixed-content-element-in-xi.html

Cheers,

Ambrish