BizTalk Server General - Validation error importing schemas across different projects

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > November 2004 > Validation error importing schemas across different projects





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 Validation error importing schemas across different projects
GONRC

2004-11-25, 1:32 am

Hi all.

We have developed a schema 1 in project 1.
In project 2 we have a schema 2 . In project 2 we have a reference to project 1 , and in schema 2 we added an import of the schema 1 using the Reference option of the schema browser.

There is a type in schema 2 with DataStructure Type of a complex type of the schema 1.
The schema compiles right, but when we try to validate an instance message of the schema 2 we get the next error : Type 'Int.Payments.BaseTypes:Ctp01' is not declared. An error occurred at file:///C:/BiztalkTestProjects/Correlation/Products/Payment_Incoming_Request.xsd, (26, 10).
Where the type 'Int.Payments.BaseTypes:Ctp01' is the one imported from schema 1.

This works fine if I put exactly the same schema 1 inside the project 2 and I change the import to the local file.

But this isn’t a solution for us , because the imported schemas will be used in several different projects.
Can this be done?

Thanks in advance.
Regards.
Bryan Brouckaert

2004-11-25, 5:49 pm

Hello,

Maybe a stupit question, but did you build project 1 before you validated
schema 2?

Hope this helps,
Bryan.


"GONRC" <GONRC.1g9qoy@mail.webservertalk.com> schreef in bericht
news:GONRC.1g9qoy@mail.webservertalk.com...

Hi all.

We have developed a schema 1 in project 1.
In project 2 we have a schema 2 . In project 2 we have a reference to
project 1 , and in schema 2 we added an import of the schema 1 using
the Reference option of the schema browser.

There is a type in schema 2 with DataStructure Type of a complex type
of the schema 1.
The schema compiles right, but when we try to validate an instance
message of the schema 2 we get the next error : Type
'Int.Payments.BaseTypes:Ctp01' is not declared. An error occurred at
file:///C:/BiztalkTestProjects/Correlation/Products/Payment_Incoming_Request.xsd,
(26, 10).
Where the type 'Int.Payments.BaseTypes:Ctp01' is the one imported from
schema 1.

This works fine if I put exactly the same schema 1 inside the project 2
and I change the import to the local file.

But this isn't a solution for us , because the imported schemas will be
used in several different projects.
Can this be done?

Thanks in advance.
Regards.



--
GONRC
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message535072.html


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com