As I know, I can set Standlone Client System Properties to enable ssl accessing:
System.setProperty("javax.net.ssl.trustStore", sslstore); System.setProperty("javax.net.ssl.trustStorePassword", pass);
/** * Create a <code>Service</code> instance. * * @param wsdlURL URL for the WSDL document location * @param serviceName QName for the service. * @param mappingURL URL for the jaxrpc-mapping.xml document location * @param securityURL URL for the jboss-ws-security.xml file * @return Service. * @throws ServiceException If any error in creation of the specified service */ public Service createService(URL wsdlURL, QName serviceName, URL mappingURL, URL securityURL) throws ServiceException
jboss-ws-security.xml is about WS-Security
You can set "org.jboss.ws.trustStore" on the stub. Have a look at org.jboss.ws.jaxrpc.StubExt