« Return to Thread: Unable to locate a reference

Re: Unable to locate a reference

by lissette :: Rate this Message:

Reply to Author | View in Thread


hi,
Thanks very much.
I have one problem in the Schema:

<element name="ServiceBinding">
                <complexType>
                        <sequence>
                                <element ref="tns:Service"/>
                                <element ref="tns:Override" minOccurs="0" maxOccurs="unbounded"/>
                        </sequence>
                        <attribute name="channelId" type="IDREF" use="required"/>
                        <attribute name="packageId" type="IDREF" use="required"/>
                </complexType>
                <unique name="action.const">
                        <selector xpath=".//Override"/>
                        <field xpath="@action"/>
                </unique>
        </element>

And in the xml:

<tp:ServiceBinding tp:channelId="dcanal1" tp:packageId="paquete1">
  <tp:Service tp:type="uriReference">uri:example.com/services/sellerService</tp:Service>
  <tp:Override tp:action="orderConfirm" tp:channelId="dcanal2" tp:packageId="paquete1" xlink:href="http://ebxml.org/processes/buySell.xml#orderConfirm" xlink:type="simple" />
  </tp:ServiceBinding>

And I obtain this error:
element override is not allowed under element <tp:ServiceBinnding>
What is the problem, in Schema ServiceBinding have a element called override.
Thanks very much

 « Return to Thread: Unable to locate a reference