Uploaded image for project: 'jUDDI (Retired)'
  1. jUDDI (Retired)
  2. JUDDI-392

find_relatedBusinesses causes an invalid content SOAP fault

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 3.0.2
    • core
    • None
    • Tomcat 6.0.10, PostgreSQL 8.4

    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 '

      {"urn:uddi-org:api_v3":businessKey}

      ' is expected.
      </faultstring>
      </soap:Fault>
      </soap:Body>
      </soap:Envelope>

      Attachments

        Activity

          People

            kstam Kurt Stam
            jbrown Jennifer Brown
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: