Hi Daniel,
Thank you for the response. This is the snippet form the wsdl:
<complexType name="FetchDocumentResponsePayloadType">
<annotation>
<documentation/>
</annotation>
<sequence>
<element name="FileFormat" type="string"/>
<element name="attachment" xmlns:wsi="
http://ws-i.org/profiles/basic/1.1/xsd"/>
</sequence>
</complexType>
---------------------------------------------------------------------------------------------------------------------------------------------------
I also tried to annotate/modify the generated
FetchDocumentResponsePayloadType.java's attachment field so the client
could deal with it more easily:
@XmlMimeType("application/octet-stream")
protected DataHandler attachment;
That field gets generated as an Object originally.
At this point I'm just stabbing in the dark trying to parse the server's
response.
- Patrick
--
View this message in context:
http://cxf.547215.n5.nabble.com/org-xml-sax-SAXParseException-Content-is-not-allowed-in-prolog-tp5725407p5725411.html
Sent from the cxf-user mailing list archive at Nabble.com.