You are right, sfactor only deals with XMLSchema files. And in general, XmlBeans is a Schema-focused tool, not a WSDL tool. It’s true that we have a few features that make it easier to work with WSDL files (such as scomp takes .wsdl files as arguments) but the availability of those basically depends on someone taking some extra time to implement them.

 

The functionality that implements sfactor is in org.apache.xmlbeans.impl.tool.FactorImports.java, if you are willing to try and write a shell over this to deal with WSDL files, we’d be interested to see it.

 

Thanks,

Radu

 

-----Original Message-----
From: Prashant Tech [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 29, 2005 2:50 PM
To: [email protected]
Subject: sfactor for wsdl files?

 

Hi,

Is there a version of sfactor (http://xmlbeans.apache.org/docs/2.0.0/guide/tools.html#sfactor) that takes works with wsdl files instead of xsd files? I have 25+ wsdl files with schema definitions embedded in instead of being imported. Would be great if sfactor can clean it up.

Thanks in advance,
Prashant

Reply via email to