Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-517

DeploymentService Response and WSDL are invalid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.2
    • 1.3.2
    • Deployment
    • None

    Description

      http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.X at revision 744870.

      Related bugs:
      https://issues.apache.org/jira/browse/ODE-348
      https://issues.apache.org/jira/browse/ODE-399

      Use SOAPUI to invoke webmethod listDeployedPackages on the ode/processes/DeploymentService.
      An invalid response is received. Also the WSDL is incorrect because the schema type 'packageNames' declares one element 'name'; missing attribute maxOccurrs="unbounded"

      Soap Request:

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pmap="http://www.apache.org/ode/pmapi">
      <soapenv:Header/>
      <soapenv:Body>
      <pmap:listDeployedPackages/>
      </soapenv:Body>
      </soapenv:Envelope>

      Invalid Soap Response received:

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Body>
      <deployedPackages>
      <name>BPEL1</name>
      </deployedPackages>
      </soapenv:Body>
      </soapenv:Envelope>

      Missing element 'listDeployedPackagesResponse' before 'deployedPackages'
      Missing namespace declaration on element 'name'.

      Should be:

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Body>
      <pmapi:listDeployedPackagesResponse xmlns:pmapi="http://www.apache.org/ode/pmapi">
      <deployedPackages>
      <axis2ns2:name xmlns:axis2ns2="http://www.apache.org/ode/deployapi">BPEL1</axis2ns2:name>
      </deployedPackages>
      </pmapi:listDeployedPackagesResponse>
      </soapenv:Body>
      </soapenv:Envelope>

      Attachments

        1. wsdl-listDeployedPackages.patch
          2 kB
          Colin
        2. wsdl.patch
          4 kB
          Colin

        Activity

          People

            alexismidon Alexis Midon
            devcol Colin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: