From f472733832389221175ea1947b52d9e4145b7af4 Mon Sep 17 00:00:00 2001 From: edwardsmj Date: Wed, 13 May 2009 06:17:24 +0000 Subject: Fixes for errors in the processing of elements, as described in TUSCANY-3019. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@774229 13f79535-47bb-0310-9956-ffa450edef68 --- .../wsdl/xml/WSDLInterfaceProcessor.java | 60 +++++++++++++++++----- 1 file changed, 47 insertions(+), 13 deletions(-) (limited to 'java/sca/modules/interface-wsdl/src') diff --git a/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLInterfaceProcessor.java b/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLInterfaceProcessor.java index c88ec0ef32..cfba9f3519 100644 --- a/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLInterfaceProcessor.java +++ b/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLInterfaceProcessor.java @@ -101,10 +101,12 @@ public class WSDLInterfaceProcessor implements StAXArtifactProcessor element in a SCDL file + * + * The form of the element is as follows: + * + * + * where interface = URI pointing to the WSDL document containing a WSDL interface or porttype for the forward call interface + * callbackInterface = URI pointing to the WSDL document containing a WSDL interface or porttype for the callback interface + * + * @param reader - XMLStreamReader holding the element + * @return - the WSDLInterfaceContract + */ public WSDLInterfaceContract read(XMLStreamReader reader) throws ContributionReadException, XMLStreamException { // Read an WSDLInterfaceContract wsdlInterfaceContract = wsdlFactory.createWSDLInterfaceContract(); @@ -216,17 +244,23 @@ public class WSDLInterfaceProcessor implements StAXArtifactProcessor