相关文章推荐
拉风的绿豆  ·  MySQL :: MySQL 8.0 ...·  1 年前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams
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]

The part of wsdl:

<?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/">
                Two possibilities: The WSDL is invalid according to WS-I, or the tool you are using to validate it is broken. From the information you provided that's pretty much all I can think of.
– Darin Dimitrov
                Dec 7, 2010 at 12:29
                @Darin I've updated question, you may want to recheck it. I think I can't post entire wsdl
– l245c4l
                Dec 8, 2010 at 12:07
                what prevents you from posting the entire WSDL? How do you expect us verifying that this WSDL is valid without showing it?
– Darin Dimitrov
                Dec 8, 2010 at 12:08
  • https://bugs.eclipse.org/bugs/show_bug.cgi?id=323157
  • https://bugs.eclipse.org/bugs/show_bug.cgi?id=334057
  • EDIT: I have found the problem - but the solution got stuck somewhere in WTP team:

  • https://bugs.eclipse.org/bugs/show_bug.cgi?id=323157#c7
  • https://github.com/eclipse/webtools.webservices/pull/1
  •                 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 the Trailing Slashes being removed

    I'm having the same issue and it appears to be mainly on referencing dotnet WCF and WSE services.

    The only thing I have found to work is to build up the WSDL manually.

    Thanks for contributing an answer to Stack Overflow!

    • Please be sure to answer the question. Provide details and share your research!

    But avoid

    • Asking for help, clarification, or responding to other answers.
    • Making statements based on opinion; back them up with references or personal experience.

    To learn more, see our tips on writing great answers.