Project and Portfolio Management Practitioners Forum
Showing results for 
Search instead for 
Did you mean: 

Testing HP Demand Management Web Services

Go to solution
Acclaimed Contributor

Testing HP Demand Management Web Services

Hi all,


i'm writing this post because i'm new with HP PPM WebServices. I want to test the WS on Demand management and i'm using soapUI tool. But i have some issues on testing... The expected results are not show.


I hope someone cann give me some tips ;-)



1. First of all, i started soapUI and i create a new Project. I enter "Project Name" and in the field "Initial WSDL/WADL" i entered <Host>:<Port>/itg/ppmservices/DemandService?wsdl (i'm using the "Web Services Guide" of HP PPM v9.20 as reference)


2. The Project is created and i see my project on the left side of soapUI with all the possible Requests that a can test:










3. Now i try to test a simple funktion: "getRequests". I dobleClick on the function and the tool open a new window with the URL where the XML function will be sent (POST). The URL is <Host>:<Port>/itg/ppmservices/DemandService

On the right-side i see the XML for the "getRequests":


<soapenv:Envelope xmlns:soapenv="" xmlns:ns="" xmlns:ns1="">
         <!--1 or more repetitions:-->

I set the requestID 30164 (the requestID exist on PPM...)


I set the Headers parameter:

Content-Type: appplication/xml

Authorization: Basic ......


Now i'm ready for the test, i send the request but i receive this answare:


<soapenv:Envelope xmlns:wsa="" xmlns:soapenv="">
            <soapenv:Text xml:lang="en-US">com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
 at [row,col {unknown-source}]: [1,0]</soapenv:Text>


I've tried other URL or Client settings and i've checked the configuration on PPM (WS are active)


Do i something wrong in what i've described?

Or should i test on a different way?

How should i debug?

What is the standard way to use these WS?



I've tried with the REST WS, in my browser, for example :

<Host>:<Port>/itg/rest/dm/requests/30163 or



and it work, the Browser show the corresponding XML data.



Someone had some tips/inputs?






Acclaimed Contributor

Re: Testing HP Demand Management Web Services






i think the Problem was the Header "Content-Type: appplication/xml".


When i use just the basis Authentication (or just User/Password) and i give an ID in the XML (like in my preview post) i receive the espected answare.







Occasional Contributor

Re: Testing HP Demand Management Web Services

Hi Diego,



I was testing the createRequest through SOAPUI but its giving error:

Missing required data&colon; Expected "{}fieldChangeNotes" end tag, found "{}newValue" start tag (line -1, col -1, in SOAP-message).</exception:detail>


I have checked the code and end tag does exists. Not sure what is the issue.


Please help me on the same and provide me the code if you have tried it.


Thanks & Regards,



//Add this to "OnDomLoad" event