BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  How to extract attachments from SOAP service response?

    Posted Mon November 15, 2021 08:03 AM

    Hi All,

    We call a webservice from our BAW application which returns attachments. We did set the WSDL and endpoint URL, and let discover the service by BAW. Everything works fine, but we don't know how to extract the attachments returned by the service.

    Excerpt of the service response in SoapUI:

    In BAW there is the signedDocument field of the response, but it do not contain nothing (although is displayed strange, in more empty lines):

    So, how could we extract the attachments of the response?
    Any help appreciated.

    Thx,



    ------------------------------
    Laszlo
    ------------------------------


  • 2.  RE: How to extract attachments from SOAP service response?

    Posted Tue November 16, 2021 08:55 AM
    I am not sure we support this from BPMN.  But it can be done from Advanced ( IID ).  See:  https://www.ibm.com/docs/en/baw/20.x?topic=bindings-enabling-mtom-support-in-jax-ws

    ------------------------------
    Mikhail Zilbergleyt
    ------------------------------



  • 3.  RE: How to extract attachments from SOAP service response?

    Posted Tue November 16, 2021 09:41 AM
    Hi Mikhail,

    It's sad. We don't want to use AIS / IID.
    Maybe we'll use a java code for this.

    Thx,


    ------------------------------
    Laszlo
    ------------------------------



  • 4.  RE: How to extract attachments from SOAP service response?

    Posted Wed November 17, 2021 04:20 AM
    Hi Laszlo,

    Can it be possible to share the response string here ? I can see that the octet stream is being sent, are you getting the file extension as well ?



    ------------------------------
    Atanu Roy
    Solution Architect
    Salient Process
    ------------------------------