Package com.sun.xml.rpc.spi.tools
Interface WSDLUtil
- All Known Implementing Classes:
WSDLUtil
public interface WSDLUtil
This interface is implemented by
com.sun.xml.rpc.wsdl.WSDLUtil
The implementation of this interface will provide some utilities in retrieving relevant information from a WSDL file. We expose those functionalities via this utility class instead of directly putting the burden on jaxrpc implementation of WSDLParser.
We should be conservative on adding methods to this utility class. Hopefully, we could use JSR 110 (parsing WSDL) implementation soon.
-
Method Summary
Modifier and TypeMethodDescriptionvoidgetRelativeImports(URL wsdlURL, Collection wsdlRelativeImports, Collection schemaRelativeImports) Collect all relative imports from a web service's main wsdl document.
-
Method Details
-
getRelativeImports
void getRelativeImports(URL wsdlURL, Collection wsdlRelativeImports, Collection schemaRelativeImports) throws IOException Collect all relative imports from a web service's main wsdl document. [This should be equivalent to WSDLParser.setFollowImports(false)]- Parameters:
wsdlURL- The URL for a wsdl documentwsdlRelativeImports- outupt param in which wsdl relative imports will be addedschemaRelativeImports- outupt param in which schema relative imports will be added- Throws:
IOException
-