Big news! The community will be moving to a new platform April 21. Read more.
Big news! The community will be moving to a new platform April 21. Read more.
Ensign Ensign
Ensign
143 views

Error KNTA-11186 on getResourceParticipation Web Service call

When trying to call getResourceParticipation web service I'm getting the following error:

<soapenv:Fault>
  <faultcode>INTERNAL ERROR</faultcode>
  <faultstring>Internal error has occurred while calling PPM Web Service. Contact PPM Center support with the detailed information if the problem persists. (KNTA-11186) Details: Missing required data: Expected "{http://mercury.com/ppm/rm/service/1.0}resource" end tag, found "{http://mercury.com/ppm/rm/service/1.0}id" start tag (line -1, col -1, in SOAP-message).</faultstring>
  <detail>
    <exception:exceptionDetails xmlns:exception="http://www.mercury.com/ppm/ws/exception">
      <exception:detail>Missing required data: Expected "{http://mercury.com/ppm/rm/service/1.0}resource" end tag, found "{http://mercury.com/ppm/rm/service/1.0}id" start tag (line -1, col -1, in SOAP-message).</exception:detail>
    </exception:exceptionDetails>
  </detail>
</soapenv:Fault>

The request is:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rm="http://mercury.com/ppm/rm/service/1.0">
  <soapenv:Body>
    <rm:getResourceParticipation>
      <rm:resource> <rm:id>103784</rm:id> </rm:resource>     
    </rm:getResourceParticipation>
  </soapenv:Body>
</soapenv:Envelope>

Thank you in advance

0 Likes
2 Replies
Micro Focus Expert
Micro Focus Expert

Hi,

The error message says that it expected to find the closing tag of rm:resource, but found an opening tag for rm:id.

If you check in the XSD, here's how rm:ResourceReference (which is the type inside rm:getResourceParticipation) is defined:

Etienne_Canaud_0-1583115473333.png

As you can see, id and name are simple elements, they are not complex "rm:" types. 

Try changing your <rm:id> tag to just <id> and see if it works better.

0 Likes
Ensign Ensign
Ensign

Thank you for your response

Unfortunately this is not the problem. Removing the namespace (rm) in front of the id, the error changes to:

Internal error has occurred while calling PPM Web Service. Contact PPM Center support with the detailed information if the problem persists. (KNTA-11186) Details: Missing required data: Expected "{http://mercury.com/ppm/rm/service/1.0}resource" end tag, found "id" start tag.

 Regards

 
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.