WSDL2Client 工具會從 Web 服務的 WSDL 文件產生用戶端。
在您設定好指令行之後,您可以利用下列語法和引數來執行工具:
如果要建立 Skeleton 用戶端實作:如果要建立 Skeleton 用戶端實作,請執行下列動作:
強制引數:
選用引數:
如果要建立用戶端保存檔,請執行下列動作:
<import location="a.xsd" namespace="http://namespaceA"/> <types> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://namespaceA" xmlns:xsd="http://www.w3.org/2001/XMLSchema">換成在綱目元素內有綱目匯入項目:
<types> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://namespaceA" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <import schemaLocation="a.xsd" namespace="http://namespaceA"/>