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

PPM web service authentication issue

Highlighted
mz_zhou
Acclaimed Contributor

PPM web service authentication issue

error received, any idea what might be wrong/missing?

 

<soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

   <soapenv:Header>

      <wsa:ReplyTo>

         <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address>

      </wsa:ReplyTo>

      <wsa:MessageID>urn:uuid:1A39E08ECB8A80D1BD1361021600809</wsa:MessageID>

      <wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action>

   </soapenv:Header>

   <soapenv:Body>

      <soapenv:Fault>

         <faultcode>soapenv:Client</faultcode>

         <faultstring>WSDoAllReceiver: Incoming message does not contain required Security header</faultstring>

         <detail/>

      </soapenv:Fault>

   </soapenv:Body>

</soapenv:Envelope>

 

 

This is the request that was sent:

 

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://mercury.com/ppm/pm/service/1.0" xmlns:ns1="http://mercury.com/ppm/pm/1.0">

<soap:Header>

<wsse:Security xmlns:wsse="http://docs.oasis-open.org/

wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"

soap:mustUnderstand="1">

<wsse:UsernameToken

xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/

oasis-200401-wss-wssecurity-utility-1.0.xsd"

wsu:Id="UsernameToken-25699763">

<wsse:Username>admin</wsse:Username>

<wsse:Password

Type="http://docs.oasis-open.org/wss/2004/01/

oasis-200401-wss-username-token-profile-

1.0#PasswordText">admin</wsse:Password>

</wsse:UsernameToken>

</wsse:Security>

</soap:Header>

   <soap:Body>

      <ns:getProjectDetails>

         <ns:projectInput>

            <!--You have a CHOICE of the next 3 items at this level-->

            <!--Optional:-->

            <ns1:projectName>SP-Ratings Services-CG-Arrow Global for Financial Services</ns1:projectName>

            <!--Optional:-->

            <ns1:projectId>?</ns1:projectId>

            <!--Optional:-->

            <ns1:requestId>?</ns1:requestId>

         </ns:projectInput>

      </ns:getProjectDetails>

   </soap:Body>

</soap:Envelope>

1 REPLY
RikardSeger
Occasional Contributor

Re: PPM web service authentication issue

Hi, I think that PPM requires encryption of security headers by default. A good start is to check how the server is configured. Have you checked the "Web Service Security" chapter in the "Web Service Programmers Guide"?

 

Regards Rikard

//Add this to "OnDomLoad" event