Note that there are some explanatory texts on larger screens.

plurals
  1. POManually editing BizTalk wcf-adapter schema
    primarykey
    data
    text
    <p>I am new to generating schemas in the way I am doing it now (Manually) and sort of need some help here please. I have a schema, as below, that I am not sure is even correct. What I want is a Customer record that can contain more than one Address record. What I have below does not seem correct, or is it? I am referring in particular to where I have the MAXOCCURS=UNBOUNDED applied. How do you think I ought to do this instead? Thanks in advance</p> <p>**</p> <pre><code>&lt;xs:element name="Customer"&gt; &lt;xs:complexType&gt; &lt;xs:sequence&gt; &lt;xs:element name="CustomerCode" type="xs:string" /&gt; &lt;xs:element name="Name" type="xs:string" /&gt; &lt;xs:element name="Active" type="xs:int" /&gt; &lt;xs:element name="SubNumber" type="xs:string" /&gt; &lt;xs:element name="CustomerAccountNumber" type="xs:string" /&gt; &lt;xs:element name="AccountBranchCode" type="xs:string" /&gt; &lt;xs:element name="BranchLocationCode" type="xs:string" /&gt; &lt;xs:element name="Attention" type="xs:string" /&gt; &lt;xs:element maxOccurs="unbounded" name="Addresses"&gt; &lt;xs:complexType&gt; &lt;xs:sequence&gt; &lt;xs:element name="Street1" type="xs:string" /&gt; &lt;xs:element name="Street2" type="xs:string" /&gt; &lt;xs:element name="City" type="xs:string" /&gt; &lt;xs:element name="State" type="xs:string" /&gt; &lt;xs:element name="Zip" type="xs:string" /&gt; &lt;xs:element name="Country" type="xs:string" /&gt; &lt;xs:element name="Description" type="xs:string" /&gt; &lt;/xs:sequence&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; &lt;xs:element maxOccurs="unbounded" name="PhoneNumbers"&gt; &lt;xs:complexType&gt; &lt;xs:sequence&gt; &lt;xs:element name="PhoneNumber" type="xs:string" /&gt; &lt;xs:element name="PhoneType" type="xs:string" /&gt; &lt;/xs:sequence&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; &lt;/xs:sequence&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; </code></pre> <p>**</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload