Discussion:
Transfer Files by Consuming Web Service
(too old to reply)
r***@yahoo.com
2006-08-30 14:29:13 UTC
Permalink
I developed an application to transfer files by consuming Web Service over HTTPS which is deployed under WAS V6.0. The Web Service client application works fine under WAS V4.0 and WAS V5.1 no matter the size of the file. However, in WAS V6.0, although it works fine with transferring small files, sometimes there is a problem transferring large files(1.5Mb). In other words, for the same large file, sometimes it can be retrieved from server side successfully, but sometimes it can't. Are there any setting I misses in WAS 6.0 or WAS 6.0 has bugs?

Thanks in advance,

Richard

P.S

Error Message:
R javax.net.ssl.SSLException: javax.net.ssl.SSLException: Unsupported record version Unknown 8.170
at com.ibm.jsse2.bf.a(Unknown Source)
at com.ibm.jsse2.bf.unwrap(Unknown Source)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext.decryptMessage(SSLReadServiceContext.java:1233)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext.read(SSLReadServiceContext.java:228)
at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.fillABuffer(HttpServiceContextImpl.java:4119)
at com.ibm.ws.http.channel.outbound.impl.HttpOutboundServiceContextImpl.readUntilEnd(HttpOutboundServiceContextImpl.java:2095)
at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.readFullBody(HttpServiceContextImpl.java:3740)
at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.readBodyBuffers(HttpServiceContextImpl.java:3591)
at com.ibm.ws.http.channel.outbound.impl.HttpOutboundServiceContextImpl.getResponseBodyBuffers(HttpOutboundServiceContextImpl.java:1674)
at com.ibm.ws.webservices.engine.transport.http.HttpOutboundChannelConnection.receiveSOAPResponse(HttpOutboundChannelConnection.java:1005)
at com.ibm.ws.webservices.engine.transport.http.HttpsOutboundChannelConnection.receiveSOAPResponse(HttpsOutboundChannelConnection.java:149)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:467)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:226)
at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:151)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:226)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:226)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:279)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:798)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:693)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:644)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:472)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:818)


Caused by: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
at sax.SAX2DocumentEntityParserBase.reportFatalError(Unknown Source)
at com.ibm.xml.b2b.scan.WFCDocumentScannerSupport.reportFatalError(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanContent(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanDocument(Unknown Source)
at sax.latin.LatinWFCSAX2DocumentEntityParser.scanDocument(Unknown Source)
at util.DocumentEntityParserBase.parse(Unknown Source)
at sax.SAX2DocumentEntityParserBase.parseEntity(Unknown Source)
at sax.SAX2DocumentEntityParserBase.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at com.ibm.ws.webservices.engine.utils.WebServicesParser.parse(WebServicesParser.java:274)
at com.ibm.ws.webservices.engine.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:268)
at com.ibm.ws.webservices.engine.SOAPPart._getSOAPEnvelope(SOAPPart.java:1029)
... 24 more
c***@gmail.com
2015-12-03 21:27:47 UTC
Permalink
Hi,

I too have a similar problem where I am using WEB V5.1 and while getting the web service response I am getting the similar exception as below mentioned by Richard.
However, while testing the webservices locally for the same through SOUP UI, I was able to get the response.
Please let me know if any body can help?

Regards
Chandan
Post by r***@yahoo.com
I developed an application to transfer files by consuming Web Service over HTTPS which is deployed under WAS V6.0. The Web Service client application works fine under WAS V4.0 and WAS V5.1 no matter the size of the file. However, in WAS V6.0, although it works fine with transferring small files, sometimes there is a problem transferring large files(1.5Mb). In other words, for the same large file, sometimes it can be retrieved from server side successfully, but sometimes it can't. Are there any setting I misses in WAS 6.0 or WAS 6.0 has bugs?
Thanks in advance,
Richard
P.S
R javax.net.ssl.SSLException: javax.net.ssl.SSLException: Unsupported record version Unknown 8.170
at com.ibm.jsse2.bf.a(Unknown Source)
at com.ibm.jsse2.bf.unwrap(Unknown Source)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext.decryptMessage(SSLReadServiceContext.java:1233)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext.read(SSLReadServiceContext.java:228)
at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.fillABuffer(HttpServiceContextImpl.java:4119)
at com.ibm.ws.http.channel.outbound.impl.HttpOutboundServiceContextImpl.readUntilEnd(HttpOutboundServiceContextImpl.java:2095)
at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.readFullBody(HttpServiceContextImpl.java:3740)
at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.readBodyBuffers(HttpServiceContextImpl.java:3591)
at com.ibm.ws.http.channel.outbound.impl.HttpOutboundServiceContextImpl.getResponseBodyBuffers(HttpOutboundServiceContextImpl.java:1674)
at com.ibm.ws.webservices.engine.transport.http.HttpOutboundChannelConnection.receiveSOAPResponse(HttpOutboundChannelConnection.java:1005)
at com.ibm.ws.webservices.engine.transport.http.HttpsOutboundChannelConnection.receiveSOAPResponse(HttpsOutboundChannelConnection.java:149)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:467)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:226)
at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:151)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:226)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:226)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:279)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:798)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:693)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:644)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:472)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:818)
Caused by: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
at sax.SAX2DocumentEntityParserBase.reportFatalError(Unknown Source)
at com.ibm.xml.b2b.scan.WFCDocumentScannerSupport.reportFatalError(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanContent(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanDocument(Unknown Source)
at sax.latin.LatinWFCSAX2DocumentEntityParser.scanDocument(Unknown Source)
at util.DocumentEntityParserBase.parse(Unknown Source)
at sax.SAX2DocumentEntityParserBase.parseEntity(Unknown Source)
at sax.SAX2DocumentEntityParserBase.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at com.ibm.ws.webservices.engine.utils.WebServicesParser.parse(WebServicesParser.java:274)
at com.ibm.ws.webservices.engine.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:268)
at com.ibm.ws.webservices.engine.SOAPPart._getSOAPEnvelope(SOAPPart.java:1029)
... 24 more
Loading...