WS-I の最新動向



Similar documents
WS-I Basic Profile 1.0 の概説

WS-I Basic Profile 1.0 の概説

TravelXMLを利用した Webサービス実証実験デモ

WWW REST

掲示用ヒート表 第34回 藤沢市長杯 2017

XML Consortium Web Web ( ) XML Consortium XML Consortium Web TravelXML Web Web ( Web ) Web XML Consortium 2

★結果★ 藤沢市長杯 掲示用ヒート表

Copyright XML 2005,2006 All rights reserved. XML Consortium Web Web Web Web Web Web Web

SAML

1 2 Sample Sample Sample 3 1

第32回新春波乗り大会2018

MySQLにおけるシステム運用時のポイント

<Documents Title Here>



Oracle Application Server 10g( )インストール手順書

untitled

XMLアクセス機能説明書

2 3


Web Web Web 2

001.doc.pdf

NGGAUM_特別対談_再.indd

BC2007_11_ indd



<Documents Title Here>

講座計画書サンプル

PDF


syuryoku

資料4-1 一時預かり事業について

土壌環境行政の最新動向(環境省 水・大気環境局土壌環境課)


Microsoft Word - Documento2

<4D F736F F D F345F D926E88E698418C6782A982E793648E7194C58EBE95618AC7979D8EE892A082CC B835E936F985E5F E646F63>

Ł½’¬24flNfix+3mm-‡½‡¹724


はじめに

Testing XML Performance

untitled

<90F496CA30305F955C8E862E6169>

2015_kisyuu


REPORT


日本オラクルのSOA戦略

Microsoft Word - 教材ガイド一覧ビデオ.doc

<Documents Title Here>

WebサービスとCORBA

ojo extra_nyuko初校戻し.indd

Oracle Application Server 10g(9

<Documents Title Here>

EPSON エプソンプリンタ共通 取扱説明書 ネットワーク編

untitled

ありがとうございました

EPSON エプソンプリンタ共通 取扱説明書 ネットワーク編

公務員人件費のシミュレーション分析


橡hashik-f.PDF

198

ネットショップ・オーナー2 ユーザーマニュアル


1

新婚世帯家賃あらまし

05[ ]戸田(責)村.indd

/9/ ) 1) 1 2 2) 4) ) ) 2x + y 42x + y + 1) 4) : 6 = x 5) : x 2) x ) x 2 8x + 10 = 0

untitled

untitled

JavaとVisual Basicを使ったWebサービスの実装

P X-M PowerChute Business Edition v7.0.5 Basic 84 E

Windows2000 Edge Components V Edge Components V Java Edge Components

はじめに




DX-PC55_−ç(0)-A


( ) ver.2015_01 2

1

PowerPoint プレゼンテーション

wpEnterpriseSvr.doc

Apache JMeterで負荷試験をしよう!

Microsoft Word - 卒論本文ー渡辺夕紗ー.docx

ジェネリック医薬品販売会社(田辺製薬販売株式会社)の設立に伴う包装変更のご案内


06地図目録.pwd

橡82-93協力員原稿>授業

17. (1) 18. (1) 19. (1) 20. (1) 21. (1) (3) 22. (1) (3) 23. (1) (3) (1) (3) 25. (1) (3) 26. (1) 27. (1) (3) 28. (1) 29. (1) 2

Encryption Security

Web Web Web Web i

( )


untitled

<4D F736F F D2081A193B98BE EA97708CFB8DC08B4B92E D8D878CFB8DC0817A B4B816A81798A6D92E894C5817A2E646F63>


untitled

橡okamura-ppt.PDF

2


Transcription:

IT 1

Testing Tool Port Testing Tools V1.0 User Guide 2

Testing Tool Testing Tools V1.0 User Guide 3

Demo Java Testing Tools SOAP ab cd Monitor Sample SampleWSI ab+ +cd WS-I Testing Tools 1.0 Final log. xml Analyzer http://www.ws-i.org/implementation.aspx Java 2 SE Ver.1.4.2_03 Axis Release 1.1 Apache Tomcat 5.0.19 Basic Profile report. xml 4

How to use Testing Tools (1) Testing Tools WS-I Testing Tools - Final http://www.ws-i.org/implementation.aspx 5

How to use Testing Tools (2) 6

Monitor listen ex) http://localhost:9090/helloworld.jws Web ex) http://localhost:8080/helloworld.jws Web WSDL URL ex) http://localhost:8080/helloworld.jws?wsdl Web UDDI 7

ex) c: wsi-test-tools java bin ex) c: wsi-test-tools java samples ex) C: wsi-test-tools java sample Basic Profile ex) http://www.ws-i.org/profiles/basic/2003-08/basicprofile-1.0a-ja.html 8

Monitor Tool Monitor 9

Monitor Tool Monitor 10

Analyzer Tool WSDL 11

Analyzer Tool Analyzer 12

Analyzer Tool Analyzer Web 13

Basic Profile Test Assertion Document ex) c: wsi-test-tools common docs BasicProfile-1.0a-ja.html ex) http://www.ws-i.org/profiles/basicprofile-1.0.html 14

c: wsi-test-tools java bin WSI_HOME ex) set WSI_HOME=c: wsi-test-tools Monitor monitor config../samples/monitorconfig.xml Web Motnior Analyzer analyzer config../samples/analyzerconfig.xml Comformance Report c: wsi-test-tools java samples report.xml IE 15

