cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy generation terminated: "mixed content" not supported.

Former Member
0 Kudos

Hi Guys,

I have a problem when use a XML Schema(.xsd) with External Definitions.

My Schema has more than one Elements(mixed) and when will generate the Proxy, doesn't generate and show a message <b>Proxy generation terminated: "mixed content" not supported</b>

The Schema is defined by the Government of Brazil.

I looked some link in forum

and

but I would not like of create many data types, because each Elements is very large and we have no time for it during project.

Any ideia for "split" de XMl Schema for generate the Proxy will be welcome.

Very thanks for help us!

Rgds,

Bruno

Accepted Solutions (0)

Answers (1)

Answers (1)

phanikumar_akella
Participant
0 Kudos

Hi,

Faced similar issue...Some systems cannot take complex data types. To create a Data type we need atleast one Complex node. There is a work around. Youu2019ll have to manually edit the WSDL u2013 see below and change the reference from (in my example Data Type is MeasurementDiocument) u201CMeasurementDocumentu201D to u201Cparametersu201D for the u201Cwsdl:part nameu201D

< = = =Original = =

<wsdl:message name="MeasurementDocument">

<wsdl:documentation />

<wsdl:part name="MeasurementDocument" element="MeasurementDocument" />

</wsdl:message>

= = = >

< = = Modified = =

<wsdl:message name="MeasurementDocument">

<wsdl:documentation/>

<wsdl:part name="parameters" element="p1:MeasurementDocument"/>

</wsdl:message>

= == >