juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt T Stam (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] Closed: (JUDDI-392) find_relatedBusinesses causes an invalid content SOAP fault
Date Wed, 05 May 2010 14:51:03 GMT

     [ https://issues.apache.org/jira/browse/JUDDI-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kurt T Stam closed JUDDI-392.
-----------------------------

    Fix Version/s: 3.0.2
       Resolution: Fixed

Adding the businessKey into the result.

> find_relatedBusinesses causes an invalid content SOAP fault
> -----------------------------------------------------------
>
>                 Key: JUDDI-392
>                 URL: https://issues.apache.org/jira/browse/JUDDI-392
>             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
>             Fix For: 3.0.2
>
>
> 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 '{"urn:uddi-org:api_v3":businessKey}'
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.


Mime
View raw message