axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@us.ibm.com>
Subject Axis 1.1 WSDL checking too strict?
Date Tue, 21 Jan 2003 23:32:50 GMT
Hmm.. I'm wondering if the WSDL checking in the Axis 
org.apache.axis.client.Service initService(...) method is becoming too 
strict... 

Given the perfectly valid schema (taken from one of IBM's Web Services 
Toolkit demos), I'm getting an error [2].  The schema is referenced from a 
WSDL file used to initialize a Service object. 

In one test, I modified the schema to include an <import namespace="
http://www.w3.org/2000/09/xmldsig#" /> to see if that would clear up the 
problem and it does not.

IMHO, Axis should not die if it cannot find a schema definition for a 
referenced type that is not part of the targetNamespace.  If Axis cannot 
find the definition for the referenced type, then it should treat it as a 
generic MessageElement without explicit type information. 

[1] == AriesTypes.xsd
[2] == err.out.txt (error output)



- James Snell
     IBM Emerging Technologies
     jasnell@us.ibm.com
     (559) 587-1233 (office)
     (700) 544-9035 (t/l)
     Programming Web Services With SOAP
         O'Reilly & Associates, ISBN 0596000952

     Have I not commanded you? Be strong and courageous. 
     Do not be terrified, do not be discouraged, for the Lord your 
     God will be with you whereever you go.    - Joshua 1:9
Mime
View raw message