Hi Sagara, welcome back! Do you have any patch files to upload to JIRA WODEN-65. I'd like to have a look at your writer code and compare it to how WSDL4J prints namespace declarations. When you say these are 'unexpected' namespace declarations, do you mean they were not present in the original xs:schema element? Were they declared in a higher scoped element, perhaps the wsdl:description element?
regards, John Kaputin "Sagara Gunathunga" <[EMAIL PROTECTED]> wrote on 19/12/2007 05:11:41: > Hi, > i was quit busy last few weeks ,but now back into work. i heaved > addressed most of the issues mentioned in John's last update > including test cases. about the JIRA- 65 [1] . > There is a one more issue to solve, when writing WSDL definition in > to file, it print following unexpected namespace declarations and > attributes for > the xs:schema element within the wsdl:types element. > > xmlns:tns="http://example.org/Echo" > xmlns:whttp="http://www.w3.org/ns/wsdl/http > xmlns:wsdl="http://www.w3.org/ns/wsdl" > xmlns:wsdlx="http://www.w3.org/ns/wsdl-extensions" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > attributeFormDefault="unqualified" > > > in WSDL writer i used Apache XmlSchema library for serialization. ( > write() method defined in XmlSchema API) > > XmlSchema xs=null; > for(int i=0;i<inlinedSchema.length;i++) > { > xs=inlinedSchema[i].getSchemaDefinition(); > xs.write(printWriter); > } > > > with this approach , i couldn't stop printing of extra attributes . > Any suggestions for this ? > > > > [1] http://issues.apache.org/jira/browse/WODEN-65 > > > Regards > > -- > Sagara Gunathunga > > Blog - ssagara.blogspot.com > Web - http://sagaras.awardspace.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]