Question
Last activity: 16 Aug 2017 17:22 EDT
DATA PAGE- SOAP Integration
Hi,
I am fairly new to PEGA and would appreciate some guidance on this regard. I apologise if my questions do not make sense.
SCENARIO
I have a data page which is currently pointing to my DATA class. I have a connect SOAP rule which is created by the wizard which lies in X-X-Work-X-Int class. I need to do a connect from this data page using this coonect SOAP as a data source. I created my request data transform in the same class as the connect SOAP class. However, I need to create my response in the DATA class.
PROBLEM:
Cannot map the response received from the SOAP service using the response data transform since the context is not correct
CAUSE:
The base class rule activity pxcallConnector(step 1 Java) creates a new page pyDataSource {resultPageName = "pyDataSource" + System.currentTimeMillis}. For the request since the class is the same, I am in the same context and the request parameters are passed on to this pyDataSource123131231 page. However, now the SOAP response is on this arbitary page, but I am not able to reference this page on my response data transform since the context has changed. What should i do to reference this page without modifying the out of box rules. I tried a private edit of the activity rule and removed the time portion, so the page created was pyDataSource and it worked fine.