1 Reply Latest reply on Jan 20, 2020 4:27 PM by PavaniNandigam-Oracle

    Invoking User_profile service operation on PeopleSoft

    873992

           Hi Experts,

      I am trying to invoke user profile webservice in peoplesoft 9.2 to change password of user. i get a successful message after invocation however when i login as user the user it doesnt login.  Here is the SOAP envelope i am using.

       

       

       

      <?xml version="1.0"?>

      <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing/" xmlns:xsd="http://www.w3.org/2001/XMLSchema/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance/">

        <soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

          <wsse:Security soap:mustUnderstand="1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">

            <wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

              <wsse:Username>PS</wsse:Username>

              <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">PS</wsse:Password>

            </wsse:UsernameToken>

          </wsse:Security>

        </soapenv:Header>

        <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

          <USER_PROFILE xmlns="http://xmlns.oracle.com/Enterprise/Tools/schemas/USER_PROFILE.VERSION_XFR">

            <FieldTypes>

              <PSROLEXLATOPRVW class="R">

                <OPRID type="CHAR"/>

                <ROLEUSER type="CHAR"/>

                <DESCR type="CHAR"/>

                <EMAILID type="CHAR"/>

                <FORMID type="CHAR"/>

                <WORKLIST_USER_SW type="CHAR"/>

                <EMAIL_USER_SW type="CHAR"/>

                <FORMS_USER_SW type="CHAR"/>

                <EMPLID type="CHAR"/>

                <ROLEUSER_ALT type="CHAR"/>

                <ROLEUSER_SUPR type="CHAR"/>

                <EFFDT_FROM type="DATE"/>

                <EFFDT_TO type="DATE"/>

              </PSROLEXLATOPRVW>

              <PSOPRDEFN class="R">

                <OPRID type="CHAR"/>

                <USERIDALIAS type="CHAR"/>

                <VERSION type="NUMBER"/>

                <OPRDEFNDESC type="CHAR"/>

                <EMPLID type="CHAR"/>

                <EMAILID type="CHAR"/>

                <OPERPSWD type="CHAR"/>

                <PTOPERPSWDV2 type="CHAR"/>

                <OPERPSWDSALT type="CHAR"/>

                <ENCRYPTED type="NUMBER"/>

                <LANGUAGE_CD type="CHAR"/>

                <MULTILANG type="NUMBER"/>

                <CURRENCY_CD type="CHAR"/>

                <LASTPSWDCHANGE type="DATE"/>

                <ACCTLOCK type="NUMBER"/>

                <FAILEDLOGINS type="NUMBER"/>

                <EXPENT type="NUMBER"/>

                <OPRTYPE type="NUMBER"/>

                <LASTSIGNONDTTM type="DATETIME"/>

                <LASTUPDDTTM type="DATETIME"/>

                <LASTUPDOPRID type="CHAR"/>

                <PTALLOWSWITCHUSER type="NUMBER"/>

              </PSOPRDEFN>

              <PSOPRALIAS class="R">

                <OPRID type="CHAR"/>

                <OPRALIASTYPE type="CHAR"/>

                <OPRALIASVALUE type="CHAR"/>

                <SETID type="CHAR"/>

                <EMPLID type="CHAR"/>

                <CUST_ID type="CHAR"/>

                <VENDOR_ID type="CHAR"/>

                <APPLID type="CHAR"/>

                <CONTACT_ID type="CHAR"/>

                <PERSON_ID type="CHAR"/>

                <EXT_ORG_ID type="CHAR"/>

                <BIDDER_ID type="CHAR"/>

                <EOTP_PARTNERID type="NUMBER"/>

              </PSOPRALIAS>

              <PSROLEUSER_VW class="R">

                <OPRID type="CHAR"/>

                <ROLENAME type="CHAR"/>

                <DYNAMIC_SW type="CHAR"/>

              </PSROLEUSER_VW>

              <PSUSEREMAIL class="R">

                <OPRID type="CHAR"/>

                <EMAILTYPE type="CHAR"/>

                <EMAILID type="CHAR"/>

                <PRIMARY_EMAIL type="CHAR"/>

              </PSUSEREMAIL>

              <DERIVED_PSWD class="R">

                <WRKPASSWORD type="CHAR"/>

                <OPERPSWDSALT type="CHAR"/>

              </DERIVED_PSWD>

              <RTE_CNTL_USERVW class="R">

                <OPRID type="CHAR"/>

                <ROLENAME type="CHAR"/>

                <RTE_CNTL_PROFILE type="CHAR"/>

              </RTE_CNTL_USERVW>

              <PSCAMA class="R">

                <LANGUAGE_CD type="CHAR"/>

                <AUDIT_ACTN type="CHAR"/>

                <BASE_LANGUAGE_CD type="CHAR"/>

                <MSG_SEQ_FLG type="CHAR"/>

                <PROCESS_INSTANCE type="NUMBER"/>

                <PUBLISH_RULE_ID type="CHAR"/>

                <MSGNODENAME type="CHAR"/>

              </PSCAMA>

            </FieldTypes>

            <MsgData>

              <Transaction>

                <PSOPRDEFN class="R">

                  <OPRID IsChanged="Y">testuser</OPRID>

                  <USERIDALIAS/>

                  <VERSION/>

                  <OPRDEFNDESC/>

                  <EMPLID/>

                  <EMAILID/>

                  <OPERPSWD/>

                  <PTOPERPSWDV2 IsChanged="Y">Worker1Pass</PTOPERPSWDV2>

                  <OPERPSWDSALT/>

                  <ENCRYPTED IsChanged="Y">0</ENCRYPTED>

                  <LANGUAGE_CD/>

                  <MULTILANG/>

                  <CURRENCY_CD/>

                  <LASTPSWDCHANGE/>

                  <ACCTLOCK/>

                  <FAILEDLOGINS/>

                  <EXPENT/>

                  <OPRTYPE/>

                  <LASTSIGNONDTTM/>

                  <LASTUPDDTTM/>

                  <LASTUPDOPRID/>

                  <PTALLOWSWITCHUSER/>

                  <DERIVED_PSWD class="R">

                    <WRKPASSWORD IsChanged="Y">Worker1Pass</WRKPASSWORD>

                    <OPERPSWDSALT/>

                  </DERIVED_PSWD>

                  </PSOPRDEFN>

              </Transaction>

            </MsgData>

          </USER_PROFILE>

        </soapenv:Body>

      </soapenv:Envelope>

        • 1. Re: Invoking User_profile service operation on PeopleSoft
          PavaniNandigam-Oracle

          Hi 873992,

           

          I Would recommend you to raise an SR with Oracle Support along with the below information:

          1. Exact PeopleTools Version (ex. 8.55.??)

          To find your exact PeopleTools version please refer to the following KM:

          E-PT: How to Determine your Exact PeopleTools Release Maintenance Level (Doc ID 2117209.1)

          2. Application and version (ex. HRMS 9.2)

          3. Does the issue happen for all user? Even administrative users like PS?

          4. Is this a new implementation or an existing implementation?

          5. What environment is this issue occurring in? DEV, UAT, PRD, etc.

          6. Are you seeing the same behavior in your DEMO environment?

           

          Regards,

          Pavani