锘??xml version="1.0" encoding="utf-8" standalone="yes"?>产国精品偷在线,中文字幕一区二区三三,国产h视频在线观看 http://www.aygfsteel.com/ttom/zh-cn Tue, 03 Jun 2025 19:24:47 GMT Tue, 03 Jun 2025 19:24:47 GMT 60 XML涓殑鍛藉悕絀洪棿瀛︿範 http://www.aygfsteel.com/ttom/archive/2008/03/14/186199.html鎵樻墭濮?/dc:creator>鎵樻墭濮?/author>Fri, 14 Mar 2008 02:11:00 GMT http://www.aygfsteel.com/ttom/archive/2008/03/14/186199.html http://www.aygfsteel.com/ttom/comments/186199.html http://www.aygfsteel.com/ttom/archive/2008/03/14/186199.html#Feedback 0 http://www.aygfsteel.com/ttom/comments/commentRss/186199.html http://www.aygfsteel.com/ttom/services/trackbacks/186199.html To learn web service, we need to learn WSDL. This xml file defines the services that we deploy in our web service.
Here, we get a example of WSDL.
<? xml version="1.0" encoding="UTF-8" ?>
< wsdl:definitions targetNamespace ="http://localhost:8080/bookstore/services/BookSvc"
xmlns ="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap ="http://xml.apache.org/xml-soap"
xmlns:impl ="http://localhost:8080/bookstore/services/BookSvc"
xmlns:intf ="http://localhost:8080/bookstore/services/BookSvc"
xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns1 ="http://model.bookstore.com"
xmlns:wsdl ="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap ="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd ="http://www.w3.org/2001/XMLSchema" >
< wsdl:types >
< schema targetNamespace ="http://model.bookstore.com" xmlns ="http://www.w3.org/2001/XMLSchema" >
< import namespace ="http://schemas.xmlsoap.org/soap/encoding/" />
< complexType name ="Book" >
< sequence >
< element name ="ISDN" nillable ="true" type ="xsd:string" />
< element name ="name" nillable ="true" type ="xsd:string" />
< element name ="page" type ="xsd:int" />
</ sequence >
</ complexType >
</ Schema >
</ wsdl:types >
< wsdl:message name ="addBookResponse" >
</ wsdl:message >
< wsdl:message name ="addBookRequest" >
< wsdl:part name ="book" type ="tns1:Book" />
</ wsdl:message >
< wsdl:portType name ="BookSvc" >
< wsdl:operation name ="addBook" parameterOrder ="book" >
< wsdl:input message ="intf:addBookRequest" name ="addBookRequest" />
< wsdl:output message ="intf:addBookResponse" name ="addBookResponse" />
</ wsdl:operation >
</ wsdl:portType >
< wsdl:binding name ="BookSvcSoapBinding" type ="intf:BookSvc" >
< wsdlsoap:binding style ="rpc" transport ="http://schemas.xmlsoap.org/soap/http" />
< wsdl:operation name ="addBook" >
< wsdlsoap:operation soapAction ="" />
< wsdl:input name ="addBookRequest" >
< wsdlsoap:body encodingStyle ="http://schemas.xmlsoap.org/soap/encoding/" namespace ="http://bookstore.com" use ="encoded" />
</ wsdl:input >
< wsdl:output name ="addBookResponse" >
< wsdlsoap:body encodingStyle ="http://schemas.xmlsoap.org/soap/encoding/" namespace ="http://localhost:8080/bookstore/services/BookSvc" use ="encoded" />
</ wsdl:output >
</ wsdl:operation >
</ wsdl:binding >
< wsdl:service name ="BookSvcService" >
< wsdl:port binding ="intf:BookSvcSoapBinding" name ="BookSvc" >
< wsdlsoap:address location ="http://localhost:8080/bookstore/services/BookSvc" />
</ wsdl:port >
</ wsdl:service >
</ wsdl:definitions >
So many infomations in this file. But first of all, we need to understand the format of this file.
To me, the defination of namespace is a problem.
My qustions are: For xmlns, xmlns:tns1,xmlns:intf..., What do they mean? How to use them?
After I refered to some articles in internet. I get the answer:
姣忎釜namespace灞炴ч兘澹版槑浜嗕竴涓緝鐣ヨ錛岀敤鍦ㄦ枃妗d腑銆備緥濡?xmlns:xsd"灝變負
But I get another question that no one reply.
refer
'鎴戜滑閮界煡閬擄紝WSDL搴旇鏄牸寮忔紜殑XML鏂囨。銆傝繘涓姝ワ紝榪樺簲璇ユ妸瀹冪湅浣滀竴涓猄chema錛屽洜姝わ紝<definitions>鍏冪礌涓彲浠ュ畾涔塼argetNamespace灞炴э紝琛ㄧず鍦ㄨ繖涓厓绱犱笅鐨勬墍鏈夊厓绱犻兘灞炰簬榪欎釜鐩爣鍚嶇О絀洪棿銆?/p>
xmlns琛ㄧず緙虹渷鐨勫悕縐扮┖闂達紝...'
So what's difference between 'targetnamespace' and default 'xmlns'?
?????????????????????????????????????????????????????????
Reference:
http://www.cnblogs.com/bjzhanghao/archive/2004/10/13/51614.html
]]>鍏充簬UndoManager鐨勫皬鏁呬簨 http://www.aygfsteel.com/ttom/archive/2007/01/17/94406.html鎵樻墭濮?/dc:creator>鎵樻墭濮?/author>Wed, 17 Jan 2007 05:24:00 GMT http://www.aygfsteel.com/ttom/archive/2007/01/17/94406.html http://www.aygfsteel.com/ttom/comments/94406.html http://www.aygfsteel.com/ttom/archive/2007/01/17/94406.html#Feedback 0 http://www.aygfsteel.com/ttom/comments/commentRss/94406.html http://www.aygfsteel.com/ttom/services/trackbacks/94406.html ]]> 鏈榪戝彂鐜頒竴涓患鍚堟х殑璁哄潧錛屼笂闈㈡湁寰堝鍏ㄦ湰灝忚錛屼互鍙婄數褰辨父鎴忎笅杞斤紝榛戜笉閿?/title> http://www.aygfsteel.com/ttom/archive/2007/01/15/93935.html鎵樻墭濮?/dc:creator>鎵樻墭濮?/author>Mon, 15 Jan 2007 05:04:00 GMT http://www.aygfsteel.com/ttom/archive/2007/01/15/93935.html http://www.aygfsteel.com/ttom/comments/93935.html http://www.aygfsteel.com/ttom/archive/2007/01/15/93935.html#Feedback 0 http://www.aygfsteel.com/ttom/comments/commentRss/93935.html http://www.aygfsteel.com/ttom/services/trackbacks/93935.html ]]> java 涓鐞嗗浘鐗囩殑鎿嶄綔錛堝師鍒涳級 http://www.aygfsteel.com/ttom/archive/2006/12/29/90760.html鎵樻墭濮?/dc:creator>鎵樻墭濮?/author>Fri, 29 Dec 2006 08:38:00 GMT http://www.aygfsteel.com/ttom/archive/2006/12/29/90760.html http://www.aygfsteel.com/ttom/comments/90760.html http://www.aygfsteel.com/ttom/archive/2006/12/29/90760.html#Feedback 1 http://www.aygfsteel.com/ttom/comments/commentRss/90760.html http://www.aygfsteel.com/ttom/services/trackbacks/90760.html ]]> 絎竴嬈″彂闅忕瑪 http://www.aygfsteel.com/ttom/archive/2006/12/15/87917.html鎵樻墭濮?/dc:creator>鎵樻墭濮?/author>Fri, 15 Dec 2006 05:08:00 GMT http://www.aygfsteel.com/ttom/archive/2006/12/15/87917.html http://www.aygfsteel.com/ttom/comments/87917.html http://www.aygfsteel.com/ttom/archive/2006/12/15/87917.html#Feedback 0 http://www.aygfsteel.com/ttom/comments/commentRss/87917.html http://www.aygfsteel.com/ttom/services/trackbacks/87917.html ]]>
主站蜘蛛池模板:
凌源市 |
雅安市 |
南部县 |
清远市 |
临高县 |
大新县 |
潜山县 |
米脂县 |
公安县 |
安西县 |
宣恩县 |
疏勒县 |
舒兰市 |
宁德市 |
嘉黎县 |
佛教 |
珠海市 |
庄浪县 |
满城县 |
泊头市 |
邳州市 |
株洲市 |
遂昌县 |
定安县 |
天峨县 |
砚山县 |
即墨市 |
郴州市 |
永吉县 |
马边 |
金沙县 |
光泽县 |
新沂市 |
万源市 |
德化县 |
大荔县 |
新民市 |
鄂州市 |
亚东县 |
东城区 |
松江区 |