Wsdl parsing exception

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: null Nested exception is: java.lang.NullPointerException The WSDLAnalyzer was unable to validate the given WSDL File. ChangedElements.wsdl /wstest/WebContent/wsdl line 1 WSDL Problem 

Update:

Netbeans gives this error:

 cvc-elt.1: Cannot find the declaration of element 'wsdl:definitions'. [7] 

Wsdl part:

 <?xml version="1.0" encoding="UTF-8" standalone="no"?> <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.example.org/xxx/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="xxx" targetNamespace="http://www.example.org/xxx/"> 
+7
java nullpointerexception wsdl exception
source share
3 answers
+3
source share

Change the definition of WSDL to

  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap" xmlns:tns="http://www.example.org/xxx" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="xxx" targetNamespace="http://www.example.org/xxx"> 

note trailing slashes to be deleted

+2
source share

I have the same problem, and it seems to mainly concern links to WCF services dotnet and WSE.

The only thing I found to work was to create the WSDL manually.

0
source share

All Articles