Primavera (MOSC)

MOSC Banner

P6 Web Services. How to use WSS-Security in WSDL.

edited Oct 14, 2018 3:51PM in Primavera (MOSC) 3 commentsAnswered
Hello, help me, please.
P6 Web Services use WSS-Security (http://docs.oasis-open.org/wss/v1.1/wss-v1.1-spec-os-UsernameTokenProfile.pdf).
On the Internet there are many examples of how to send a SOAP-Message.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://xmlns.oracle.com/Primavera/P6/WS/ActivityCodeType/V1">
   <soapenv:Header>


<wsse:Security  xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken>
<wsse:Username>USERNAME</wsse:Username>
<wsse:Password>PASSWORD</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>

   <soapenv:Body>
      <v1:ReadActivityCodeTypes>
         <!--1 or more repetitions:-->
         <v1:Field>ObjectId</v1:Field>
      </v1:ReadActivityCodeTypes>

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center