BTS 2004: Target Namespaces of Referenced Schemas
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 General > BTS 2004: Target Namespaces of Referenced Schemas




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

    BTS 2004: Target Namespaces of Referenced Schemas  
Glynn Timmins


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


 
07-27-04 10:53 PM

Looking at the BTS help topic "Schemas That Use Other Schemas", you'd
be led to believe that schemas can be 'Included' within other schemas
if the Included and Including schemas have the same target namespace,
OR if the tns of the Included schema is blank.

In fact, this help topic has been offered before as an answer to
earlier questions posted within this newsgroup. But... has anyone
actually tried to Include a schema with a blank tns within a schema
with a non-blank tns? As far as I can see, it just doesn't work!!
Biztalk Editor just doesn't want to know!

If anyone knows how to do this, and can offer step-by-step
instructions, I'd be really grateful.

Thanks!

Glynn





[ Post a follow-up to this message ]



    Re: BTS 2004: Target Namespaces of Referenced Schemas  
Tim Riley


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


 
07-28-04 07:55 AM

Hi Glynn,

Can you explain why you want to have a blank namespace in the first place.
I haven't done this, but I have had to create a copy of the SOAP envelope
schema so that I can add my own custom headers to it, so if you want to have
elements from one schema appear as if they are part of the first schema this
is one (clumsy?) way of doing it.

If you can provide any more info about what you are wanting to achieve in
broader terms I might be able to offer a better suggestion.

Tim

"Glynn Timmins" <glynnatimmins@hotmail.com> wrote in message
news:5228d043.0407270613.2c72f84e@posting.google.com...
> Looking at the BTS help topic "Schemas That Use Other Schemas", you'd
> be led to believe that schemas can be 'Included' within other schemas
> if the Included and Including schemas have the same target namespace,
> OR if the tns of the Included schema is blank.
>
> In fact, this help topic has been offered before as an answer to
> earlier questions posted within this newsgroup. But... has anyone
> actually tried to Include a schema with a blank tns within a schema
> with a non-blank tns? As far as I can see, it just doesn't work!!
> Biztalk Editor just doesn't want to know!
>
> If anyone knows how to do this, and can offer step-by-step
> instructions, I'd be really grateful.
>
> Thanks!
>
> Glynn







[ Post a follow-up to this message ]



    Re: BTS 2004: Target Namespaces of Referenced Schemas  
Glynn Timmins


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


 
07-28-04 11:09 PM

Hi Tim,

Thanks for your response. I have a whole library of xsd's (provided by
a third party standards committee) which all "include" a common xsd
(containing many global complex types). Biztalk likes all messages to
have their own unique Target Namespaces, which means all my schemas
need different tsn's. They'll be used for send/receive operations via
the SQL Adapter. Therefore my assumption was that my included.xsd
would have a blank tsn, with each including.xsd having it's own unique
tsn.

I must admit though, I'm a BizTalk rookie, so I'm open to better
suggestions!

Regards, Glynn





[ Post a follow-up to this message ]



    RE: BTS 2004: Target Namespaces of Referenced Schemas  
Tatyana Yakushev [MSFT]


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


 
07-28-04 11:09 PM

Documentation is correct.
You can include schema with empty target namespace to a schema with non-empt
y target namespace as long as there are no conflicts (for example there are 
no root
nodes with the same name, there are no 2 types with the same name etc). If t
here is a conflict, you get error message with details like "The global elem
ent
'http://BizTalk_Server_Project1.Schema7:Root1' has already been declared. An
 error occurred at file:///d:/BizTalk Server Project1/Schema7.xsd, (3, 4)."

I just created attached 2 schemas with BizTalk Schema Editor.

