开发者

Does CXF with SOAP 1.1 have a maximum content length for text sent in a request?

开发者 https://www.devze.com 2023-03-03 18:18 出处:网络
Is there a maximum content length for text sent over CXF with SOAP 1.1? I\'m running into an issue where one SOAP request is failing while the other succeeds. The only difference I have pinpointed bet

Is there a maximum content length for text sent over CXF with SOAP 1.1? I'm running into an issue where one SOAP request is failing while the other succeeds. The only difference I have pinpointed between these request so far has been the bytes of text I am sending.

I see an error like the following:

 checkException (UnexpectedServiceExceptionCheckImpl.java:35) - An unexpected exception was found from source=[DesignService.generate] type=[class javax.xml.ws.soap.SOAPFaultException] m开发者_StackOverflow社区essage=[Unmarshalling Error: [was class java.io.IOException] Strange I/O stream, returned 0 bytes on read ]: 
javax.xml.ws.soap.SOAPFaultException: Unmarshalling Error: [was class java.io.IOException] Strange I/O stream, returned 0 bytes on read 
    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
    at $Proxy146.generate(Unknown Source)


I don't believe there are any maximums except for memory usage. Are you seeing any errors? Can you trace the transaction using wireshark or something?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号