You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by jk...@apache.org on 2008/07/03 17:32:05 UTC
svn commit: r673709 -
/webservices/woden/branches/woden65/src/org/apache/woden/internal/OMWSDLReader.java
Author: jkaputin
Date: Thu Jul 3 08:32:05 2008
New Revision: 673709
URL: http://svn.apache.org/viewvc?rev=673709&view=rev
Log:
WODEN-212
Set the imported or inline schema element in the Schema object.
Modified:
webservices/woden/branches/woden65/src/org/apache/woden/internal/OMWSDLReader.java
Modified: webservices/woden/branches/woden65/src/org/apache/woden/internal/OMWSDLReader.java
URL: http://svn.apache.org/viewvc/webservices/woden/branches/woden65/src/org/apache/woden/internal/OMWSDLReader.java?rev=673709&r1=673708&r2=673709&view=diff
==============================================================================
--- webservices/woden/branches/woden65/src/org/apache/woden/internal/OMWSDLReader.java (original)
+++ webservices/woden/branches/woden65/src/org/apache/woden/internal/OMWSDLReader.java Thu Jul 3 08:32:05 2008
@@ -160,6 +160,7 @@
throws WSDLException {
ImportedSchemaImpl schema = new ImportedSchemaImpl();
+ schema.setXMLElement(importEl);
String ns = importEl.getAttributeValue(Constants.ATTR_NAMESPACE);
@@ -317,6 +318,8 @@
throws WSDLException{
InlinedSchemaImpl schema = new InlinedSchemaImpl();
+ schema.setXMLElement(schemaElement);
+
schema.setId(schemaElement.getAttributeValue(Constants.ATTR_ID));
String tns = schemaElement.getAttributeValue(Constants.ATTR_TARGET_NAMESPACE);
if(tns != null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org