public String movePortLocation(String portComponentName, String servletLocation) throws DeploymentException {
DefinitionsDocument doc = (DefinitionsDocument) wsdlMap.get(uris.get(0));
TDefinitions definitions = doc.getDefinitions();
TService[] services = definitions.getServiceArray();
for (int i = 0; i < services.length; i++) {
TService service = services[i];
TPort[] ports = service.getPortArray();
for (int j = 0; j < ports.length; j++) {
TPort port = ports[j];
if (port.getName().trim().equals(portComponentName)) {
XmlCursor portCursor = port.newCursor();
try {