Policy Falsified error when trying to invoke a webservice using Advanced Call Web Service Endpoint Smart service

I am able to successfully hit a webservice using SOAP UI or CURL command. But I am getting Policy Falsified error when trying to invoke the service using process model advanced call web service endpoint smart service. Attached is the partial server.log. The service expects WS security with username token embedded in the request. I am assuming something is wrong in the request but unable to figure out. Any thoughts would help. 

18:52:24,491 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest) 2017-05-09 18:52:24,490 [Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest] ERROR com.appiancorp.ps.plugin.wss.smartservice.AbstractCallSOAPWebService - Error invoking web service
18:52:24,491 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest) com.sun.xml.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: Policy Falsified Please see the server log to find more detail regarding exact cause of the failure.
18:52:24,491 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:193)
18:52:24,491 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:131)
18:52:24,491 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:274)
18:52:24,491 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:304)
18:52:24,491 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.ps.plugin.wss.SOAPClientImpl.invoke(SOAPClientImpl.java:222)
18:52:24,491 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.ps.plugin.wss.smartservice.AbstractCallSOAPWebService.run(AbstractCallSOAPWebService.java:144)
18:52:24,491 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:113)
18:52:24,491 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:110)
18:52:24,491 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:25)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.process.runtime.framework.DefaultActivityExecutor.execute(DefaultActivityExecutor.java:110)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute(UnattendedJavaActivityRequest.java:83)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute0(UnattendedJavaActivityRequest.java:55)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.process.engine.ContinuationRequest.executeOuter(ContinuationRequest.java:71)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.process.engine.ContinuationRequest.execute(ContinuationRequest.java:85)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.mdb.UnattendedRequestHandlerBean.onMessage(UnattendedRequestHandlerBean.java:37)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at sun.reflect.GeneratedMethodAccessor1122.invoke(Unknown Source)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at java.lang.reflect.Method.invoke(Method.java:497)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.mdb.UnattendedRequestHandlerBean.onMessage(UnattendedRequestHandlerBean.java:37)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at sun.reflect.GeneratedMethodAccessor1122.invoke(Unknown Source)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at java.lang.reflect.Method.invoke(Method.java:497)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,492 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
18:52:24,493 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
18:52:24,493 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,493 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
18:52:24,493 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
18:52:24,493 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,493 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
18:52:24,493 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,493 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ejb3.tx.EjbBMTInterceptor.handleInvocation(EjbBMTInterceptor.java:104)
18:52:24,493 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ejb3.tx.BMTInterceptor.processInvocation(BMTInterceptor.java:60)
18:52:24,493 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,493 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
18:52:24,493 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,494 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
18:52:24,494 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
18:52:24,494 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,494 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
18:52:24,494 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,494 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
18:52:24,494 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,494 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)
18:52:24,494 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,494 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
18:52:24,494 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,494 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
18:52:24,495 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,495 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
18:52:24,495 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,495 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55)
18:52:24,495 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,495 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentDescription$5$1.processInvocation(MessageDrivenComponentDescription.java:203)
18:52:24,495 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,495 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
18:52:24,495 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,495 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
18:52:24,495 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185)
18:52:24,495 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
18:52:24,495 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
18:52:24,496 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
18:52:24,496 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
18:52:24,496 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.ra.workpoller.UnattendedRequestListener$$$view1.onMessage(Unknown Source)
18:52:24,496 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at sun.reflect.GeneratedMethodAccessor1121.invoke(Unknown Source)
18:52:24,496 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
18:52:24,496 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at java.lang.reflect.Method.invoke(Method.java:497)
18:52:24,496 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ejb3.inflow.MessageEndpointInvocationHandler.doInvoke(MessageEndpointInvocationHandler.java:140)
18:52:24,496 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.as.ejb3.inflow.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:73)
18:52:24,496 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.sun.proxy.$Proxy519.onMessage(Unknown Source)
18:52:24,496 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.ra.workpoller.WorkItem.run(WorkItem.java:54)
18:52:24,496 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.jca.core.workmanager.WorkWrapper.run(WorkWrapper.java:218)
18:52:24,496 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33)
18:52:24,496 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:808)
18:52:24,496 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)
18:52:24,497 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:849)
18:52:24,497 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at java.lang.Thread.run(Thread.java:745)
18:52:24,497 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at org.jboss.threads.JBossThread.run(JBossThread.java:122)
18:52:24,499 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest) 2017-05-09 18:52:24,497 [Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=536873071, classname=com.appiancorp.ps.plugin.wss.smartservice.AdvancedCallSOAPWebServiceEndpoint
18:52:24,499 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest) com.appiancorp.suiteapi.process.exceptions.SmartServiceException: com.sun.xml.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: Policy Falsified Please see the server log to find more detail regarding exact cause of the failure.
18:52:24,499 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.suiteapi.process.exceptions.SmartServiceException$Builder.build(SmartServiceException.java:145)
18:52:24,499 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.ps.plugin.wss.smartservice.AbstractCallSOAPWebService.run(AbstractCallSOAPWebService.java:157)
18:52:24,499 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:113)
18:52:24,499 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:110)
18:52:24,499 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:25)
18:52:24,499 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.process.runtime.framework.DefaultActivityExecutor.execute(DefaultActivityExecutor.java:110)
18:52:24,499 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute(UnattendedJavaActivityRequest.java:83)
18:52:24,499 INFO  [stdout] (Appian Work Item - 203 - ProcessExec02 : UnattendedJavaActivityRequest)    at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute0(UnattendedJavaActivityRequest.java:55)
@

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data