axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject Re: [Axis2] Clarification needed on the Types section
Date Wed, 24 Aug 2005 12:52:19 GMT
check the xsd schema's schema. if it is mandatory then throw exception
if it is absent otherwise don't.

-- dims

On 8/24/05, jayachandra <jayachandra@gmail.com> wrote:
> 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
> 


-- 
Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform

Mime
View raw message