WsdlImport
open /juddi-gui/home.jsp
click link=Create
clickAndWait link=Register Services from WSDL
type id=wsdlurl http://svn.apache.org/repos/asf/juddi/trunk/juddi-client/src/test/resources/wsdl/sample_1.wsdl
click //a[contains(text(),'Step 2)  Key Domain')]
assertText id=keydomain
click //a[contains(text(),'Step 3)   Business Selection')]
type id=businessname big wsdl
click link=Step 4) Review and Approve
click link=Preview
assertText id=preview WSDL successfully parsed! This will create 1 portType tmodel(s), 1 binding tModel(s), 1 binding(s), and 1 service(s) attached to the business with the key big wsdl .
Services:
Key: uddi:svn.apache.org:service_stockquoteservice
Name: StockQuoteService
Binding Templates:Key: uddi:svn.apache.org:binding_svn.apache.org_stockquoteservice_stockquoteport_80
Access Point: http://location/sampletModels
Key: uddi:svn.apache.org:StockQuoteSoapBinding Name: StockQuoteSoapBindingKey: uddi:svn.apache.org:StockQuotePortType Name: StockQuotePortType
click link=Save
assertText id=preview WSDL successfully parsed! This will create 1 portType tmodel(s), 1 binding tModel(s), 1 binding(s), and 1 service(s) attached to the business with the key big wsdl .
Services:
Key: uddi:svn.apache.org:service_stockquoteservice
Name: StockQuoteService
Binding Templates:Key: uddi:svn.apache.org:binding_svn.apache.org_stockquoteservice_stockquoteport_80
Access Point: http://location/sampletModels
Key: uddi:svn.apache.org:StockQuoteSoapBinding Name: StockQuoteSoapBindingKey: uddi:svn.apache.org:StockQuotePortType Name: StockQuotePortTypeSaving tModel StockQuoteSoapBinding...Error Authentication is required for this API call
Saving tModel StockQuotePortType...Error Authentication is required for this API call
Saving business big wsdl along with our imported service(s)...Error Authentication is required for this API call
type id=username test
type id=password test
click id=loginbutton
assertText //div[@id='preview']/ul[2]/li exact:Key: uddi:svn.apache.org:StockQuoteSoapBinding Name: StockQuoteSoapBinding
clickAndWait link=exact:uddi:svn.apache.org:business_big wsdl
assertText id=Name0Value big wsdl
click link=Discovery
click link=Contacts
click link=Categories
click link=Identifiers
click xpath=(//a[contains(text(),'Services')])[4]
click id=sigtagheader
click link=Operational Info
assertText //div[@id='opinfodiv']/table/tbody/tr[2]/td[2] test
click link=Related Businesses
click xpath=(//a[contains(text(),'Services')])[4]
assertText id=services Business Services - 1 are defined for this business.
Add a Service
Name Key Binding Template StockQuoteService uddi:svn.apache.org:service_stockquoteservice 1
clickAndWait link=exact:uddi:svn.apache.org:service_stockquoteservice
click link=Categories
click link=Binding Template
click id=sigtagheader
click link=Operational Info
assertText //div[@id='opinfodiv']/table/tbody/tr[2]/td[2] test
click link=View as XML
click link=Home
clickAndWait css=img
clickAndWait link=Welcome test