System.setProperty("javax.net.debug", "ssl");
System.setProperty("javax.net.ssl.trustStore", RUTA_TRUSTSTORE);
System.setProperty("javax.net.ssl.trustStorePassword", PASS_TRUSTSTORE);
System.setProperty("javax.net.ssl.keyStoreType", KEYSTORE_TYPE);
org.apache.axis.client.Service service = new Service();
org.apache.axis.client.Call call = (Call) service.createCall();
call.setTargetEndpointAddress(new java.net.URL(ENDPOINT));
call.setOperationName(OPERATION_NAME);
String ret = (String) call.invoke(new Object[] { PARAMETER });
System.setProperty("javax.net.ssl.trustStore", RUTA_TRUSTSTORE);
System.setProperty("javax.net.ssl.trustStorePassword", PASS_TRUSTSTORE);
System.setProperty("javax.net.ssl.keyStoreType", KEYSTORE_TYPE);
org.apache.axis.client.Service service = new Service();
org.apache.axis.client.Call call = (Call) service.createCall();
call.setTargetEndpointAddress(new java.net.URL(ENDPOINT));
call.setOperationName(OPERATION_NAME);
String ret = (String) call.invoke(new Object[] { PARAMETER });
No comments:
Post a Comment