SWS-345, take two

This commit is contained in:
Arjen Poutsma
2008-05-05 16:03:42 +00:00
parent c078a4ea9f
commit 89f054f1e4
3 changed files with 49 additions and 24 deletions

View File

@@ -82,6 +82,10 @@ public class DefaultMessageContext extends AbstractMessageContext {
response = messageFactory.createWebServiceMessage(inputStream);
}
public WebServiceMessageFactory getMessageFactory() {
return messageFactory;
}
private void checkForResponse() throws IllegalStateException {
if (response != null) {
throw new IllegalStateException("Response message already created");