Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

CustomerOfferHistory Service failure - No Application name

SA-17019

Summary



The CustomerOfferHistory SOAP service fails when invoked because it is trying to access a Top Level page called Application which does not exists in a service execution context.

Error Messages


2015-10-19 12:56:11,525 [http-apr-8093-exec-5] [ STANDARD] [ ] [ PegaNBAM:07.12] (d.pega_decisionengine_dsmutils) ERROR <your machine>|<your ip>|SOAP|PegaMKTServiceTestService|Services|MyServiceActivity|A807560AD3519C695C454BE7175AC23CF - Application page does not contain information about application name 
2015-10-19 12:56:11,563 [http-apr-8093-exec-5] [ STANDARD] [ ] [ PegaNBAM:07.12] ( internal.mgmt.Executable) ERROR <your machine>|<your ip>|SOAP|PegaMKTServiceTestService|Services|MyServiceActivity|A807560AD3519C695C454BE7175AC23CF - Exception 
com.pega.pegarules.pub.PRRuntimeException: Decisioning Class Generation error: Decisioning Class generation error: Application page does not contain information about application name 
at com.pegarules.generated.pzCalculateDecisioningClass_071017_f1kB4b2Wk4sY1caRXzjQzg.pzCalculateDecisioningClass07_10_17(pzCalculateDecisioningClass_071017_f1kB4b2Wk4sY1caRXzjQzg.java:188)
at com.pegarules.generated.pzCalculateDecisioningClass_071017_f1kB4b2Wk4sY1caRXzjQzg.invoke(pzCalculateDecisioningClass_071017_f1kB4b2Wk4sY1caRXzjQzg.java:77) 
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:133) 
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:110) 
at com.pega.pegarules.generation.internal.library.LibraryFunctionUtilityImpl.resolveMethodCall(LibraryFunctionUtilityImpl.java:3118) 
at com.pega.pegarules.session.internal.mgmt.Executable.resolveMethodCall(Executable.java:11035) 
at com.pegarules.generated.expressions.ra_action__pxdecisioningclass__b0582ecfa09730e1da94897e949282d5.perform(ra_action__pxdecisioningclass__b0582ecfa09730e1da94897e949282d5.java:104) 
at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:3305) 
at com.pega.pegarules.exec.internal.declare.infengine.ChainingEngineUtilImpl.runActivity(ChainingEngineUtilImpl.java:227) 
at com.pega.pegarules.exec.internal.declare.infengine.ChainingEngineUtilImpl.executeBackwardChainingRule(ChainingEngineUtilImpl.java:396) 
at com.pega.pegarules.exec.internal.declare.infengine.ChainingEngine.deriveGoalValue(ChainingEngine.java:491) 
at com.pega.pegarules.exec.internal.declare.infengine.ChainingEngine.forceFeedDeriveGoalValue(ChainingEngine.java:401) 
at com.pega.pegarules.exec.internal.declare.infengine.InferenceEngineImpl.seekGoalValue(InferenceEngineImpl.java:524) 
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.seekValue(ClipboardPropertyBase.java:1229) 
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.autoChain(ClipboardPropertyImpl.java:1192) 
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.autoChain(ClipboardPropertyImpl.java:922) 
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getStringAndChain(ClipboardPageImpl.java:1871) 
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getString(ClipboardPageImpl.java:1440) 
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getString(ClipboardPageImpl.java:1413) 
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getString(ClipboardPageImpl.java:1409) 
at com.pegarules.generated.activity.ra_action_myserviceactivity_b97f9be89d2a634f12bf0f3ffdb8b737.step6_circum0(ra_action_myserviceactivity_b97f9be89d2a634f12bf0f3ffdb8b737.java:235) 
at com.pegarules.generated.activity.ra_action_myserviceactivity_b97f9be89d2a634f12bf0f3ffdb8b737.perform(ra_action_myserviceactivity_b97f9be89d2a634f12bf0f3ffdb8b737.java:86) 
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3500) 
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646) 
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:461) 
at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.runActivities(ServiceAPI.java:1881) 
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:385) 
at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
at java.lang.reflect.Method.invoke(Method.java:606) 
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1270) 
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1008) 
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:841) 
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:331) 
at com.pega.pegarules.integration.engine.internal.services.soap.SOAPService.invoke(SOAPService.java:579) 
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:315


Steps to Reproduce



1. Open NBAAServices service package.
2. Uncheck 'requires authentication' and save.
3. Open the CustomerOfferHistory SOAP Service and choose Actions > Trace
4. Send a SOAP request to the services.


Although the error comes on the NBAA framework, the exact error can also be reproduced locally using just a DSM application. 

1. In a PRPC Application, that is built on PegaDM, create a SOAP Service that executes an activity. 
2. In the activity, perform a property set to a local variable from 'Application.pxDecisioningClass'. 
3. Set the Activity Security to run as unauthenticated and allow from direct invocation. 
4. Trigger the SOAP service using SoapUI.


Root Cause



A defect in Pegasystems’ code or rules where the GetCustomerHistory activity does not have access to the "Application" clipboard page it is referencing as the page is not available when executing in a soap service context.

Resolution



Apply HFix-24572 which amends the GetCustomerHistory activity not to access the Application page (as it is not available in when executing in a soap service context) and also updates the CustomerOfferHistory and the CustomerOfferHistoryResponse • MapFrom XML stream to return all the appropriate fields following the amendments. The hot fix also updates the NBAAServices Service Package to refer to PegaNBAM:SOAPUsers as it was pointing to non-existing access group.

 

Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us