Troubleshooting
Problem
A Web Service Proxy (WS-Proxy) was created which was expected to accept an XML request with multipart and return a Non-XML multipart as a response. The following error is seen while handling a multipart response in WS-Proxy:
Thu Nov 13 2008 09:26:56 xmlparse debug wsgw(TestWSGW): tid(2745282) response X.X.X.X : Parsing document 'http://X.X.X.X:Port/someURI'
Thu Nov 13 2008 09:26:56 xmlparse error wsgw(TestWSGW): tid(2745282) response X.X.X.X : illegal character '-' at offset 0 of [http://X.X.X.X:Port/someURI
]
Thu Nov 13 2008 09:26:56 multistep error wsgw(TestWSGW): tid(2745282)response X.X.X.X: rule
(test-wsgw-default_response-rule): implied action Parse input as XML failed: illegal character '-' at offset 0 of [http://X.X.X.X:Port/someURI
]
Thu Nov 13 2008 09:26:56 ws-proxy error wsgw(TestWSGW): tid(2745282)error 10.217.140.8¨: Parse error
Resolving The Problem
The error related to this issue:
Thu Nov 13 2008 09:26:56 xmlparse error wsgw(TestWSGW): tid(2745282) response X.X.X.X : illegal character '-' at offset 0 of http://X.X.X.X:Port/someURI
is due to the MIME boundary declaration in the response message:
--MIME_boundary
Content-Type: text/xml; charset=charset=UTF-8
Content-ID: TEST
The issue above indicates that the response expected was a non-xml response from the back-end. To resolve this issue, complete these steps:
- From the Control Panel, select WS-Proxy. Select the WS-Proxy in question.
- Navigate to the XML Threat Protection tab.
- Set Characterize server traffic type to "Non-XML"
- Set Request attachment processing mode to "Allow".
Was this topic helpful?
Document Information
Modified date:
08 June 2021
UID
swg21328662