1 8 9 package mx4j.tools.remote.soap; 10 11 import mx4j.tools.remote.http.HTTPService; 12 import org.apache.axis.MessageContext; 13 14 22 public class SOAPService extends HTTPService 23 { 24 protected String findRequestURL() 25 { 26 MessageContext context = MessageContext.getCurrentContext(); 27 return (String )context.getProperty(MessageContext.TRANS_URL); 28 } 29 30 protected String getProtocol() 31 { 32 return "soap"; 33 } 34 35 protected String findConnectionId() 36 { 37 MessageContext context = MessageContext.getCurrentContext(); 38 return (String )context.getProperty(SOAPConstants.CONNECTION_ID_HEADER_NAME); 39 } 40 } 41 | Popular Tags |