FWIW, from what i remember i think Axis 1.x does that as well as xmlspy.

On 8/24/05, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> ok. but anyways the bottom line is the wsdl in question (wsrf) is a
> valid wsdl with a valid schema and we should not fail.
> 
> -- dims
> 
> On 8/24/05, Glen Daniels <[EMAIL PROTECTED]> wrote:
> > Dims, you can only do that if WSDL says that's what you do (otherwise
> > it's not interoperable, or correct according to schema).
> >
> > I don't see the problem Sanjiva is worried about, though.  If the
> > elements are unqualified, then the references are simply unqualified as
> > well... <input element="foo"/> instead of <input element="ns:foo"/> -
> > what's the big deal?
> >
> > --G
> >
> > Davanum Srinivas wrote:
> > > Ajith,
> > >
> > > In Axis 1.X and elsewhere, people default to wsdl's targetNamespace.
> > > can't we do that instead?
> > >
> > > -- dims
> > >
> > > On 8/24/05, Ajith Ranabahu <[EMAIL PROTECTED]> wrote:
> > >
> > >>Hi Dims,
> > >> I actually discussed this with Sanjiva after going through the specs. 
> > >> He's
> > >>in the view that the schema defined in the WSDL needs to have the
> > >>targetNamespace attribute even though it is not mandatory according to the
> > >>schema spec. The reason is that if the elements are unqualified then the
> > >>messages section might have a problem refering to the elements.These facts
> > >>do not seem to be documented anywhere :(
> > >> However I feel Jaya's solution seems to be valid since it serves the 
> > >> WSDL's
> > >>purpose!
> > >>
> > >> Thoughts ?
> > >>
> > >>
> > >>
> > >>On 8/24/05, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> > >>
> > >>>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 <[EMAIL PROTECTED] > 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 < [EMAIL PROTECTED]> 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
> > >>>
> > >>
> > >>
> > >>
> > >>
> > >>--
> > >>Ajith Ranabahu
> > >
> > >
> > >
> >
> 
> 
> --
> Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform
> 


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

Reply via email to