DeploymentService Response and WSDL are invalid
-----------------------------------------------

                 Key: ODE-517
                 URL: https://issues.apache.org/jira/browse/ODE-517
             Project: ODE
          Issue Type: Bug
          Components: Deployment
    Affects Versions: 1.3
            Reporter: Colin
             Fix For: 1.3


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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to