[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Re: Serializing namespaces on the xsd schema level

Hi Valentin,

Thanks for your reply.

I tried that and that works fine, but is there any way to serialize [xmlns:xsd="http://www.w3.org/2001/XMLSchema";] on both the root element and the xsd:schema element?

Like, I said before, it is probably not the best of XML constructed, but it seems to be needed for some transformation I'm writing.

-Ravi

Valentin wrote:

Ravikanth, try this working example:

The code above produces a WSDL document that looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; targetNamespace="http://www.example.org";>
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
</wsdl:types>
</wsdl:definitions>