|
Home > Archive > BizTalk Server General > July 2004 > Biztalk Editor Namespace tag
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 |
Biztalk Editor Namespace tag
|
|
| orion2347 2004-07-29, 4:35 am |
| Hi,
I'm very new to Biztalk and xml in general.
Currently when I pass an xml document into Orchestration I get this error message in the Event Log.
The XML document has failed validation for the following reason:
Validate failed because the root element had no associated DTD/schema.
The following is the xml file that has been passed:
<?xml version="1.0" standalone="yes"?>
<Creation xmlns="http://tempuri.org/Creation.xsd">
<OutboundCreation>
...
</OutboundCreation>
</Creation>
Is this a problem with namespacing? If so, I believe I need to specify a prefix and URN while in Biztalk Editor. Could anyone provide an example of how I should name the prefix and URN? | |
| Tatyana Yakushev [MSFT] 2004-07-29, 5:51 pm |
| What is the version of BizTalk you are using?
If it is 2004, it is very easy to create schema from XML. Simply create new or open existing project, then right click on it in solution explorer, select Add | Add Generated
Items.... At the dialog select "Generate Schemas", at the next dialog select Well-Formed XML and provide path to your xml. When you click Finish schema(s) will be
created.
I don't know much about Biztalk 2002 so I will not be able to help you if you are using it.
Thanks,
Tatyana
--------------------
>From: orion2347 <orion2347.1a5al2@mail.webservertalk.com>
>Subject: Biztalk Editor Namespace tag
>Date: Thu, 29 Jul 2004 04:35:14 -0500
>Message-ID: <orion2347.1a5al2@mail.webservertalk.com>
>Organization: Web Servers forum
>User-Agent: www.webservertalk.com news gateway
>X-Newsreader: www.webservertalk.com news gateway
>X-Originating-IP: 203.166.139.133
>Newsgroups: microsoft.public.biztalk.general
>NNTP-Posting-Host: ev1s-66-98-192-98.ev1servers.net 66.98.192.98
>Lines: 1
>Path: cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
>Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:18026
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>
Hi,
>
>I'm very new to Biztalk and xml in general.
>
>Currently when I pass an xml document into Orchestration I get this
error message in the Event Log.
>
>The XML document has failed validation for the following reason:
>Validate failed because the root element had no associated DTD/schema.
>
>The following is the xml file that has been passed:
>
><?xml version="1.0" standalone="yes"?>
><Creation xmlns="http://tempuri.org/Creation.xsd">
><OutboundCreation>
>
> ...
>
></OutboundCreation>
></Creation>
>
>Is this a problem with namespacing? If so, I believe I need to specify
a prefix and URN while in Biztalk Editor. Could anyone provide an
example of how I should name the prefix and URN?
--
orion2347
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message328354.html
>
--
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated.
| |
| orion2347 2004-07-30, 4:13 am |
| Ah... it's 2002, unfortunately. I've managed to solve the problem by specifying the Target Namespace in the Editor. That seemed to do the trick. Thanks for the response. :D
quote: Originally posted by Tatyana Yakushev [MSFT]
What is the version of BizTalk you are using?
If it is 2004, it is very easy to create schema from XML. Simply create new or open existing project, then right click on it in solution explorer, select Add | Add Generated
Items.... At the dialog select "Generate Schemas", at the next dialog select Well-Formed XML and provide path to your xml. When you click Finish schema(s) will be
created.
I don't know much about Biztalk 2002 so I will not be able to help you if you are using it.
Thanks,
Tatyana
--------------------
>From: orion2347 <orion2347.1a5al2@mail.webservertalk.com>
>Subject: Biztalk Editor Namespace tag
>Date: Thu, 29 Jul 2004 04:35:14 -0500
>Message-ID: <orion2347.1a5al2@mail.webservertalk.com>
>Organization: Web Servers forum
>User-Agent: www.webservertalk.com news gateway
>X-Newsreader: www.webservertalk.com news gateway
>X-Originating-IP: 203.166.139.133
>Newsgroups: microsoft.public.biztalk.general
>NNTP-Posting-Host: ev1s-66-98-192-98.ev1servers.net 66.98.192.98
>Lines: 1
>Path: cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
>Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:18026
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>
Hi,
>
>I'm very new to Biztalk and xml in general.
>
>Currently when I pass an xml document into Orchestration I get this
error message in the Event Log.
>
>The XML document has failed validation for the following reason:
>Validate failed because the root element had no associated DTD/schema.
>
>The following is the xml file that has been passed:
>
><?xml version="1.0" standalone="yes"?>
><Creation xmlns="http://tempuri.org/Creation.xsd">
><OutboundCreation>
>
> ...
>
></OutboundCreation>
></Creation>
>
>Is this a problem with namespacing? If so, I believe I need to specify
a prefix and URN while in Biztalk Editor. Could anyone provide an
example of how I should name the prefix and URN?
--
orion2347
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message328354.html
>
--
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated.
|
|
|
|
|