check wsi compliance for wsdl


1.soapuiを使用してwsdlがwsi(attachment pic)に適合していることを確認する
2.wsi test tools
1)fromのダウンロードhttp://www.ws-i.org/Testing/Tools/2005/06/WSI_Test_Java_Final_1.1.zip、cディスクに解凍
2)環境変数を構成し、pathに追加する:
C:\wsi-test-tools\java\bin;
3)プロファイルの変更:
eg.wsdlのプロファイル(myConfig.xml):

<wsi-analyzerConfig:configuration name="Sample Basic Profile Analyzer Configuration" 
    xmlns:wsi-analyzerConfig="http://www.ws-i.org/testing/2004/07/analyzerConfig/">
  <wsi-analyzerConfig:description>
    This file contains a sample of the configuration file for
    the Basic Profile Analyzer, which can be used with the
    other sample files.
  </wsi-analyzerConfig:description>

  <wsi-analyzerConfig:verbose>false</wsi-analyzerConfig:verbose>
  <wsi-analyzerConfig:assertionResults type="all" messageEntry="true" failureMessage="true"/>
  <wsi-analyzerConfig:reportFile replace="true" location="report.xml">
    <wsi-analyzerConfig:addStyleSheet href="c:/wsi-test-tools/common/xsl/report.xsl" type="text/xsl"/>
  </wsi-analyzerConfig:reportFile>
  <wsi-analyzerConfig:testAssertionsFile>
     c:/wsi-test-tools/common/profiles/BasicProfile_1.1_TAD.xml
  </wsi-analyzerConfig:testAssertionsFile> 
  <wsi-analyzerConfig:logFile correlationType="endpoint">
    c:/wsi-test-tools/java/samples/log.xml
  </wsi-analyzerConfig:logFile> 
  <wsi-analyzerConfig:wsdlReference>
    <wsi-analyzerConfig:wsdlElement type="binding"
namespace="http://services.test.esb.talend.org/Standard">
localhostBinding
</wsi-analyzerConfig:wsdlElement>
    <wsi-analyzerConfig:wsdlURI>
      c:/StandardTestService.wsdl
    </wsi-analyzerConfig:wsdlURI>
  </wsi-analyzerConfig:wsdlReference> 
</wsi-analyzerConfig:configuration>

5)Analyzerを実行する:
C:\wsi-test-tools\java\samples>analyzer -config c:/myConfig.xml
6)ieブラウザで開く:C:wsi-test-toolsjavasamplesreport.xml
詳細なレポートが表示されます
ポイントIDで詳細を表示できます
参考資料:
http://www.oracle.com/technetwork/developer-tools/jdev/wsi-howto-091316.html#wsdl
http://samir.kherzi.free.fr/publications/How%20to%20check%20that%20a%20WSDL%20is%20WS-I%20BP.pdf
http://www.ibm.com/developerworks/cn/webservices/ws-wsitest/