5 Replies Latest reply: Jan 6, 2013 2:48 AM by HakanBiroglu RSS

    component Interface + WSDL

    857877
      I am looking for a documents which will help in below questions



      -How to activate Component Interface in vanila instance of peoplesoft.

      - what are the mininmum security roles required order to activate CI.

      - How to test that the CI is working fine.


      Thanks in Advance
        • 1. Re: component Interface + WSDL
          HakanBiroglu
          A pretty old but, still valid demo site:
          http://download.oracle.com/peopletools/

          Especially have a look at the BPEL demo, where a CI Based webservices is provided and the WSDL is used in BPEL to retrieve data from PeopleSoft
          http://download.oracle.com/peopletools/html/bpeldemo_viewlet_swf.html

          And off course PeopleBook has a detailed step by step description on how to create a CI Based Service
          PeopleBooks > PeopleTools 8.52: PeopleSoft Integration Broker > Creating Component Interface-Based Services

          I usually test webservices using freeware tool soapUI.
          But you can also test using the Integration Broker Testing Utilities and Tools
          See PeopleBooks > PeopleTools 8.52: Integration Broker Testing Utilities and Tools
          Easiest way to test is using the Service Operation Tester
          PeopleBooks > PeopleTools 8.52: Integration Broker Testing Utilities and Tools > Using the Service Operation Tester Utility

          Hakan
          • 2. Re: component Interface + WSDL
            857877
            Thanks a lot Hakan,

            Just a small left over question.....

            By follow below link, can i take use of Purchase Orders and Vouchers through WEB SERVICES and place order through MOBIL or cell phone.

            http://bloggingaboutoracleapplications.org/peoplesoft-91-mobile-inventory-deploying-mobile-inventory-application/



            thanks in Advance
            • 3. Re: component Interface + WSDL
              HakanBiroglu
              Theoretically you can create Component Interfaces for any Component and therefor you can also create CI based web services for any component.

              However ...

              Not every component is fit to be used as component interface.
              PO & Vouchers are large components with a lot of entry fields and consist of several pages, which would make the web service request huge and complex.
              And I am only talking about entry, not talking about the approval of submitting/matching.
              Also be aware of that PeopleCode sometimes contains following code

              If %CompIntfcName = "" then
              /* Processing */
              End-If;

              All PeopleCode within this if statement will not execute when called from a Component Interface, usually think time functions.
              Meaning PeopleCode can execute differently when called from a Component Interface.

              If you want to create mobile pages, you should have as less as possible data entry fields, especially if you also want to enable it on cell phones.
              For example, try entering a PO/Voucher from your tabled and notice the difference/discomfort compared to a PC.

              That is why PeopleSoft has developed Mobile Expenses and Approvals, with minimum data entry, using iScripts that can call Component Interfaces for data entry and jQuery for styling it for Mobile.
              Of course you could also create mobile solutions for PeopleSoft with Oracle ADF (Mobile), as you mentioned for Mobile Inventory.

              See following for Mobile Expenses and Approvals
              https://blogs.oracle.com/peoplesoft/entry/peoplesoft_mobile_expenses_and_mobile
              http://bloggingaboutoracleapplications.org/peoplesoft-mobile-applications/

              To summarize:
              Do not use Component Interfaces as web services for large components.
              If you still want to create web services for large component, test, test & test again.

              Hakan
              • 4. Re: component Interface + WSDL
                857877
                Thanks hakan, All my queries has been resolved.....if i need further help , i will hit this thread again

                Edited by: 854874 on Jan 6, 2013 12:52 AM
                • 5. Re: component Interface + WSDL
                  HakanBiroglu
                  You're welcome ;)