* @throws SOAPException if there is a SOAP error
*/
public SOAPMessage call(SOAPMessage request, Object endpoint)
throws SOAPException {
if(closed){
throw new SOAPException(org.apache.axis.utils.JavaUtils.getMessage("connectionClosed00"));
}
try {
Call call = new Call(endpoint.toString());
((org.apache.axis.Message)request).setMessageContext(call.getMessageContext());
SOAPEnvelope env = ((org.apache.axis.Message)request).getSOAPEnvelope();
call.invoke(env);
return call.getResponseMessage();
} catch (java.net.MalformedURLException mue){
throw new SOAPException(mue);
} catch (org.apache.axis.AxisFault af){
throw new SOAPException(af);
} catch (java.rmi.RemoteException re){
throw new SOAPException(re);
}
}