Community
Participate
Working Groups
Created attachment 84937 [details] Sample WSDL file Build ID: 200712062304 Steps To Reproduce: Please copy the attached WSDL into a workspace and open WSDL editor. Additionally try to validate the file. The WSDL parser is unable to resolve the messages of the WSDL. It returns null. The editor shows the same behaviour. Validating the file causes the following error: Severity and Description Path Resource Location Creation Time Id WS-I: A problem occured while running the WS-I WSDL conformance check: org.eclipse.wst.wsi.internal.analyzer.WSIAnalyzerException: The WS-I Test Assertion Document (TAD)document was either not found or could not be processed.The WSDLAnalyzer was unable to validate the given WSDL File. LocalDevelopment~LocalDevelopment~o~demo.sap.com/rep/ui noNspService.wsdl line 1 1197360347307 51 More information:
I see that the targetNamespace is defined as an optional attribute in the WSDL schema but this is the first example I see where a target namespace is not specified. We'll try to look into it. It it's important to you feel free to investigate - we'll accept quality patches. The WS-I validator needs to obtain some files (called Test Assertion Docments) from the internet. These files provide parts of the WS-I validation rules. For legal reasons these files cannot be redistributed so the WS-I validator has to go off on the internet an fetch them. Can you please make sure you have a connection to the internet from your machine. If you do and the WS-I validator still complains, please check under Preferences->Internet->Cache. Remove all items from the cache and try again.
I have an Internet connection and there is nothing in Cache BUT the parser problem is still there.
The WSDL editor problem is still there in WTP 3.1. The WS-I validator is generating the following warning: Description Resource Path Location Type WS-I: A problem occured while running the WS-I WSDL conformance check: org.eclipse.wst.wsi.internal.analyzer.WSIAnalyzerException: The conformance validation process failed. ------------------------------------------------------------------------------ Nested exception is: java.lang.NullPointerException The WSDLAnalyzer was unable to validate the given WSDL File. noNspService.wsdl 212508 line 1 WSDL Problem
Still a problem in 3.2 M7. May require fixes in both the editor and WSDL EMF model.
*** Bug 314235 has been marked as a duplicate of this bug. ***
Same error in 3.2.2 using the latest Eclipse IDE for SOA Developers, and using the provided XML Samples having SpaceWarGame.wsdl. The thing will look less buggy if at least the samples and made to not hit the bugs. The sample does have a targetNamespace.