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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to