[Registry-dev] svn commit r17968 -
branches/registry/1_1/modules/samples/wsdl-sample
deepal at wso2.com
deepal at wso2.com
Thu Jun 5 01:08:46 PDT 2008
Author: deepal
Date: Thu Jun 5 01:08:46 2008
New Revision: 17968
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=17968
Log:
adding wsdl sample
Added:
branches/registry/1_1/modules/samples/wsdl-sample/
branches/registry/1_1/modules/samples/wsdl-sample/readme.txt
Added: branches/registry/1_1/modules/samples/wsdl-sample/readme.txt
URL: http://wso2.org/svn/browse/wso2/branches/registry/1_1/modules/samples/wsdl-sample/readme.txt?pathrev=17968
==============================================================================
--- (empty file)
+++ branches/registry/1_1/modules/samples/wsdl-sample/readme.txt Thu Jun 5 01:08:46 2008
@@ -0,0 +1,41 @@
+WSDL sample
+===========
+
+Introduction
+=========
+The idea of this sample is to understand how registry handles various WSDL related valid ion and value addition. When you upload or import a resource to a registry it will handle the followings
+
+Handle import , if the WSDL has WSDL or Schema import then registry will import those files into the registry and change the WSDL accordingly.
+Registry will automatically validate the WSDL for WSDL rules. If the WSDL is not valid then you can see what the problem with the WSDL using the registry UI
+ WS-I validation , by default any given WSDL file will be validated for WS-I basic profile rules. If a given WSDL is not valid according to the WS-I rules then you can see those error messages in the registry UI.
+
+It should be noted here that , if you upload a WSDL file from your local file system which having import to some other WSDL (relative imports) then those import will not be handle by the registry.
+
+
+WSDL import sample
+===============
+In this sample the goal is to see how registry handle the WSDL with imports to some other WSDL files. For that let's use a real WSDL file , which in Microsoft interop site.
+
+Step 1 : login to the registry and create a directory called sampleWsdl
+Step2 : Browse to the newly created directory and then go to add resource
+Step3 : Next click on Import content from URL radio button and type the following address in the text field.
+http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitB.svc?wsdl
+Step4 : And then you would see registry auto fills the Name and the Media type
+Step5 : change the Name filed as ComplexDataTypesDocLitB.wsdl
+Step6 : Now click on Add button
+Step7 : After few seconds UI will be updated with the new resource, then you will be able to see a number of additional WSDL and Schemas appearing in the directory. All those are due to the WSDL imports in the original WSDL.
+Step8 : If you are familiar with WSDL then if you download the sampleWsdl/ComplexDataTypesDocLitB.wsdl , then you will see that it has different imports then the original
+
+WSDL and WSI validation sample
+========================
+In this sample we looking how registry validate a given WSDL and display WSDL validation results.
+
+Follow all the above steps (if you have not done that before).
+- Then click on the sampleWsdl/ComplexDataTypesDocLitB.wsdl ,
+There you would be able to see a link saying view metadat , then click on that
+It will take you to a new page and that page will contains all the information about the WSDL
+Target Namespace
+Validity of the WSDL
+Validity of the WSI
+
+Note : Try to import an invalid WSDL , and see the WSDL validation message.
\ No newline at end of file
More information about the Registry-dev
mailing list