get_assertionStatusReport causes an incomlete element SOAP fault
----------------------------------------------------------------
Key: JUDDI-391
URL: https://issues.apache.org/jira/browse/JUDDI-391
Project: jUDDI
Issue Type: Bug
Components: core
Affects Versions: 3.0.1
Environment: Tomcat 6.0.10, PostgreSQL 8.4
Reporter: Jason Brown
Assignee: Kurt T Stam
When attempting a get_assertionStatusReport call when publisherAssertions
exist, a SOAP fault indicating an incomplete element 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 get_assertionStatusReport is attempted (fails with SOAP fault
below):
<get_assertionStatusReport xmlns="urn:uddi-org:api_v3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
</get_assertionStatusReport>
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.b: The content of element 'assertionStatusItem' is not
complete. One of '{"urn:uddi-org:api_v3":keysOwned}' is expected.
</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.