Advanced Call Web Service

Overview

This plug-in provides functions and smart services for connecting to SOAP-based web services. Where possible it is recommended to utilize the out of the box functionality.

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

The attachment provided with the download provides more information and examples. Where possible, use the base product Call Web Service functionality instead.

Anonymous
  • This plugin does not work. Smart service node fails with following error.

    bundleName for SmartServiceException, builder.smartServiceClass=class com.appiancorp.ps.plugin.wss.smartservice.AbstractCallSOAPWebService.

    Is there any solution? Any work around to call SOAP webservice which returns document as an attachment.

  • Hi James,

    I am using this smart service to fetch the document.

    I configured all the required parameters.But I am getting the below error while running the process:

    "bundleName for SmartServiceException, builder.smartServiceClass=class com.appiancorp.ps.plugin.wss.smartservice.AbstractCallSoapWebService"

    Is that issue with configuration or smart service?

  • Hi,

    Have you tried latest version of plug-in on 19.4? What is issue you were facing? Few details will help us to understand since we are also facing issues on 20.1. Thanks.

  • Hi James,

    We are using Advanced Call web service plugin to upload a document to doc share  

    But we are getting below error after upgrading our platform to New version 20.1. Can you please help us with this   

     [Appian Work Item - 1465 - execution00 : UnattendedJavaActivityRequest] ERROR com.appiancorp.ps.plugin.wss.smartservice.deprecated.AbstractCallSOAPWebServiceV2 - Error invoking web service com.sun.xml.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: javax.xml.ws.soap.SOAPFaultE xception Please see the server log to find more detail regarding exact cause of the failure.

            at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:193)

            at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:131)

            at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:274)

            at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:304)

            at com.appiancorp.ps.plugin.wss.SOAPClientImpl.invoke(SOAPClientImpl.java:232)

            at com.appiancorp.ps.plugin.wss.smartservice.deprecated.AbstractCallSOAPWebServiceV2.run(AbstractCallSOAPWe

    bServiceV2.java:145). 

    Thanks

  • Hi james we have to use this plugin to make a call to a soap web service that requires basic authentication. In the Service Authentication field of the smart service we have set this value {action: "USERNAME_TOKEN_PLAIN_PASSWORD", usernameTokenSystemKey: "test.ged"} and in the third-part credentials we have defined the test.ged configuring username and password any idea?

  • Facing this error when tried to deploy the plugin:

    HTTP Code: 500 APNX-1-4198-019 An Error Has Occurred Expression evaluation error [evaluation ID = R85DAUKZ] : An error occurred while executing a save: java.util.UnknownFormatConversionException: Conversion = 'D'

  • Hi James,

    We are encoutering an issue with this advanced plugin for french character in all environment.

    The SOAP envelope works with UFT-8 encoding which means that also French characters like “l'Evêque Lévescault” are supposed to work.
    We were able to verify that other SOAP tools like SOAP UI can call the web service endpoint with French characters correctly.

    The rule that generates xml also queries data from an Oracle database table.
    (Between Appian and Oracle Hibernate is used to retrieve data. It might be possible that French characters are already badly converted here?)
    But since the web service plugin is a custom plugin it is likely that this handles special characters incorrectly.

    Please kindly help us in resolving the issue.

    Thank you for your kind attention in this regard.

  • KB-1097 explains the cause and remedial actions that may be taken to address it within your specific environment

  • Dear James,

    On loading the JAR of this plugin into an on-premise server, we are encountering the attached error. Do you have a sense of what may be causing this issue?

    Thank you for your attention!

    Agustin

    2020-01-13 00:01:07,649 [Appian Plugin Hot Deploy] ERROR com.atlassian.plugin.manager.DefaultPluginManager - There was an error loading the descriptor 'Advanced Call SOAP Web Service' of plugin 'advancedcallwebservice'. Disabling.
    com.atlassian.plugin.PluginException: com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException: com.appiancorp.process.admin.IncompatibleSmartServiceRegistrationException: The Smart Service Module was invalid: Illegal attempt to change the data type for smart service advancedcallwebservice.AdvancedCallSOAPWebService2, input or output named Base64AttachmentExtractor (APNX-1-4104-005)
            at com.appiancorp.plugins.ExceptionHandlingModuleDescriptor.enabled(ExceptionHandlingModuleDescriptor.java:68)
            at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleEnabled(DefaultPluginManager.java:2039)
            at com.appiancorp.plugins.AppianPluginManager.notifyModuleEnabled(AppianPluginManager.java:67)
            at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModule(DefaultPluginManager.java:1780)
            at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModules(DefaultPluginManager.java:1757)
            at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1263)
            at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1218)
            at com.atlassian.plugin.manager.DefaultPluginManager.scanForNewPlugins(DefaultPluginManager.java:927)
            at com.appiancorp.plugins.AppianPluginManager.scanForNewPlugins0(AppianPluginManager.java:185)
            at com.appiancorp.plugins.AppianPluginManager.scanForNewPlugins(AppianPluginManager.java:177)
            at com.appiancorp.plugins.HotDeployerRunnable.run(HotDeployerRunnable.java:29)
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
            at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
            at java.lang.Thread.run(Thread.java:748)
    Caused by: com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException: com.appiancorp.process.admin.IncompatibleSmartServiceRegistrationException: The Smart Service Module was invalid: Illegal attempt to change the data type for smart service advancedcallwebservice.AdvancedCallSOAPWebService2, input or output named Base64AttachmentExtractor (APNX-1-4104-005)
            at com.appiancorp.process.ActivityClassSupplierModern.registerInternal(ActivityClassSupplierModern.java:338)
            at com.appiancorp.process.ActivityClassSupplierLazyData.register(ActivityClassSupplierLazyData.java:86)
            at com.appiancorp.process.ActivityClassSupplier.get(ActivityClassSupplier.java:81)
            at com.appiancorp.process.SmartServiceModuleDescriptor.enabledInternal(SmartServiceModuleDescriptor.java:201)
            at com.appiancorp.plugins.ExceptionHandlingModuleDescriptor.enabled(ExceptionHandlingModuleDescriptor.java:66)
            ... 17 more
    2020-01-13 00:01:07,661 [Appian Plugin Hot Deploy] ERROR com.appiancorp.plugins.LoggingPluginEventListener - Failed to enable Plug-in 'Advanced Call Web Service' (advancedcallwebservice) version 1.4.1: 'There was a problem loading the module descriptor: Advanced Call SOAP Web Service.<br/>com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException: com.appiancorp.process.admin.IncompatibleSmartServiceRegistrationException: The Smart Service Module was invalid: Illegal attempt to change the data type for smart service advancedcallwebservice.AdvancedCallSOAPWebService2, input or output named Base64AttachmentExtractor (APNX-1-4104-005)'
    

  • The error is

    HTTP Code: 500 APNX-1-4198-019 An Error Has Occurred Expression evaluation error [evaluation ID = KPWTW3ZU] : An error occurred while executing a save: java.util.UnknownFormatConversionException: Conversion = 'D'