on 10-26-2010 8:49 PM
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
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>
= == >
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.