I'm trying to call a SOAP webservice through https with the following code:
String endpoint="https://xxx";
doc = XmlUtils.stringToDoc(xmlStr);
Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress(endpoint);
call.setSOAPActionURI(soapAction);
// Create SOAP Envelope
SOAPEnvelope se = new SOAPEnvelope();
se.getBody().addDocument(doc);
_in.setString("P","invoking "+call.getTargetEndpointAddress());
output = (SOAPEnvelope) call.invoke(se);
When I do this invocation, I get this error:
{http://xml.apache.org/axis/}stackTrace:The endpoint reference (EPR) for the Operation not found is http://xxx and the WSA Action = com:StatemgrtMgr Service/SuspendRequest. If this EPR was previously reachable, please contact the server administrator.
the address seems to be changed from https to http (what would explain not finding the webservice).
Am I missing something?
Thanks in advance!