[prev in list] [next in list] [prev in thread] [next in thread]
List: scout-dev
Subject: [jira] Closed: (JUDDI-414) When performing a find_relatedBusinesses
From: "Kurt T Stam (JIRA)" <juddi-dev () ws ! apache ! org>
Date: 2010-11-16 19:30:16
Message-ID: 21434071.122851289935816870.JavaMail.jira () thor
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/JUDDI-414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Kurt T Stam closed JUDDI-414.
-----------------------------
Resolution: Fixed
Fixed, now setting the outgoing businessKey to either the incoming businessKey, toKey \
or from fromKey.
> When performing a find_relatedBusinesses query using a <fromKey> or <toKey> a SOAP \
> fault is returned with a validation exception.
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: JUDDI-414
> URL: https://issues.apache.org/jira/browse/JUDDI-414
> Project: jUDDI
> Issue Type: Bug
> Components: core
> Affects Versions: 3.0.3
> Environment: Apache Tomcat 6.0.29, PostgreSQL 8.4
> Reporter: Jason Brown
> Assignee: Kurt T Stam
> Fix For: 3.0.5
>
>
> When performing a find_relatedBusinesses query using a <fromKey> or <toKey> a SOAP \
> fault is returned with a validation exception. The message is missing the \
> businessKey element which appears below the listDescription. INPUTS:
> save the following businesses:
> <businessEntity businessKey="uddi:businesstest:01">
> <name>businesstest:01</name>
> </businessEntity>
> <businessEntity businessKey="uddi:businesstest:02">
> <name>businesstest:02</name>
> </businessEntity>
> save the following publisherAssertion:
> <add_publisherAssertions xmlns="urn:uddi-org:api_v3">
> <publisherAssertion>
> <fromKey>uddi:businesstest:01</fromKey>
> <toKey>uddi:businesstest:02</toKey>
> <keyedReference tModelKey="uddi:uddi.org:relationships" \
> keyName="assertionTesting01" keyValue="parent-child"/> </publisherAssertion>
> </add_publisherAssertions>
> perform the following queries
> <find_relatedBusinesses xmlns="urn:uddi-org:api_v3">
> <fromKey>uddi:businesstest:01</fromKey>
> </find_relatedBusinesses>
> <find_relatedBusinesses xmlns="urn:uddi-org:api_v3">
> <toKey>uddi:businesstest:02</toKey>
> </find_relatedBusinesses>
> When performing either of these queries a 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>
> The following message is an example of what is returned, the schema expects a \
> businessKey where the comments currently are, but there is not one there: <?xml \
> version="1.0" encoding="UTF-8" standalone="yes"?> <relatedBusinessesList \
> xmlns="urn:uddi-org:api_v3" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"> \
> <listDescription> <includeCount>1</includeCount>
> <actualCount>1</actualCount>
> <listHead>1</listHead>
> </listDescription>
> <!-- businessKey>uddi:business:key:goes:here</businessKey-->
> <relatedBusinessInfos>
> <relatedBusinessInfo>
> <businessKey>uddi:businesstest:02</businessKey>
> <name>uddi:businesstest:02</name>
> <sharedRelationships direction="toKey">
> <keyedReference keyValue="parent-child" keyName="assertionTesting_02"
> tModelKey="uddi:uddi.org:relationships"/>
> </sharedRelationships>
> </relatedBusinessInfo>
> </relatedBusinessInfos>
> </relatedBusinessesList>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic