axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jayachandra <jayachan...@gmail.com>
Subject Re: [Axis2] Clarification needed on the Types section
Date Wed, 24 Aug 2005 12:23:42 GMT
Ajith!
If the content inside the <xsd:schema> element is(are) just an import
statement(s) then, I guess, there need not be a targetNamespace.
However if any information other than import elements appear (viz.
element declarations, include statements etc.) then we should throw
that exception. Just my thought, though

Thank you
Jayachandra

On 8/24/05, Ajith Ranabahu <ajith.ranabahu@gmail.com> wrote:
> Hi all,
> the following piece of WSDL is from the WSRF WSDL at
> http://docs.oasis-open.org/wsrf/rpw-1
> 
> <wsdl:types>
>  <xsd:schema>
>  <xsd:import
>  namespace="http://docs.oasis-open.org/wsrf/rp-1" 
>  schemaLocation="
http://docs.oasis-open.org/wsrf/rp-1" />
>  </xsd:schema>
>  </wsdl:types>
> Axis2 code generator is configured to throw an exception if it encounters a
> schema element that does not declare a target namespace. Is that correct in
> this case ?
> -- 
> Ajith Ranabahu 


-- 
-- Jaya

Mime
View raw message