/**
* Builds and returns the <code>DeploymentDescriptor</code> of
* JORAM SOAP service.
*/
private static DeploymentDescriptor getDeploymentDescriptor() {
DeploymentDescriptor dd = new DeploymentDescriptor();
dd.setID("urn:ProxyService");
dd.setProviderType(DeploymentDescriptor.PROVIDER_JAVA);
dd.setProviderClass("org.objectweb.joram.mom.proxies.soap.SoapProxyService");
dd.setScope(DeploymentDescriptor.SCOPE_APPLICATION);
String[] methods = {"start", "setConnection", "send", "getReply"};
dd.setMethods(methods);
String[] listener = {"org.apache.soap.server.DOMFaultListener"};
dd.setFaultListener(listener);
dd.setMappings(getTypeMappings());
return dd;
}