Wolf, Chris (IT) wrote:
> I know there are several special query strings for WSDL and JavaScript,
> i.e. :
>  
> http://host/service?wsdl
> http://host/service?js
> 
> ...but I thought there was also one for getting the schema part of the 
> WSDL, i.e. something like http://host/service?xsd (that doesn't work)

CXF only does this when it has to in order to produce a complete and
well-defined WSDL.  If you have JAXB objects in a different XML
namespace from your service then I believe CXF will create the ?wsdl
such that it imports one or more ?xsd schemas for the bits in the
different namespaces, but if everything is in one namespace then it's
all contained in the one ?wsdl and there's no need for imported ?xsd
documents.  In any case, the schema or schemas you get from ?xsd will
not include any types whose namespace matches that of the WSDL, those
types will be defined inline.

Ian

-- 
Ian Roberts               | Department of Computer Science
[email protected]  | University of Sheffield, UK

Reply via email to