Sanjiva Weerawarana wrote:

On Mon, 2006-03-27 at 14:59 +1200, Dennis Sosnoski wrote:
The resolution of http://issues.apache.org/jira/browse/AXIS2-67 was
to add a check that the schema definition within a WSDL defines a targetNamespace. What is the justification for this? AFAIK it's

The justification is that its required by WSDL. WSDL 1.1 wasn't clear
but it has since been clarified.
So the requirement was added after WSDL 1.1 - is it spelled out somewhere, or just an informal interpretation? I'm happy enough to accept it either way, as long as other frameworks such as .NET require schema namespaces, but it'd be nice to have something to point to by way of justification.

The current code throws an NPE if a schema doesn't have a targetNamespace rather than reporting anything useful - that's what led me into this. I'll fix that.

 - Dennis

Reply via email to