ep.setMetadata(metadata);
Map<String, Object> props = new HashMap<String, Object>();
props.put(Endpoint.WSDL_SERVICE, new QName(tgtNmspc, svcNm));
props.put(Endpoint.WSDL_PORT, new QName(tgtNmspc, portNm));
ep.setProperties(props);
ep.publish(addr);
}
public DOMSource invoke(DOMSource request) {
DOMSource response = new DOMSource();
Context cx = ContextFactory.getGlobal().enterContext();