GoAnywhere
  • Contact Us
  • Login
  • Live Chat
  • Free Trial
  • Support
  • Company
Request Demo
GoAnywhere
MENU
  • Solutions
    • Managed File Transfer
    • Cloud File Transfer
    • Secure FTP
    • AS2 Transfers
    • OpenPGP
    • Sharing & Collaboration
    • Agents
  • Industries
    • Banking & Finance
    • Healthcare
    • Higher Education
    • Insurance
    • IT & Telecom
    • Logistics
    • Manufacturing
    • Media & Entertainment
    • Public Sector
    • Retail
  • Platforms
    • Windows
    • VMware
    • Linux
    • Amazon EC2
    • Azure
    • IBM i (iSeries)
    • AIX and UNIX
    • Mac OS
  • Products
    • GoAnywhere MFT
    • GoAnywhere Gateway
    • Free FTP Client
    • Free FTP Server
    • Free Collaboration
    • Free OpenPGP Encryption
  • Resources
    • Brochures
    • Case Studies
    • Compliance
    • Testimonials
    • Video Library
    • Video Reviews
    • Webinars
    • White Paper Library
  • Blog
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Register
  • Login
  • Board index
  • GoAnywhere MFT
  • Community Forum

HTTPS Task With CDATA in XML Response

Post any question you may have in regards to GoAnywhere MFT and let our talented support staff and other users assist you.
1 post Page 1 of 1
  • Print view
 Post a reply  

HTTPS Task With CDATA in XML Response

jbeekman
 
Posts: 4
Joined: Thu Feb 18, 2016 9:16 am
by jbeekman » Tue Aug 09, 2016 8:00 am
Reply with quote
I'm using the HTTPS Task and postRawData to send a SOAP request which responds with a SOAP envelope that contains a CDATA text value in the body. The response gets written to a file with the CDATA tags removed and the ensuing text encoded for XML, ie. '<' becomes '&lt;' and '>' becomes '&gt;'.

Is there a way for the task to preserve the response exactly as it is returned, with the CDATA block unmodified?

I appreciate the help!

Expected Response:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ManualInvoiceResponse xmlns="http://looksoftware.com/webservices/">
<ManualInvoiceResult><![CDATA[<ResultDetails><Status>Failure</Status><Errors><Error>Contract not found</Error></Errors></ResultDetails>]]></ManualInvoiceResult>
</ManualInvoiceResponse>
</soap:Body>
</soap:Envelope>

Response as written by HTTPS Task:

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<ManualInvoiceResponse xmlns="http://looksoftware.com/webservices/">
<ManualInvoiceResult>&lt;ResultDetails&gt;&lt;Status&gt;Failure&lt;/Status&gt;&lt;Errors&gt;&lt;Error&gt;Contract not found&lt;/Error&gt;&lt;/Errors&gt;&lt;/ResultDetails&gt;</ManualInvoiceResult>
</ManualInvoiceResponse>
</soap:Body>
</soap:Envelope>


Task Configuration:
<https label="ManualInvoice Web Service" resourceId="TotalSafety WebServices" version="1.0" disabled="false">
<postRawData label="Post ManualInvoice SOAP Request" uri="${look.uri}" inputFile="${ManualInvoice.RequestFile}" contentType="text/xml;charset=UTF-8" readTimeout="240" responseBodyDestination="file" responseBodyFile="${Invoice.Directory}\invoice-response.xml" whenResponseBodyFileExists="overwrite" responseHeadersDestination="joblog" responseBodyFileVariable="ManualInvoice.RequestFile">
<header name="SOAPAction" value="http://looksoftware.com/webservices/ManualInvoice" />
</postRawData>
</https>
 Post a reply  
1 post Page 1 of 1
  • Print view
Return to “Community Forum”
  • GoAnywhere MFT
  •    ↳  Knowledge Center
  •    ↳  Community Forum
  • GoAnywhere Director
  •    ↳  Knowledge Center
  •       ↳  Example Projects
  •    ↳  Community Forum
  • GoAnywhere Services
  •    ↳  Knowledge Center
  •    ↳  Community Forum
  • GoAnywhere OpenPGP Studio

Who is online

Users browsing this forum: No registered users and 0 guests
  • Board index
  • All times are UTC-05:00
 

 


Login


Company

  • About Us
  • Blog
  • Certifications & Partnerships
  • Upcoming Events
  • News
  • Our Customers
  • Testimonials
  • Awards & Recognition

Products

  • GoAnywhere MFT
  • GoAnywhere Gateway

Resources

  • Brochures & Data Sheets
  • Case Studies
  • Compliance
  • Testimonials
  • Videos
  • Video Reviews
  • Webinars
  • White Papers

