Clarity

 View Only
  • 1.  SOAP Basic Authentication from GEL

    Posted Jul 24, 2016 11:05 PM

    Hello,

    I am wanting to know if anyone has been able to get a GEL script working that contains SOAP basic authentication (username/password) to an external web service in On Demand?

    I read in http://commons.apache.org/proper/commons-jelly/libs/soap/tags.html that soap:invoke username and password parameters should be allowed but when I insert these attributes into the soap:invoke tag I get the following error:

    BPM-0703: Custom script syntax error at line 38, column 20: Tag 'invoke' does not have attribute 'username'.

     

    The authentication needs to occur outside of the soap:message. I realise that some interfaces send authorisation via the header tag (such as XOG). I require authentication outside the soap message. Also, I know that you can modify the SOAP tag library in OnPremise to get this but I am trying to get it to work on OnDemand.

     

     

    Thanks,

    Sean



  • 2.  Re: SOAP Basic Authentication from GEL
    Best Answer

    Posted Jul 25, 2016 11:15 AM

    Here is some information on dealing with external web services.

     

    Calling external SOAP from Clarity GEL

     

    V/r,

    Gene