Details
Description
When attempting a find_relatedBusinesses call when publisherAssertions exist, a SOAP fault indicating an Invalid Content is returned.
INPUTS:
The following businesses are saved:
<save_business xmlns="urn:uddi-org:api_v3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<businessEntity businessKey="uddi:assertiontest:01">
<name>uddi:assertiontest:01</name>
</businessEntity>
</save_business>
<save_business xmlns="urn:uddi-org:api_v3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<businessEntity businessKey="uddi:assertiontest:02">
<name>uddi:assertiontest:02</name>
</businessEntity>
</save_business>
The following add_publisherAssertions is performed:
<add_publisherAssertions xmlns="urn:uddi-org:api_v3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<publisherAssertion>
<fromKey>uddi:assertiontest:01</fromKey>
<toKey>uddi:assertiontest:02</toKey>
<keyedReference tModelKey="uddi:uddi.org:relationships" keyName="Assertion Test" keyValue="parent-child"/>
</publisherAssertion>
</add_publisherAssertions>
The following find_relatedBusinesses is attempted (fails with SOAP fault below):
<find_relatedBusinesses xmlns="urn:uddi-org:api_v3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<businessKey>uddi:assertiontest:01</businessKey>
</find_relatedBusinesses>
The following SOAP fault is returned:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Marshalling Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'relatedBusinessInfos'. One of '
' is expected.
</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>