Hi,
I'm using jbossws-cfx 3.3.0 with Jboss AS 5.1.0.
I have this exception:
ERROR [CommonClient] Exception caught while (preparing for) performing the invocation:
javax.xml.ws.soap.SOAPFaultException: java.lang.NullPointerException
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:88)
at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:107)
at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:581)
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:412)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:181)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:161)
at $Proxy295.getOperation(Unknown Source)
My code:
System.setProperty("org.jboss.ws.wsse.keyStore", "/datos/store/keystore.jks");
System.setProperty("org.jboss.ws.wsse.keyStorePassword", "xxx");
System.setProperty("org.jboss.ws.wsse.keyStoreType", "jks");
System.setProperty("org.jboss.ws.wsse.trustStore", "/datos/store/client.trustore");
System.setProperty("org.jboss.ws.wsse.trustStorePassword", "xxx");
System.setProperty("org.jboss.ws.wsse.trustStoreType", "jks");
Service service = new Service();
Port port = service.getPort();
((StubExt) port).setConfigName("Standard WSSecurity Client");
port.getOperation();
Any Idea?
thanks !!