Hi Prasa;
I was able to create a simple example of a Pipeline based web service over the weekend. The PL WS basically copies the Contract table in the PB2017R2 demo database to a new table called Contract2. I used the sample OrderEntry integrated framework example application to build this code. You can download the PL Example App from here ( OrderEntry_Pipeline.zip ).
Once downloaded, If you open the Web Service Target and look at the nc_login_controller object class and in particular the "of_run_pipeline" function - you will see the main PL code. The project object in the same library can deploy the WS to IIS. Once deployed, you can use the RHMB on the project and either run the WS via the .NET Test Harness or use the .Net debugger for more insight into the WS's operation. The WS produces a log file in the WS's "Session" folder for you to look at in more detail.
In the main native Win32 target, within the "OES_Main.pbl" PBL - I built a Web Service DataWindow named "dw_pipeline_ws". If you open the DWO in the DW Painter and perform a Retrieve, the WS DW will call the deployed web service and run the respective PL to create the Contact2 table. Note that WS based DW's are automatically usable in either PowerServer Web or Mobile apps "as is" (no special code required).
Tip: If you edit the DWO's source code, you will see the WSDL.
I will continue to build upon this PL example into the full OrderEntry App for the next release of the frameworks and their respective sample OrderEntry application. However I hope in the meantime, that this starter WS/PL and PowerScript example code will help you in your project to get underway.
Regards ... Chris