BizTalk Server Orchestration - Published Web Service requires xmlns="" for some X

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > November 2005 > Published Web Service requires xmlns="" for some X





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Published Web Service requires xmlns="" for some X
joey

2005-11-23, 8:49 pm

Hi,

I created an XML schema in BizTalk for XML messages which look like

<report xmlns="http://www.temp.com/schemas">
<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="http://www.temp.com/schemas">
<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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com