Thursday, March 16, 2023

SOAP XML Automation Using Java without any 3rd Party Jars

 Example for SOAP API:


Base URL:https://www.dataaccess.com/webservicesserver/NumberConversion.wso

          Body:

<?xml version="1.0" encoding="utf-8"?>
            <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
              <soap:Body>
                <NumberToWords xmlns="http://www.dataaccess.com/webservicesserver/">
                  <ubiNum>500</ubiNum>
                </NumberToWords>
              </soap:Body>
            </soap:Envelope>


          Header:
Content-Type text/xml; charset=utf-8


Response:
<?xml version="1.0" encoding="utf-8"?>
            <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
            <soap:Body>
            <m:NumberToWordsResponse xmlns:m="http://www.dataaccess.com/webservicesserver/">
            <m:NumberToWordsResult>five hundred </m:NumberToWordsResult>
            </m:NumberToWordsResponse>
            </soap:Body>
            </soap:Envelope>

 We can test the SOAP Webservices using Postman manually. We can download Postman from the internet and can setup the webservices. If you want to setup the above API's in the postman for your learning perspective then open the below url and click on the Run in Postman button.









Friday, December 24, 2021

Python - Introduction

 Python is a simple programming language which can be used for almost anything.We ca use it for web page development and  also we can use it in machine learning also.We can develop anything with the use of Python.It is more readable than other languages.Its a high level interpreted language with easy syntaxes.

Thursday, October 17, 2019

How to Run the Process from the Control Room

We can use Control room for :
1. Queue Management
2. Session Management
3. Schedule Management

We can run the Process from the Control room by using the Session Management.

Before running it from the Control room we will have to publish the Process first as displaying in below screenshot.
Note: You can get the below window after double click on the Process Information of Main Page. Check the checkbox against the "Publish the Process to Control Room" option.

Green tick in the below screenshot indicates that process is published successfully.


Now Go to the Control room and Select the Session Management option. Then you can see your published process  under "Available Processes" tab (Refer below screenshot)


Now Drag the Process from "Available Processes" pane and drop it to the  Resources Pane. This will create a ‘Pending’ session under Environment pane



To run pending sessions, select all required sessions (using the control key to select more than one session) and click the Start Selection link, or right-click the selection and choose Start.




Method to Stop the Process from the Session pane of Control room:
Immediate Stop : To ''immediately'' stop a running session, or a set of sessions, select all desired sessions (using the control key to select more than one session) and click the Stop Selection link, or right-click the
selection and choose Immediate Stop.

Request Stop:To request a ''safe'' stop in a running session or set of sessions, select all desired sessions (using the control key to select more than one session), then right-click the selection and choose Request Stop. 

 A flag is set on the session that the running process can check using the IsStopRequested() environment function, allowing it to exit cleanly from its current operations.