如何在wsdl文件中找到服务合同?

时间:2016-05-27 07:32:52

标签: wsdl return-type

我有一个wsdl文件要分析。在那里,我得找到service contracts

wsdl文件的一部分:

 <wsdl:types>

 <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
 <s:element name="SubmitApplication">
  <s:complexType>
   <s:sequence>
     <s:element minOccurs="0" maxOccurs="1" name="doc" type="tns:DocApplication" />
     <s:element minOccurs="1" maxOccurs="1" name="submittedDate" type="s:dateTime" />
     <s:element minOccurs="1" maxOccurs="1" name="category" type="s:unsignedByte" />
   </s:sequence>
  </s:complexType>
 </s:element>

  <s:complexType name="DocApplication">
   <s:sequence>
     <s:element minOccurs="1" maxOccurs="1" name="docId" type="s:int" />
     <s:element minOccurs="0" maxOccurs="1" name="title" type="s:string" />
     <s:element minOccurs="0" maxOccurs="1" name="author" type="s:string" />
     <s:element minOccurs="0" maxOccurs="1" name="description" type="s:string" />
     <s:element minOccurs="1" maxOccurs="1" name="datechanged" type="s:dateTime" />
    </s:sequence>
  </s:complexType>

 <s:element name="SubmitApplicationResponse">
  <s:complexType>
   <s:sequence>
     <s:element minOccurs="1" maxOccurs="1" name="SubmitApplicationResult" type="s:boolean" />
   </s:sequence>
  </s:complexType> 

我已经发现其中一个服务合同可以是

DocApplication (int docId, string title, string author, string description, date datechanged) ;

在这里,如何从int文件中找到返回类型(void / wsdl / etc)?

0 个答案:

没有答案