Sounds good to me. Thanks, Keith.
On Thu, Mar 19, 2009 at 9:52 AM, Pradeep Fernando <pradee...@gmail.com>wrote: > hi All, > > @ Sagara > > yes, possible to use same existing copy, I think this line gives >> wrong impression . >> >> Description descComp = reader.readWSDL(wsdlLoc); > > > Yes it mislead me. Even the user guide at the woden site gives a wrong > impression on the above method. > In that case we can use DOM as the WSDL representation model without a > problem. So as Sagara proposed > we can work it out like this. > > -read the WSDL and get it as the DOM model. > -compare namespaces. > -if WSDL11 read it using reader and get a WSDL4J.Definition, in order to > feed WSDL11ToAxisServiceBuilder > -if WSD20 read it using reader(given that it supports DOM), and get a > WODEN.Description to feed WSDL20ToAxisserviceBuilder. > > Thus we have to add a new constructor in the WSDL20ToAxisServiceBuilder > supporting Woden.Description. This will make > sure the consistency between WSDL20ToAxisServiceBuilder & > WSDL11ToAxisserviceBuilder as the latter has a constructor > supporting WSDL4J.Definiton. > > Thanks Andreas,Sagara & Keith for your suggestions, > > This seems to be the perfect solution for me. WDYT devs? > > cheers, > Pradeep Fernando. > > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org