Compliance

  • PCI
  • HIPAA
  • GDPR
  • FISMA

Industries

  • Banking and Finance
  • Healthcare
  • Higher Education
  • Insurance
  • IT & Telecom
  • Media & Entertainment
  • Logistics
  • Manufacturing
  • Public Sector
  • Retail

Partners

  • Join Our Partner Program
  • Partner Login

Support

  • Overview
  • Contact Us
  • Customer Login
  • Downloads
  • FAQ
  • Live Chat
  • Release Notes
  • Support Forum
  • Register for Training

How to Buy

  • Request a Quote
  • Find a Local Reseller
  • Referral Program

Notices

  • Copyright Notice
  • Privacy Notice
HelpSystems

1-800-949-4696 | goanywhere.sales@helpsystems.com | Privacy Policy
Copyright © 2008 - 2018 HelpSystems. GoAnywhere® is a registered trademark of HelpSystems.

Blog LinkedIn Twitter Facebook YouTube
  • Solutions
    • Managed File Transfer
    • Cloud File Transfer
    • Secure FTP
    • AS2 Transfers
    • OpenPGP
    • Sharing & Collaboration
    • Agents
  • Industries
    • Banking & Finance
    • Healthcare
    • Higher Education
    • Insurance
    • IT & Telecom
    • Logistics
    • Manufacturing
    • Media & Entertainment
    • Public Sector
    • Retail
  • Platforms
    • Windows
    • VMware
    • Linux
    • Amazon EC2
    • Azure
    • IBM i (iSeries)
    • AIX and UNIX
    • Mac OS
  • Products
    • GoAnywhere MFT
      • Administration
      • Connectivity
        • Amazon S3 Bucket
        • AS2
        • Database
        • FTP
        • FTPS
        • GoFast
        • HTTP(S)
        • ICAP
        • Mail Servers
        • Message Queue (MQ)
        • Native Calls
        • Network Shares
        • SCP
        • SFTP
        • SMS
        • SNMP
        • WebDAV
      • File Servers
        • AS2
        • FTP
        • FTPS
        • HTTPS
        • SFTP
        • GoFast
      • Encryption
        • FIPS 140-2
        • Encrypted Folders
        • Open PGP
        • Open PGP for IBM i
        • GnuPG (GPG)
        • SSH
        • SSL/TLS
        • Zip with AES
        • Key Management
      • Agents
      • Translation
        • Delimited Text
        • Excel
        • Fixed Width Text
        • XML
      • Workflows
        • Resources
        • Tasks
      • Automation
        • Scheduler
        • File Monitoring
        • Commands and APIs
        • Triggers
      • Collaboration
        • GoDrive
        • Mobile Apps
        • Secure Mail
        • Secure Forms
        • Secure Folders
      • Auditing and Reporting
        • Auditing
        • Reporting
      • Clustering
      • Learn More
        • Detailed Features
        • Security
        • FAQs
        • Installation Requirements
        • Tutorials
          • Getting Started with GoAnywhere MFT
          • Getting Started with File Transfer Services
          • Getting Started with Projects
          • Automating Project Workflows
          • How to Encrypt Files with Open PGP
          • How to Import a CSV File into a Database
          • Getting Started with Domains
          • Converting Scripts to Projects
          • How to Read JSON Data and Insert it into a Database
          • How to Query a Database and Write the Data to JSON
          • Using the SQL Wizard to Join Data from Two Database Tables
          • How to Enable SSL for HTTPS/AS2 Server Connections
          • Configuring the AS2 Client to Send AS2 Messages
          • How to Configure the AS2 Service to Receive AS2 Transfers
          • Configuring Web User Accounts to Receive AS2 Messages
        • Pricing
        • Release Notes
    • GoAnywhere Gateway
      • How it Works
      • Load Balancing
      • PCI DSS Compliance
      • Installation Requirements
      • Release Notes
      • FAQs
      • Pricing
    • Free FTP Client
    • Free FTP Server
    • Free Collaboration
    • Free OpenPGP Encryption
      • Download
      • Documentation
        • Installation
          • Microsoft Windows
          • Linux and Unix
          • Mac OS X
        • Key Manager
        • Key Preferences
        • Encrypt
        • Sign
        • Encrypt and Sign
        • Decrypt and Verify
        • Verify
      • Automation
      • Support
  • Resources
    • Brochures
    • Case Studies
    • Compliance
    • Testimonials
    • Video Library
    • Video Reviews
    • Webinars
    • White Paper Library
  • Company
    • About Us
    • Blog
    • Certifications
    • Upcoming Events
    • News
    • Our Customers
    • Testimonials
  • Support
  • Request a Demo
  • Live Chat
  • Customer Login
  • Blog