Advanced Call Web Service

Overview

Most SOAP use cases can and should be handled using native Appian features like Integration Objects. This plug-in specifically is suited for handling SOAP services with SOAP and Base64 attachments

Key Features & Functionality

The Advanced Call Web Service provides support for the following:

  • Support for SOAP attachments
  • Support for Base64 attachments
  • Ability to call web services that do not explicitly declare the requirement for WS-Security UsernameToken in the WSDL policy
  • Ability to call web services that use a self-signed SSL certificate
Anonymous
  • Hi Team, 

    After we upgraded from 25.2 to 25.4, the Plugin is not storing the AC!ResponseAttachments in the pv or the KC,

  • Hi everyone, I’m using the latest version of the plugin and I’m encountering the following error:

    “Could not find file with internalFilename: /usr/local/appian/ae/_admin/accdocs1/293896/10228266.sql”

    We are not sending this document in the request, and I also tried passing a null XML in the body, but the same error still appears. Could you please help me understand what might be causing this?

  • We encountered a structural limitation in the Advanced Call Web Service (Endpoint) plugin when handling SOAP responses with attachments via Axis2/MIME parsing. The plugin exposes attachments only as temporary Appian document objects (<fileattachtemp>), but these files lose any metadata required to reliably identify or match them with the corresponding attachment information from the SOAP XML (e.g. <NroAttachment>, <IdDoc>, or <fileName>).
    Since Appian does not preserve a stable order of MIME parts and no correlation keys are provided in the response, it is technically impossible to deterministically associate the extracted temporary files with their original metadata. This makes attachment mapping unreliable and prevents safe processing of SOAP attachments in real-world integrations.

  • v1.5.4 Release Notes
    • Updated deprecated APIs, and changed the application minimum version to 24.2
  • v1.5.3 Release Notes
    • Capturing SOAPAFault and return it in responsexml when errorOcurred is true
  • I was in Appian 24.2.245.0, I installed the new hotfix 24.2.425 and it is now ok with this plugin

  • following error happens with version 1.5.1: 

    javax.xml.ws.WebServiceException: Provider com.sun.xml.internal.ws.spi.ProviderImpl not found

    Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.ws.spi.ProviderImpl not found by advancedcallwebservice [59]

    2024-08-12 12:56:30,216 [Appian Work Item - 87985 - WorkID 733 - execution02 - process 4502471 - model 4004 : UnattendedJavaActivityRequest] ERROR com.appiancorp.ps.plugin.wss.smartservice.AbstractCallSOAPWebService - Error invoking web service

    javax.xml.ws.WebServiceException: Provider com.sun.xml.internal.ws.spi.ProviderImpl not found

     ¿can you check?

    Thanks

  • following error happens with version 1.5.1: 

    javax.xml.ws.WebServiceException: Provider com.sun.xml.internal.ws.spi.ProviderImpl not found

    Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.ws.spi.ProviderImpl not found by advancedcallwebservice [59]

    2024-08-12 12:56:30,216 [Appian Work Item - 87985 - WorkID 733 - execution02 - process 4502471 - model 4004 : UnattendedJavaActivityRequest] ERROR com.appiancorp.ps.plugin.wss.smartservice.AbstractCallSOAPWebService - Error invoking web service

    javax.xml.ws.WebServiceException: Provider com.sun.xml.internal.ws.spi.ProviderImpl not found

     

    found this possible related info:

    https://stackoverflow.com/questions/49107375/getting-java-lang-classnotfoundexception-com-sun-xml-internal-ws-spi-providerim

    ¿can you check?


  • With version 1.4.2 of advancedcallwebservice and Appian 24.2, I had the error :
    Caused by: java.lang.ClassNotFoundException: javax.jws.soap.SOAPBinding$Style not found by advancedcallwebservice [36]
    Exception in thread "ThreadPoolTaskExecutor-32303" java.lang.NoClassDefFoundError: javax/jws/soap/SOAPBinding$Style
    Caused by: java.lang.NoClassDefFoundError: javax/jws/soap/SOAPBinding$Style


    Now wih version 1.5.1, I have this error :
    javax.xml.ws.WebServiceException: Provider com.sun.xml.internal.ws.spi.ProviderImpl not found
    Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.ws.spi.ProviderImpl not found by advancedcallwebservice [59]

    2024-08-12 12:56:30,216 [Appian Work Item - 87985 - WorkID 733 - execution02 - process 4502471 - model 4004 : UnattendedJavaActivityRequest] ERROR com.appiancorp.ps.plugin.wss.smartservice.AbstractCallSOAPWebService - Error invoking web service
    javax.xml.ws.WebServiceException: Provider com.sun.xml.internal.ws.spi.ProviderImpl not found
    at javax.xml.ws.spi.FactoryFinder$1.createException(FactoryFinder.java:61)
    at javax.xml.ws.spi.FactoryFinder$1.createException(FactoryFinder.java:58)
    at javax.xml.ws.spi.ServiceLoaderUtil.newInstance(ServiceLoaderUtil.java:103)
    at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:112)
    at javax.xml.ws.spi.Provider.provider(Provider.java:96)
    at javax.xml.ws.Service.<init>(Service.java:112)
    at javax.xml.ws.Service.create(Service.java:765)
    at com.appiancorp.ps.plugin.wss.SOAPClient.create(SOAPClient.java:145)
    at com.appiancorp.ps.plugin.wss.smartservice.AdvancedCallSOAPWebService.getSOAPClient(AdvancedCallSOAPWebService.java:45)
    at com.appiancorp.ps.plugin.wss.smartservice.AbstractCallSOAPWebService.run(AbstractCallSOAPWebService.java:82)
    at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.lambda$call$0(DefaultActivityExecutor.java:136)
    at com.appiancorp.plugins.PluginUsageLogger.runWithPluginInformation(PluginUsageLogger.java:54)
    at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:136)
    at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:130)
    at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:28)
    at com.appiancorp.process.runtime.framework.DefaultActivityExecutor.execute(DefaultActivityExecutor.java:130)
    at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute(UnattendedJavaActivityRequest.java:88)
    at com.appiancorp.process.engine.UnattendedJavaActivityRequestResponseCreator.getJavaActivityResultResponse(UnattendedJavaActivityRequestResponseCreator.java:22)
    at com.appiancorp.process.engine.UnattendedJavaActivityRequest.getJavaActivityResultResponse(UnattendedJavaActivityRequest.java:67)
    at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute0(UnattendedJavaActivityRequest.java:55)
    at com.appiancorp.common.persistence.data.AppianDataUserContextProvider.executeWithConsistentDataReads(AppianDataUserContextProvider.java:143)
    at com.appiancorp.process.engine.ProcessContinuationRequest.executeOuter(ProcessContinuationRequest.java:68)
    at com.appiancorp.process.engine.ContinuationRequest.execute(ContinuationRequest.java:136)
    at com.appiancorp.process.workpoller.UnattendedRequestHandlerBean.onMessage(UnattendedRequestHandlerBean.java:36)
    at com.appiancorp.process.workpoller.WorkItem.run(WorkItem.java:110)
    at org.springframework.jca.work.SimpleTaskWorkManager$DelegatingWorkAdapter.run(SimpleTaskWorkManager.java:241)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:833)
    Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.ws.spi.ProviderImpl not found by advancedcallwebservice [59]
    at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1601)
    at org.apache.felix.framework.BundleWiringImpl.access$300(BundleWiringImpl.java:79)
    at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1986)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
    at javax.xml.ws.spi.ServiceLoaderUtil.nullSafeLoadClass(ServiceLoaderUtil.java:90)
    at javax.xml.ws.spi.ServiceLoaderUtil.safeLoadClass(ServiceLoaderUtil.java:123)
    at javax.xml.ws.spi.ServiceLoaderUtil.newInstance(ServiceLoaderUtil.java:101)
    ... 26 more

  • v1.5.1 Release Notes
    • Additional support for Appian 24.2 (Java 17)