juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vytenis Bivainis (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] Created: (JUDDI-441) Wrong element in response to find_relatedBusinesses
Date Mon, 13 Dec 2010 21:42:01 GMT
Wrong element in response to find_relatedBusinesses
---------------------------------------------------

                 Key: JUDDI-441
                 URL: https://issues.apache.org/jira/browse/JUDDI-441
             Project: jUDDI
          Issue Type: Bug
    Affects Versions: 2.0.1
            Reporter: Vytenis Bivainis
            Assignee: Kurt T Stam


<find_relatedBusinesses> returns <relatedBusinessList> instead of <relatedBusinessesList>,
which violates http://www.uddi.org/schema/uddi_v2.xsd.

Sample request:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
        <ns2:find_relatedBusinesses generic="2.0" xmlns:ns2="urn:uddi-org:api_v2">
            <ns2:businessKey>C5042D40-06FE-11E0-A66A-89A86045A274</ns2:businessKey>
        </ns2:find_relatedBusinesses>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Sample response:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body xmlns="urn:uddi-org:api_v2">
        <relatedBusinessList generic="2.0" operator="jUDDI.org">
            <businessKey>C5042D40-06FE-11E0-A66A-89A86045A274</businessKey>
            <relatedBusinessInfos>
                <relatedBusinessInfo>
                    <businessKey>C5090F40-06FE-11E0-A66A-ACC21B03382F</businessKey>
                    <name xml:lang="lt-LT">v-1292275209109-b</name>
                    <sharedRelationships>
                        <keyedReference keyName="peer-peer"
                            keyValue="peer-peer" tModelKey="uuid:807a2c6a-ee22-470d-adc7-e0424a337c03"/>
                    </sharedRelationships>
                </relatedBusinessInfo>
            </relatedBusinessInfos>
        </relatedBusinessList>
    </soapenv:Body>
</soapenv: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