diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-08-15 09:54:04 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-08-15 09:54:04 +0000 |
commit | f8c8cf8cdff1c8eb280686715b3a612f71375375 (patch) | |
tree | 6eaede283db21b5803cd6d2a98e507f0bc692e5a | |
parent | c7bac19b004d7796be38db919c777c1da2b1fcf1 (diff) |
TUSCANY-3917 - Save the WSDLDefinition used to generate an interface.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1157752 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java b/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java index f5384caf16..61bc805fc1 100644 --- a/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java +++ b/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java @@ -433,6 +433,8 @@ public class WebServiceBindingProcessor extends BaseStAXArtifactProcessor implem WSDLInterface wsdlInterface = null; try { wsdlInterface = wsdlFactory.createWSDLInterface(portType, wsdlDefinition, resolver, context.getMonitor()); + // save the wsdlDefinition that was used to generated the interface + wsdlInterface.setWsdlDefinition(wsdlDefinition); } catch (InvalidInterfaceException e) { warning(monitor, "InvalidInterfaceException", wsdlFactory, model.getName(), e.getMessage()); } |