2010-12-07 22 views
7
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 

更新:例外WSDLの解析中

Netbeansのは、このエラーを与える:

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

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/"> 
+0

2つの可能性取り除かれることにWSDL定義:WSDLは、WS-Iによると無効である、またはあなたが使用しているツールをそれが壊れていることを確認してください。あなたが提供した情報から、それは私が考えることができるすべてのものです。 –

+0

@ダーリン私は質問を更新しました。あなたはそれを再チェックしたいかもしれません。私はwsdl – l245c4l

+0

全体を投稿できないと思いますが、WSDL全体を投稿できないのはなぜですか?このWSDLが表示されずに有効であることを確認するにはどうすればよいですか? –

答えて

0

私は同じ問題を持つとしています主にdotnet WCFとWSEサービスを参照しているようです。

私が見つけた唯一のことは、手動でWSDLを構築することです。これらのバグで

2

変更

   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"> 

ノート末尾のスラッシュが

関連する問題