Requirement:
Build a SOAP service for VIN validation.
1. Request VIN(Input)
2. Respond should be given in VIN, Company, Make year, model
3. Repository of VIN information is stored in a table.
Create a Table VINDetails from Data explorer with VIN , Company , Make Year and Model
Click on Submit.
Create all necessary fields as below
Click on Source tab and Make VIN as class key.
Click on Submit.
Now Go to Records and add data.
Now Create a Class under Unit class group.
Click on Create and Open.
Inherit Current class from OOTB Int- class.
Click on Save.
Now click on Save.
Now Create
Class under Int class which is created above.
Click on Create and Open button.
Similarly, Create VINResponse class.
Click on Create and Open.
Now Create a VINRequest page in VINRequest class.
Click on Save.
Now Create a VINReponse page under VINResponse class
Now Create VINService as abstract class to create all necessary service rules.
Click on Save.
Create a VINResponsePage in VINService class which points to VINRequest class
Click on Save.
Similarly ..Create aVINResponsePage in VINService class which points to VINRequest class
Now Create ParseXML rule in VINService Class.
Enter valid Label and Root Element.
Click on ‘Create and Open’
Now Add Element under VINRequestPage by clicking on ‘Add Element’ button.
Now Configure the element.
Click on ok and Save the rule.
Save.
Now Create XML Stream rule.
Add 2 elements and configure the second element.
Configure the third element.
Doble click on third element and configure
Similarly add elements for Company, Model and Make Year.
Enter NameSpace details in the Root element.
Click on Node and EnterName space.
Click on OK
And save the rule.
Now Create Service Package , Service SOAP and Create an Activity to fetch VIN details.
Click on Create and Open button.
Click on Save.
Click on ‘Create and Open’ button.
Now click on Request tab.
Click on Save.
Go to Service package.
Click o Refresh Method.
After refresh Deployment links are populated.
SOAP Service configuration is successful.
Create a Connect SOAP and utilize the above service which is created.
Configure the details as per above screenshot.
Click on Next.
Click on Next.
Click on Next.
Click on Finish.
Verify all the classes which are created.
Connector SOAP is created successfully.