Warning: The qualified name has been replaced with namespace...
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Applications Integration > Warning: The qualified name has been replaced with namespace...




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Warning: The qualified name has been replaced with namespace...  
Abel Chan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-30-05 01:50 AM

Hi there,

I am trying to create a schema specification by using BizTalk 2002 Editor.
I imported a XML document that has soap envelope and different name spaces.
I am getting: "The document being imported uses namespace(s).  It will not
validate against the imported schema." dialog box.  I click OK and I got som
e
warnings on the Warnings tab:

Warning: The qualified name "soap-env:Envelope" has been replaced with
"soap-env_Envelope".
Warning: The qualified name "soap-env:Header" has been replaced with
"soap-env_Header".

A sample xml document is shown below.  How could I create a specification
with this xml document?  Could you help me resolve this?  Many thanks.

<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/
">
<soap-env:Header>
<c:Credentials xmlns:c="http://Jupiter/MyCredentials/">
<UserName>myname</UserName>
<Password>mypassword</Password>
</c:Credentials>
</soap-env:Header>
<soap-env:Body>
<Moon:SetData xmlns:Moon="http:/Moon/SetData/">
<AccountDay>2005-08-29</AccountDay>
</Moon:SetData>
</soap-env:Body>
</soap-env:Envelope>


Abel Chan






[ Post a follow-up to this message ]



    Re: Warning: The qualified name has been replaced with namespace...  
Jan Eliasen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-30-05 01:01 PM

On Mon, 29 Aug 2005 16:45:02 -0700, Abel Chan <awong@newsgroup.nospam>
wrote:

>I am trying to create a schema specification by using BizTalk 2002 Editor.
>I imported a XML document that has soap envelope and different name spaces.
>I am getting: "The document being imported uses namespace(s).  It will not
>validate against the imported schema." dialog box.  I click OK and I got so
me
>warnings on the Warnings tab:
Are you sure you need to specify a schema for the entire document,
including the SOAP-envelope?

Basically, if you specify an envelope on the receive function, that is
a "Custom XML", but is not associated with a documetn specification,
then the SOAP-header will be stripped, and only the body is sent on to
BizTalk.

This leaves you with the problem of the namespaces of the body.
BizTalk 2002 does not support them, so you need a workaround. I
programmed a preprocessor once, that will strip all qualifiers from an
incoming document. Then you can have a schema that validates the
document. If you want the code to strip the qualifiers(namespaces),
you can download my preprocessor from
http://www.eliasen.dk/biztalk/bizhdapppreprocessor.zip

--
Jan Eliasen, representing himself and not the company he works for.





[ Post a follow-up to this message ]



    RE: Warning: The qualified name has been replaced with namespace...  
WenJun Zhang[msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-30-05 01:01 PM

Hi Abel,

As I know, Biztalk 2002 doesn't support multiple namespaces.. So you
may remove c and Moon from the input xml doc to have a test. Is this
possible? The following KB describes a similar scenario:

306517 PRB: BizTalk Editor Error When You Import Excel 2002 XML
Worksheet
http://support.microsoft.com/?id=306517

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no
rights.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:51 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register