}
private void addWSSResult(WsdlMockRunContext context, String requestContent) throws IOException {
WsdlMockService mockService = (WsdlMockService) context.getMockService();
if (StringUtils.hasContent(mockService.getIncomingWss())) {
IncomingWss incoming = mockService.getProject().getWssContainer()
.getIncomingWssByName(mockService.getIncomingWss());
if (incoming != null) {
Document dom = XmlUtils.parseXml(requestContent);
try {
wssResult = incoming.processIncoming(dom, context);
if (wssResult != null && wssResult.size() > 0) {
StringWriter writer = new StringWriter();
XmlUtils.serialize(dom, writer);
setActualRequestContent(requestContent);
super.setRequestContent(writer.toString());