Open Tomas-Kraus opened 13 years ago
@glassfishrobot Commented Reported by evgeny.gornov
@glassfishrobot Commented evgeny.gornov said: I have fixed the issue on my machine. How can I commit the solution to SVN? Trunk seems to be dead...
@glassfishrobot Commented evgeny.gornov said: The solution proposed by me for the file: /java_caps_jax-rpc_patch9/jaxrpc-ri/src/com/sun/xml/rpc/encoding/SOAPFaultInfoSerializer.java
The solution is:
**diff** @@ -204,9 +208,16 @@
SOAPDeserializationContext context,
SOAPFaultInfo instance)
throws Exception {
-
- reader.nextElementContent();
- return deserializeDetail(reader, context);
+ int st = reader.nextContent();
+ if (st == XMLReader.CHARS) {
+SOAPFactory soapFactory = SOAPFactory.newInstance();
+Detail detail = soapFactory.createDetail();
+detail.addTextNode(reader.getValue());
+return detail;
+ }
+ else{
+return deserializeDetail(reader, context);
+ }
}
@glassfishrobot Commented evgeny.gornov said: The solution proposed be me.
@glassfishrobot Commented File: SOAPFaultInfoSerializer.java Attached By: evgeny.gornov
@glassfishrobot Commented This issue was imported from java.net JIRA JAX_RPC-49
This response I've received from server:
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ttns="urn:testtrack-interface">