| mikea_59 2007-09-11, 7:17 pm |
|
I'm trying to test VW's SOAP/WSDL client capability. I am getting an
error trying to unmarshal a HttpResponse from a SOAPRequest doing
something like this:
response := wsdlClient executeSelector: #get args: #('<request
operationName="get" locale="en">
<resourceDescriptor name="A" wsType="img" uriString="/images/A"
isNew="false">
</resourceDescriptor>
</request>' ).
I can see the response, inspecting the raw stream, looks like this:
'HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: multipart/related; type="text/xml";
start="<5967E2C6340614197AD5F688D6AB9771>"; boundary="----
=_Part_23_14336558.1189111081354"
Transfer-Encoding: chunked
Date: Thu, 06 Sep 2007 20:38:01 GMT
7cf
------=_Part_23_14336558.1189111081354
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: binary
Content-Id: <5967E2C6340614197AD5F688D6AB9771>
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:getResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/
soap/encoding/" xmlns:ns1="http://
axis2.ws.jasperserver.jaspersoft.com">
</ns1:getResponse>
</soapenv:Body>
</soapenv:Envelope>
2000
------=_Part_23_14336558.1189111081354
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
Content-Id: <attachment>
....Some File Contents ...
2c
------=_Part_23_14336558.1189111081354--
0
'
But, I get a walkback - MalformedSignal - during the XML parsing of
the response stream. Anyone have any ideas what I am doing wrong?
|