简体   繁体   中英

BizTalk Schema development Could not find schema information for the element

Please find the below sample XML format, for which I'm trying to build a schema's on BizTalk Solution.

I was receiving the warning messages as

warning BEC2004: Could not find schema information for the element 'ORX'.
warning BEC2004: Could not find schema information for the element 'NONSIGNONMSGSRQV1'.
warning BEC2004: Could not find schema information for the element 'NONSONRQ'.
warning BEC2004: Could not find schema information for the element 'CLIENT'.
warning BEC2004: Could not find schema information for the element 'ID'.
warning BEC2004: Could not find schema information for the element 'USERPASS'.
etc..
.....
.....

<?xml version="1.0" encoding="UTF-8"?>
<?ORX ORXHEADER="200" VERSION="201" SECURITY="NONE" OLDFILEUID="NONE" NEWFILEUID="NONE" ?>
<ORX>
  <NONSIGNONMSGSRQV1>
    <NONSONRQ>
      <CLIENT>123456765</CLIENT>
      <ID>arout_int</ID>
      <USERPASS>IM_Developer</USERPASS>
      <LANGUAGE>ENG</LANGUAGE>
      <APPID>WASSUP</APPID>
      <APPOVER>1</APPOVER>
    </NONSONRQ>
  </NONSIGNONMSGSRQV1> 
  <NONVERMSGSRQV1>
    <NONEMPLOYERHISTTRNRQ>
      <COOKIE>1234576540</COOKIE>
      <COOKIETAN>12345612340</COOKIETAN> 
      <BILLINGO1>45674567890</BILLINGO1> 
      <BILLINGO2>1245673567890</BILLINGO2> 
      <PURPOSE>
        <CODE>PROGRAM</CODE>
      </PURPOSE> 
      <EMPLOYERHISTRQ>
        <EMPLOYEEID>123004567</EMPLOYEEID>
      </EMPLOYERHISTRQ>
  </NONEMPLOYERHISTTRNRQ>
  </NONVERMSGSRQV1>
</ORX>

After I did some Googling, I got some knowledge from the link Validating XML Instance having issues I tried to remove target name space of Schema properties, but BizTalk solutions is not allowing to remove the targetnamespace, which is already there for the schema.

Please could any one suggest me, how could I apply that settings to my XML schema development, as my XML document doesn't have targetnamespace?

I have solved this issue by reading BizTalk 2006 Recipes: A Problem-Solution Approach ,

Steps: Open the schema -> Goto Schema Node -> Schema node properties -> remove the namespace, then solved the problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM