joeyjoeyjoey
Programmer
Hi,
I created an XML schema in BizTalk for XML messages which look like
<report xmlns=" <header>
<messageType>...</messageType>
...
</header>
<anotherElement>...</anotherElement>
...
</report>
and published the schema as a BizTalk Web Service. The Web Service generated however expects XML messages of the form:
<report xmlns=" <header xmlns="">
<messageType>...</messageType>
...
</header>
<someElement xmlns="">...</someElement>
...
</report>
It's okay to send a message to the Web Service without the second xmlns="" (maybe it's because 'anotherElement' is not a complexType) but if I omit the first xmlns="" for 'header', there will be an error.
Has anyone run into this problem before? Or, if this is what BizTalk would do, is there anyway to configure the pulished web service so that it won't ask for the xmlns=""?
Thanks,
Joey
I created an XML schema in BizTalk for XML messages which look like
<report xmlns=" <header>
<messageType>...</messageType>
...
</header>
<anotherElement>...</anotherElement>
...
</report>
and published the schema as a BizTalk Web Service. The Web Service generated however expects XML messages of the form:
<report xmlns=" <header xmlns="">
<messageType>...</messageType>
...
</header>
<someElement xmlns="">...</someElement>
...
</report>
It's okay to send a message to the Web Service without the second xmlns="" (maybe it's because 'anotherElement' is not a complexType) but if I omit the first xmlns="" for 'header', there will be an error.
Has anyone run into this problem before? Or, if this is what BizTalk would do, is there anyway to configure the pulished web service so that it won't ask for the xmlns=""?
Thanks,
Joey