Question

I get "Outbound data mapping failed " if I run SOAP service in the same instance again.I have to re login to run it again.

I have a SOAP service in the application.If I try to run a request from the service twice from the same instance i.e logged in once it says "Outbound data mapping failed " .But the request is same.If I relogin into the application again.I am able to run it.

Is it accepted feature of Pega that I can run SOAP service request only once per login?

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Correct Answer
March 30, 2016 - 2:46am

Can you change the processing mode to "stateless" and try the scenario?

Comments

Keep up to date on this post and subscribe to comments

March 17, 2016 - 7:12am

what is PRPC version you are using?

March 17, 2016 - 7:35am
Response to ARVINDMALAV

PRPC 6.2 SP2

March 17, 2016 - 7:45am
Response to AditiM23

Can you please share complete error trace when you see this issue?

March 17, 2016 - 7:58am
Response to ARVINDMALAV

Service Output.png

This is the Service Output

March 17, 2016 - 8:01am
Response to AditiM23

This is Service Trace.There is no error in the activities called just an error at tha last in the service.

Pega
March 17, 2016 - 8:16am
Response to AditiM23

Can you check response mapping steps are valid or not in Service-Activity and Service-SOAP rule?

March 17, 2016 - 10:58pm
Response to Gangababu

All the Steps are valid since it runs properly the very first time.

March 28, 2016 - 12:17am

Please help me with this, since it is causing extra delay in testing the service.

Pega
March 28, 2016 - 8:52am
Response to AditiM23

It looks like your Service-Activity is adding attachments as part of  response. I think that is causing the issue.

I could see file name and file type are ? in trace. Could you please cross verify your logic in Service-Activity and try the scenario.

March 29, 2016 - 1:04am
Response to Gangababu

Yes, it is correct that the service logic contains tags to fetch attachment details which later uploaded to a repository. Can this be the only possible cause?

Pega
March 29, 2016 - 4:30am
Response to AditiM23

I couldn't say this is the only reason. This could be the reason for getting outbound mapping failed.

March 29, 2016 - 5:02am
Response to Gangababu

So , changing the service activity logic is the only solution or there is some other way

Pega
March 29, 2016 - 5:10am
Response to AditiM23

I believe, changing the logic would do .

March 29, 2016 - 5:16am
Response to Gangababu

The file attachment logic is necessary part of the service. Can there be some other solution?

Pega
March 29, 2016 - 5:49am
Response to AditiM23

What happens if you run Service using tools like SOAP UI or tcpmon? Are you getting same error?

March 29, 2016 - 6:23am
Response to Gangababu

No. I can run the service as many as times from SOAP UI without any errors. The only issue is with Pega. If I login once and run the service twice the error comes for second request.

Pega
March 29, 2016 - 6:27am
Response to AditiM23

Is authentication enabled in Service Package data instance?

March 29, 2016 - 7:17am
Response to Gangababu

Yes it enabled.And the Processing Mode is "Stateful"

Pega
March 30, 2016 - 2:46am
Response to AditiM23

Can you change the processing mode to "stateless" and try the scenario?

March 30, 2016 - 5:23am
Response to Gangababu

Keeping the Processing mode to "Stateful" is the project requirement. Can there be some other solution?

April 21, 2016 - 6:44am
Response to Gangababu

It was due to the stateless mode only. If you have any solution please let me knoe.

January 4, 2017 - 5:57am

check this may be apt for your requirement

January 4, 2017 - 5:58am

check this may be apt for your requirement