Question

3
Replies
1122
Views
MOHANRAJS7274 Member since 2017 16 posts
WIPRO
Posted: 2 years ago
Last activity: 2 years 10 months ago
Closed
Solved

REST service to create new work

Hello

I have a case and it needs to be instantiated through a XML based REST service. As we dont have a wizard for service-REST, I have to create the rules manually. Is there any easy way to create XML stream and parse rules? Work class have many properties of page mode. I was trying to execute the service wizard for service-soap to generate the xml stream and parse rules but it dint generate the rules for any page property.

Also how should my request/response classes for this. In my workclass, i have lot of properties and many properties of page mode. Should I create separate service class, request class and response class for this?

For example: Org-Div-App-Work-ReturnAuthorization is my class name which has many props. Request should contain all these props and the response contains the caseID, status and errors if any. Are the below classes correct? Or should i do it differently?

Org-Div-App-Int-CreateReturnAuth (service class)

Org-Div-App-Int-CreateReturnAuthRequest

Org-Div-App-Int-CreateReturnAuthResponse

Can someone please guide on this?

***Edited by Moderator Marissa to update categories***

Data Integration
Moderation Team has archived post
Share this page LinkedIn