public class CGAgentWsdlDependencyResolver extends Object
Constructor and Description |
---|
CGAgentWsdlDependencyResolver(org.apache.axis2.description.AxisService service,
String wsdlLocation)
Instantiates an instance using specified arguments
|
Modifier and Type | Method and Description |
---|---|
org.apache.axiom.om.OMElement |
parseWsdlDependencies(List<org.wso2.carbon.cloud.gateway.stub.types.common.CGServiceDependencyBean> dependencies)
Scan the supplied wsdl (and Axis service) for schema imports and does
following:
Adjust the 'schemalocation' tags on each import/include element of
the wsdl so they will not point to locations that are not accessible.
|
public CGAgentWsdlDependencyResolver(org.apache.axis2.description.AxisService service, String wsdlLocation)
service
- The service that needs to be checked for schema importswsdlLocation
- location of the wsdlpublic org.apache.axiom.om.OMElement parseWsdlDependencies(List<org.wso2.carbon.cloud.gateway.stub.types.common.CGServiceDependencyBean> dependencies) throws org.wso2.carbon.cloud.gateway.common.CGException
CGServiceDependencyBean
containing content
of imported schemas so they can be transmitted outside the firewall.
dependencies
- This list will be populated with
CGServiceDependencyBean
sorg.wso2.carbon.cloud.gateway.common.CGException
- An error while retrieving the wsdlCopyright © 2021 WSO2. All rights reserved.