Opps... Sounds like a bug to me.. Please log a JIRA with more details.. Some source code would be actually better...
Then in order to get through this you can try enablingMTOM in your Axis2.xml.. Thanks, Thilina On 3/28/07, Masin, Valerie <[EMAIL PROTECTED]> wrote:
My webservice returns a binary document which I declare in my wsdl as base64Binary. Using SOAPMonitor I see my document in the returned soap message. However, tcpmon shows that the document is empty. I have tried this both with and without MTOM. Without MTOM here is the soap from SOAPMonitor... <?xml version='1.0' encoding='utf-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header /> <soapenv:Body> <ns1:getDocumentResponse xmlns:ns1="urn:webservices.docharbor.com"> <ns1:return> <ns1:documentSize>198</ns1:documentSize> <ns1:document>e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZGVmZjBcZGVmbGFuZzEwMzN7XGZvbnR0Ymx7XGYwXGZzd2lzc1xmY2hhcnNldDAgQXJpYWw7fX0NCntcKlxnZW5lcmF0b3IgTXNmdGVkaXQgNS40MS4xNS4xNTA3O31cdmlld2tpbmQ0XHVjMVxwYXJkXGYwXGZzMjAgSSdtIHRoZSBkZWZhdWx0IGRvY3VtZW50IGZvciBpbXBvcnRhdGlvbi5ccGFyDQp9DQoA</ns1:document> </ns1:return> </ns1:getDocumentResponse> </soapenv:Body> </soapenv:Envelope> ... and here is the output of tcpmon HTTP/1.1 200 OK Server: "" Date: Tue, 27 Mar 2007 18:26:12 GMT Content-type: text/xml; charset=UTF-8 Transfer-encoding: chunked 016f <?xml version='1.0' encoding='UTF-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header /> <soapenv:Body> <ns1:getDocumentResponse xmlns:ns1="urn:webservices.docharbor.com"> <ns1:return> <ns1:documentSize>198</ns1:documentSize> <ns1:document></ns1:document> <<<<<<<<<<<<<<<<<<<< notice the empty document </ns1:return> </ns1:getDocumentResponse> </soapenv:Body> </soapenv:Envelope> 0 Does anyone know why this is happening? Thanks, Valerie
-- Thilina Gunarathne - http://www.wso2.com - http://thilinag.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