By the way, all XSD requirements are not specific to BizTalk, these are standard XSD re
quirements from W3C. You can always get more information at 
>From: glynnatimmins@hotmail.com (Glynn Timmins)
>Newsgroups: microsoft.public.biztalk.general
>Subject: BTS 2004: Target Namespaces of Referenced Schemas
>Date: 27 Jul 2004 07:13:23 -0700
>Organization: [url]http://groups.google.com" target="_blank">http://www.w3.org[/url
]
>Lines: 17 >Message-ID: <5228d043.0407270613.2c72f84e@posting.google.com> >NNTP-Posting-Host: 213.194.32.211 >Content-Type: text/plain; charset=ISO-8859-1 >Content-Transfer-Encoding: 8bit >X-Trace: posting.google.com 1090937604 21131 127.0.0.1 (27 Jul 2004 14:13:2 4 GMT) >X-Complaints-To: groups-abuse@google.com >NNTP-Posting-Date: Tue, 27 Jul 2004 14:13:24 +0000 (UTC) >Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.su l.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net! postnews2.google.com!not-for-mail >Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:17891 >X-Tomcat-NG: microsoft.public.biztalk.general > >Looking at the BTS help topic "Schemas That Use Other Schemas", you'd >be led to believe that schemas can be 'Included' within other schemas >if the Included and Including schemas have the same target namespace, >OR if the tns of the Included schema is blank. > >In fact, this help topic has been offered before as an answer to >earlier questions posted within this newsgroup. But... has anyone >actually tried to Include a schema with a blank tns within a schema >with a non-blank tns? As far as I can see, it just doesn't work!! >Biztalk Editor just doesn't want to know! > >If anyone knows how to do this, and can offer step-by-step >instructions, I'd be really grateful. > >Thanks! > >Glynn > -- 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 mess age are best directed to the newsgroup/thread from which they originated.




[ Post a follow-up to this message ]



    Re: BTS 2004: Target Namespaces of Referenced Schemas  
Glynn Timmins


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


 
07-29-04 07:49 AM

Thanks Tatyana. Yes, you're right. I did creat an example myself. The
problem's more with the referenced elements within complex types
defined within the included schema. They don't resolve and therefore
don't get displayed within the schema tree. I included some repro
instructions in my other posting.





[ Post a follow-up to this message ]



    Re: BTS 2004: Target Namespaces of Referenced Schemas  
Tatyana Yakushev [MSFT]


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


 
07-29-04 10:51 PM

I already replied to your other post and told you that  there is a bug in Sy
stem.XML that will be fixed in next version of .net framework.
I also suggested possible workarounds.

If you have more questions, lets continue discussing in that thread.

Regards,
Tatyana
--------------------
>From: glynnatimmins@hotmail.com (Glynn Timmins)
>Newsgroups: microsoft.public.biztalk.general
>Subject: Re: BTS 2004: Target Namespaces of Referenced Schemas
>Date: 28 Jul 2004 23:47:20 -0700
>Organization: http://groups.google.com
>Lines: 5
>Message-ID: <5228d043.0407282247.640924b4@posting.google.com>
>References: <5228d043.0407270613.2c72f84e@posting.google.com> <JxwVtjNdEHA.
1828@cpmsftngxa10.phx.gbl>
>NNTP-Posting-Host: 213.194.32.211
>Content-Type: text/plain; charset=ISO-8859-1
>Content-Transfer-Encoding: 8bit
>X-Trace: posting.google.com 1091083641 9468 127.0.0.1 (29 Jul 2004 06:47:21
 GMT)
>X-Complaints-To: groups-abuse@google.com
>NNTP-Posting-Date: Thu, 29 Jul 2004 06:47:21 +0000 (UTC)
>Path: cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.su
l.t-online.de!t-online.de!fr.ip.ndsoftware.net!proxad.net!
postnews2.google.com!not-for-mail
>Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:18017
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>Thanks Tatyana. Yes, you're right. I did creat an example myself. The
>problem's more with the referenced elements within complex types
>defined within the included schema. They don't resolve and therefore
>don't get displayed within the schema tree. I included some repro
>instructions in my other posting.
>


--

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 mess
age are best directed to the newsgroup/thread from which they originated.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:17 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