I have a C# application that send a SOAP request to a Java web service, and it works fine. However, when I activate SSL, in some communication I get below exception:
com.sun.xml.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: Unable to create StAX reader or writer.
I am sure that SSL is implemented correctly, but some messages fail with this error.
CodePudding user response:
After some hours, I found it is a timeout problem, if timeout for soap connection in C# side set with a small value, this error will be happened.