I got the following error message when using a SOAP web service in Glassfish
3.1 server calling SOAP web services in another Glassfish 3.0 server using
SSL:
Exception: Normal 0 false false false EN-US ZH-TW X-NONE /* Style Definitions
*/ table.MsoNormalTable {mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes;
mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in;
mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan;
font-size:11.0pt; font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}
java.lang.NullPointerException.
Stack trace shows:
Normal 0 false false false EN-US ZH-TW X-NONE /* Style Definitions */
table.MsoNormalTable {mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes;
mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in;
mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan;
font-size:11.0pt; font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}
com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:193)
com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:134)
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:123)
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:144) ...
I suspect it is due to some kind of SSL certs issue. We don't have the same
issue when we call from 3.0 to 3.0. Is there a way to bypass SSL certs for an
experiment? I have a "trust all" SSLSocketFactory implemented. We use soapUI
generated code in the "client" server using javax.xml.ws.Service:
DataBeanService service = new DataBeanService();
DataBean proxy = service.getDataBeanPort();
data = proxy.getData(filename);
How do I ask the service to use the trust all factory?
--
[Message sent by forum member 'yfwang']
View Post: http://forums.java.net/node/871532