Announcement

Collapse

Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

Soap Sender and SOAP with attachments

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Soap Sender and SOAP with attachments

    Hi,
    I have an urgent problem. I have a Mirth channel with a Soap Sender destination. I can invoke my java web service successfully, but now I want send a binary attachment to web service. Often when I use Soap with attachments in other contexts (without mirth) i modify the proxy client with these lines of code:

    org.apache.axis.client.Call _call = createCall();
    [ ... ]
    String doc_path = "C:\myFile.pdf"
    DataHandler attachmentFile = new DataHandler( new FileDataSource( doc_path ) );
    _call.addAttachmentPart(attachmentFile);
    [ ... ]
    java.lang.Object _resp = _call.invoke( .... );

    Where can I put this code in Mirth? How can I send a file attachment to my web service using SOAP with attachments and Mirth?

    Plese help me!!!!!!! it's important!!
    Thank you..

    Bye

    Post edited by: rescue, at: 07/02/2008 06:11
Working...
X