欢迎来到天天文库
浏览记录
ID:9302531
大小:123.00 KB
页数:13页
时间:2018-04-27
《tiptop fglwsdl命令使用详解》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、Thefglwsdltool(WSDLandXSD)Topics·Usingfglwsdl·GeneratingfilesforaGWSClientoTheWebServiceerrorstructureoThegeneratedfunctionsoThegeneratedhandlers(option-domHandler)oExampleoutputoUsingthegeneratedfunctions·GeneratingfilesforaGWSServeroExampleoutputoW
2、ritingyourfunctionsToaccessaremoteWebService,youfirstmustgettheWSDLinformationfromtheserviceprovider.SampleservicescanbefoundthroughUDDIregistries(http://www.uddi.org),oronothersitessuchasXMethods(http://www.xmethods.net).UsingfglwsdlThefglwsdltool,p
3、rovidedaspartoftheGeneroWebServices(GWS),allowsyoutogettheWSDLdescriptionofanyWebServicethatwillbeaccessedbyaGWSClientapplication,ortouseaWSDLdescriptionwhenyouarecreatingacorrespondingGWSServerapplication.Italsoallowsyoutogenerate4GLdatatypesfromXML
4、schemas(alsoknownasXSD).Syntax:fglwsdl[-command]5、url6、regexvalue> where:·commandisoneofthecommand-lineoptions·filenameisthenameofaWSDLdescriptionfileforaWebServiceoraXMLschemafile orurl istheweblocationofaWSDLdescriptionforapubl7、ishedWebServiceorthelocationofanXSDschemaresourceontheweb.Forexample,providethehostserverandthenameoftheservice:http:///?WSDLNote:Asfglwsdldoesnotsupporthttps,togenerateastubfromahttpsurl,youhavetosavetheWSDLfileloca8、llyandcreatethestubfromthislocalfile.CommandLineOptions: Command Description-VDisplayversioninformation-hDisplaythishelp-lListservicesfromaWSDLorvariablesfromaXSD-c[options]Generateclientstub(default)tobeusedinaGWSClientapplication-s[options]Generate9、serverstubtobeusedinaGWSServerapplication-x[options]GeneratedatatypesfromaXMLschema(XSD)TheoptionsforthegenerationoftheclientorserverstubarelistedbelowinthespecificWSDLoptionsandintheCommonoptions.Theseoptionscanalsobeusedwithout -c,ifyouaregeneratin10、gaclientstub(thedefault).TheoptionsforthegenerationofdatatypesarelistedbelowinthespecificXSDoptionsandintheCommonoptions.The-xoptioncannotbeusedwith-cor-s.ThereisalsoanextracommandtovalidatearegularexpressionagainstavalueasdescribedinthespecificExtra
5、url
6、regexvalue> where:·commandisoneofthecommand-lineoptions·filenameisthenameofaWSDLdescriptionfileforaWebServiceoraXMLschemafile orurl istheweblocationofaWSDLdescriptionforapubl
7、ishedWebServiceorthelocationofanXSDschemaresourceontheweb.Forexample,providethehostserverandthenameoftheservice:http:///?WSDLNote:Asfglwsdldoesnotsupporthttps,togenerateastubfromahttpsurl,youhavetosavetheWSDLfileloca
8、llyandcreatethestubfromthislocalfile.CommandLineOptions: Command Description-VDisplayversioninformation-hDisplaythishelp-lListservicesfromaWSDLorvariablesfromaXSD-c[options]Generateclientstub(default)tobeusedinaGWSClientapplication-s[options]Generate
9、serverstubtobeusedinaGWSServerapplication-x[options]GeneratedatatypesfromaXMLschema(XSD)TheoptionsforthegenerationoftheclientorserverstubarelistedbelowinthespecificWSDLoptionsandintheCommonoptions.Theseoptionscanalsobeusedwithout -c,ifyouaregeneratin
10、gaclientstub(thedefault).TheoptionsforthegenerationofdatatypesarelistedbelowinthespecificXSDoptionsandintheCommonoptions.The-xoptioncannotbeusedwith-cor-s.ThereisalsoanextracommandtovalidatearegularexpressionagainstavalueasdescribedinthespecificExtra
此文档下载收益归作者所有