MonitorConfig <wsi-monconfig:maninthemiddle> <wsi-monconfig:redirect> <wsi-monconfig:comment>sample App on port 8080.</wsi-monConfig:comment> <wsi-monconfig:listenport>4040</wsi-monconfig:listenport> <wsi-monconfig:schemeandhostport>http://localhost:8080</wsi-monconfig:schemeandhostport> <wsi-monconfig:maxconnections>1000</wsi-monconfig:maxconnections> <wsi-monconfig:readtimeoutseconds>15</wsi-monconfig:readtimeoutseconds> </wsi-monconfig:redirect> </wsi-monconfig:maninthemiddle> Monitor localhost:4040 Server localhost:8080 Monitor exit Log 16

AnalyzerConfig <wsi-analyzerconfig:testassertionsfile>../common/profiles/basicprofiletestassertions.xml </wsi-analyzerconfig:testassertionsfile> <wsi-analyzerconfig:logfile correlationtype="endpoint"> log.xml </wsi-analyzerconfig:logfile> <wsi-analyzerconfig:wsdlreference> <wsi-analyzerconfig:wsdlelement type="port" parentelementname="sampleserviceservice" namespace="http://localhost:8080/wsi/services/sample"> Sample </wsi-analyzerconfig:wsdlelement> <wsi-analyzerconfig:wsdluri> http://localhost:8080/wsi/services/sample?wsdl </wsi-analyzerconfig:wsdluri> </wsi-analyzerconfig:wsdlreference> Analyzer Monitor Log WSDL port Sample WSDL 17

MonitorLog AnalyzerReport 18

AXIS Log Request <?xml version="1.0" encoding="utf-8"?> <soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"> <soapenv:body> <ns1:getmessage soapenv:encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://services.wsi_demo.beacon_it.co.jp"> <username xsi:type="xsd:string"> </username> </ns1:getmessage> </soapenv:body></soapenv:envelope> Response soap:encodingstyle (MUST NOT) ns1 NameSpace WSDL <?xml version="1.0" encoding="utf-8"?> <soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"> <soapenv:body> <ns1:getmessageresponse soapenv:encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://services.wsi_demo.beacon_it.co.jp"> <ns1:getmessagereturn xsi:type="xsd:string">[2004-32-20 16:04:02]: jp.co.beacon_it.wsi_demo.services.sampleservice </ns1:getmessagereturn> </ns1:getmessageresponse> </soapenv:body></soapenv:envelope> 19

(AnalyzerConfig) Analyzer BP Report passedcolor green failedcolor red warningcolor orange notapplicablecolor blue missinginputcolor brown 20

Analyzer Report BP TestAssertions BasicProfile 21

WS-I BP Log Request <?xml version="1.0" encoding="utf-8"?> <soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"> <soapenv:body> <getmessage xmlns="http://www.beacon-it.co.jp/schema/wsi/demo/"> <username xmlns=""> </username> </getmessage> </soapenv:body></soapenv:envelope> Response <?xml version="1.0" encoding="utf-8"?> <soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"> <soapenv:body> <getmessageresponse xmlns="http://www.beacon-it.co.jp/schema/wsi/demo/"> <getmessagereturn xmlns="">[2004-34-20 16:04:49]: jp.co.beacon_it.wsi_demo.services.sampleservice </getmessagereturn> </getmessageresponse> </soapenv:body></soapenv:envelope> 22

Test pass AnalyzerReport Result passed Passed 23

Deployment Descriptor Sample <service name="sample" provider="java:rpc" > <parameter name="classname" value="jp.co.beacon_it.wsi_demo.services.sampleservice"/> <parameter name="allowedmethods" value="getmessage"/> </service> SampleWSI <service name="samplewsi" provider="java:rpc" style="rpc" use="literal"> <parameter name="wsdltargetnamespace" value="http://www.beacon-it.co.jp/schema/wsi/demo/"/> <parameter name="classname" value="jp.co.beacon_it.wsi_demo.services.sampleservice"/> <parameter name="allowedmethods" value="getmessage"/> <operation name="getmessage" qname="getmessage" returnqname="getmessagereturn" returntype="xsd:string" xmlns:xsd="http://www.w3.org/2001/xmlschema" > <parameter name="username" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/xmlschema"/> </operation> </service> Operation NameSpace 24

WSDL Sample - <wsdl:operation name="getmessage"> <wsdlsoap:operation soapaction="" /> - <wsdl:input name="getmessagerequest"> <wsdlsoap:body encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://services.wsi_demo.beacon_it.co.jp" use="encoded" /> </wsdl:input> - <wsdl:output name="getmessageresponse"> <wsdlsoap:body encodingstyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://127.0.0.1:8080/wsi/services/sample" use="encoded" /> </wsdl:output> </wsdl:operation> soap:encodingstyl e SampleWSI - <wsdl:operation name="getmessage"> <wsdlsoap:operation soapaction="" /> - <wsdl:input name="getmessagerequest"> <wsdlsoap:body namespace="http://www.beacon-it.co.jp/schema/wsi/demo/" use="literal" /> </wsdl:input> - <wsdl:output name="getmessageresponse"> <wsdlsoap:body namespace="http://www.beacon-it.co.jp/schema/wsi/demo/" use="literal" /> </wsdl:output> </wsdl:operation> Basic Profile literal 25