Changeset 1600 for trunk/autoquest-plugin-http/src/main/java/de
- Timestamp:
- 07/11/14 14:09:42 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/eventcore/SOAPEventType.java
r1599 r1600 83 83 this.soapRequest = soapRequest; 84 84 this.soapResponse = soapResponse; 85 this.calledMethod = determineCalledMethod(exchange, soapRequest);85 this.calledMethod = normalizeCalledMethod(determineCalledMethod(exchange, soapRequest)); 86 86 87 87 String path = null; … … 251 251 return null; 252 252 } 253 254 /** 255 * removes unnecessary characters from the method name 256 */ 257 private String normalizeCalledMethod(String calledMethod) { 258 if (calledMethod != null) { 259 if (calledMethod.startsWith("\"") && calledMethod.endsWith("\"")) { 260 calledMethod = calledMethod.substring(1, calledMethod.length() - 1); 261 } 262 if (calledMethod.startsWith("urn:")) { 263 calledMethod = calledMethod.substring(4); 264 } 265 } 266 return calledMethod; 267 } 253 268 }
Note: See TracChangeset
for help on using the changeset viewer.