It's looking like there is some import or include in the WSDL pointing to w3.org and your server cannot reach it... Either that or EM is trying to validate the schemas in the WSDL, you should be able to disable the validation... Does the error comes right after you press "Test"?
There is no reference to w3.org inside the WSDL.
I compared another WSDL that works fine and they have exactly the same structure, only component names changes.
The error occurs a few seconds (10 or 20seconds) after I click on the Test button.
And when I click on the Parse WSDL button I have the following after the same amount of time (20 seconds):
The WSDL document could not be parsed.
The following error occured while parsing the WSDL location -
java.io.InterruptedIOException: Connection establishment timed out
oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: java.io.InterruptedIOException: Connection establishment timed out at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:157) at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:87) at oracle.sysman.emas.model.wsmgt.WSTestModel.init(WSTestModel.java:326) at oracle.sysman.emas.view.wsmgt.WSView.parseWSDL(WSView.java:170) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:187) ...
1 person found this helpful
It's everything indicating EM is trying to access some remote resource to try and create the sample request... There has to be some external pointing, if it is not in the WSDL, then it is in something the WSDL references via import, include, location or something like that...
This issue is solved now. The problem was inside the schema xsd file.
After removing the following import, I am able to test my composite with Test button inside EM.
<xsd:import namespace="http://www.w3.org/2001/XMLSchema" />
Thanks again for your help.