1 Reply Latest reply on Dec 8, 2017 4:04 PM by 3468663

    How to retrieve OrganizationParty filtering by PartyName using the findOrganization

    3468663

      I use this xml in order to create the search:

       

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule/types/" xmlns:typ1="http://xmlns.oracle.com/adf/svc/types/">

         <soapenv:Header/>

         <soapenv:Body>

            <typ:findOrganization>

               <typ:findCriteria>

                  <typ1:fetchStart>0</typ1:fetchStart>

                  <typ1:fetchSize>-1</typ1:fetchSize>

                  <!--Optional:-->

                  <typ1:filter>

                     <!--Optional:-->

                     <typ1:conjunction>And</typ1:conjunction>

                     <!--1 or more repetitions:-->

                     <typ1:group>

                        <!--Optional:-->

                        <typ1:conjunction>And</typ1:conjunction>

                        <typ1:upperCaseCompare>false</typ1:upperCaseCompare>

                        <!--1 or more repetitions:-->

                        <typ1:item>

                           <!--Optional:-->

                           <typ1:conjunction>And</typ1:conjunction>

                           <typ1:upperCaseCompare>false</typ1:upperCaseCompare>

                           <typ1:attribute>PartyName</typ1:attribute>

                           <typ1:operator>=</typ1:operator>

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

                           <!--Zero or more repetitions:-->

                           <typ1:value>CLAUDIA  VIOLETA ABULARACH LOMAS</typ1:value>

                        </typ1:item>

                     </typ1:group>

                  </typ1:filter>

               </typ:findCriteria>

               <typ:findControl>

                  <typ1:retrieveAllTranslations>false</typ1:retrieveAllTranslations>

               </typ:findControl>

            </typ:findOrganization>

         </soapenv:Body>

      </soapenv:Envelope>

       

      The response is:

       

      <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:typ="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule/types/">

         <env:Header>

            <wsa:Action>http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule//OrganizationService/findOrganizationResponse</wsa:Action>

            <wsa:MessageID>urn:uuid:77bdd973-061c-4317-8ae2-e949a7ac65d9</wsa:MessageID>

         </env:Header>

         <env:Body>

            <ns0:findOrganizationResponse xmlns:ns0="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule/types/">

               <ns3:result xsi:type="ns2:OrganizationPartyResult" xmlns:ns2="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/" xmlns:ns1="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/" xmlns:ns3="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule/types/" xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/" xmlns:ns5="http://xmlns.oracle.com/apps/cdm/foundation/parties/contactPointService/" xmlns:ns8="http://xmlns.oracle.com/apps/cdm/foundation/parties/relationshipService/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>

            </ns0:findOrganizationResponse>

         </env:Body>

      </env:Envelope>

       

      What is wrong?

       

      Thanks

      Regards

        • 1. Re: How to retrieve OrganizationParty filtering by PartyName using the findOrganization
          3468663

          The correct request is:

           

          <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule/types/" xmlns:typ1="http://xmlns.oracle.com/adf/svc/types/">

             <soapenv:Header/>

             <soapenv:Body>

                <typ:findOrganization>

                   <typ:findCriteria>

                      <typ1:fetchStart>0</typ1:fetchStart>

                      <typ1:fetchSize>-1</typ1:fetchSize>

                      <!--Optional:-->

                      <typ1:filter>

                         <!--Optional:-->

                         <typ1:conjunction></typ1:conjunction>

                         <!--1 or more repetitions:-->

                         <typ1:group>

                            <!--Optional:-->

                            <typ1:conjunction>And</typ1:conjunction>

                            <typ1:upperCaseCompare>false</typ1:upperCaseCompare>

                            <!--1 or more repetitions:-->

                            <typ1:item>

                               <!--Optional:-->

                               <typ1:conjunction>And</typ1:conjunction>

                               <typ1:upperCaseCompare>false</typ1:upperCaseCompare>

                               <typ1:attribute>PartyName</typ1:attribute>

                               <typ1:operator>=</typ1:operator>

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

                               <!--Zero or more repetitions:-->

                               <typ1:value>MARIA DEL CARMEN SORIA</typ1:value>

                            </typ1:item>

                         </typ1:group>

                      </typ1:filter>

                   </typ:findCriteria>

                   <typ:findControl>

                      <typ1:retrieveAllTranslations>false</typ1:retrieveAllTranslations>

                   </typ:findControl>

                </typ:findOrganization>

             </soapenv:Body>

          </soapenv:Envelope>

           

          Regards