diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2008-12-05 22:35:54 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2008-12-05 22:35:54 +0000 |
commit | 1d3d3a169cac2f0d41ea86d058b0dba1b1d07142 (patch) | |
tree | f7dab89282b3095f11a833cd66cbdffb10d2fc1d /branches/sca-java-1.4/modules/binding-ws-xml | |
parent | 6bfd044be37a044a19da7a93da3905d0aa2353a2 (diff) |
Merge r723501 changes for TUSCANY-2698 into the 1.4 branch
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@723908 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.4/modules/binding-ws-xml')
-rw-r--r-- | branches/sca-java-1.4/modules/binding-ws-xml/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/branches/sca-java-1.4/modules/binding-ws-xml/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java b/branches/sca-java-1.4/modules/binding-ws-xml/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java index 860daa647d..980003ddf1 100644 --- a/branches/sca-java-1.4/modules/binding-ws-xml/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java +++ b/branches/sca-java-1.4/modules/binding-ws-xml/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java @@ -343,10 +343,10 @@ public class WebServiceBindingProcessor implements StAXArtifactProcessor<WebServ } catch (ContributionRuntimeException e) { ContributionResolveException ce = new ContributionResolveException(e.getCause()); error("ContributionResolveException", wsdlDefinition, ce); - throw ce; + //throw ce; } - if (!resolved.isUnresolved()) { + if (resolved != null && !resolved.isUnresolved()) { wsdlDefinition.setDefinition(resolved.getDefinition()); wsdlDefinition.setLocation(resolved.getLocation()); wsdlDefinition.setURI(resolved.getURI()); @@ -388,11 +388,11 @@ public class WebServiceBindingProcessor implements StAXArtifactProcessor<WebServ WSDLInterface wsdlInterface = null; try { wsdlInterface = wsdlFactory.createWSDLInterface(portType, wsdlDefinition, resolver); + interfaceContract.setInterface(wsdlInterface); + model.setBindingInterfaceContract(interfaceContract); } catch (InvalidInterfaceException e) { warning("InvalidInterfaceException", wsdlFactory, model.getName()); } - interfaceContract.setInterface(wsdlInterface); - model.setBindingInterfaceContract(interfaceContract); } } policyProcessor.resolvePolicies(model, resolver); |