锘??xml version="1.0" encoding="utf-8" standalone="yes"?>产国精品偷在线,中文字幕一区二区三三,国产h视频在线观看http://www.aygfsteel.com/ttom/zh-cnTue, 03 Jun 2025 19:24:47 GMTTue, 03 Jun 2025 19:24:47 GMT60XML涓殑鍛藉悕絀洪棿瀛︿範http://www.aygfsteel.com/ttom/archive/2008/03/14/186199.html鎵樻墭濮?/dc:creator>鎵樻墭濮?/author>Fri, 14 Mar 2008 02:11:00 GMThttp://www.aygfsteel.com/ttom/archive/2008/03/14/186199.htmlhttp://www.aygfsteel.com/ttom/comments/186199.htmlhttp://www.aygfsteel.com/ttom/archive/2008/03/14/186199.html#Feedback0http://www.aygfsteel.com/ttom/comments/commentRss/186199.htmlhttp://www.aygfsteel.com/ttom/services/trackbacks/186199.htmlTo 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 GMThttp://www.aygfsteel.com/ttom/archive/2007/01/17/94406.htmlhttp://www.aygfsteel.com/ttom/comments/94406.htmlhttp://www.aygfsteel.com/ttom/archive/2007/01/17/94406.html#Feedback0http://www.aygfsteel.com/ttom/comments/commentRss/94406.htmlhttp://www.aygfsteel.com/ttom/services/trackbacks/94406.html

]]>
鏈榪戝彂鐜頒竴涓患鍚堟х殑璁哄潧錛屼笂闈㈡湁寰堝鍏ㄦ湰灝忚錛屼互鍙婄數褰辨父鎴忎笅杞斤紝榛戜笉閿?/title><link>http://www.aygfsteel.com/ttom/archive/2007/01/15/93935.html</link><dc:creator>鎵樻墭濮?/dc:creator><author>鎵樻墭濮?/author><pubDate>Mon, 15 Jan 2007 05:04:00 GMT</pubDate><guid>http://www.aygfsteel.com/ttom/archive/2007/01/15/93935.html</guid><wfw:comment>http://www.aygfsteel.com/ttom/comments/93935.html</wfw:comment><comments>http://www.aygfsteel.com/ttom/archive/2007/01/15/93935.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/ttom/comments/commentRss/93935.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/ttom/services/trackbacks/93935.html</trackback:ping><description><![CDATA[http://www.5ud.net 灝辨槸榪欎釜緗戠珯銆?img src ="http://www.aygfsteel.com/ttom/aggbug/93935.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/ttom/" target="_blank">鎵樻墭濮?/a> 2007-01-15 13:04 <a href="http://www.aygfsteel.com/ttom/archive/2007/01/15/93935.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>java 涓鐞嗗浘鐗囩殑鎿嶄綔錛堝師鍒涳級http://www.aygfsteel.com/ttom/archive/2006/12/29/90760.html鎵樻墭濮?/dc:creator>鎵樻墭濮?/author>Fri, 29 Dec 2006 08:38:00 GMThttp://www.aygfsteel.com/ttom/archive/2006/12/29/90760.htmlhttp://www.aygfsteel.com/ttom/comments/90760.htmlhttp://www.aygfsteel.com/ttom/archive/2006/12/29/90760.html#Feedback1http://www.aygfsteel.com/ttom/comments/commentRss/90760.htmlhttp://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 GMThttp://www.aygfsteel.com/ttom/archive/2006/12/15/87917.htmlhttp://www.aygfsteel.com/ttom/comments/87917.htmlhttp://www.aygfsteel.com/ttom/archive/2006/12/15/87917.html#Feedback0http://www.aygfsteel.com/ttom/comments/commentRss/87917.htmlhttp://www.aygfsteel.com/ttom/services/trackbacks/87917.html

]]>
主站蜘蛛池模板: 凌源市| 雅安市| 南部县| 清远市| 临高县| 大新县| 潜山县| 米脂县| 公安县| 安西县| 宣恩县| 疏勒县| 舒兰市| 宁德市| 嘉黎县| 佛教| 珠海市| 庄浪县| 满城县| 泊头市| 邳州市| 株洲市| 遂昌县| 定安县| 天峨县| 砚山县| 即墨市| 郴州市| 永吉县| 马边| 金沙县| 光泽县| 新沂市| 万源市| 德化县| 大荔县| 新民市| 鄂州市| 亚东县| 东城区| 松江区|