, . WSDL :
<wsdl:message name="IBusinessUnitDAO_GetBusinessUnitProjects_InputMessage">
<wsdl:part name="parameters" element="tns:GetBusinessUnitProjects" />
</wsdl:message>
<wsdl:message name="IBusinessFunctionDAO_GetBusinessFunctionProjects_InputMessage">
<wsdl:part name="parameters" element="tns:GetBusinessFunctionProjects" />
</wsdl:message>
xsd, tns:, :
<xs:element name="GetBusinessUnitProjects">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="businessUnitRefID" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetBusinessFunctionProjects">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="businessFunctionRefID" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
, , , , wsdl . , , , , . , . .
[ServiceContract(Namespace="Tracking/BusinessFunction")]
public partial interface IBusinessFunctionDAO {
[OperationContract]
BusinessFunction GetBusinessFunction(Int32 businessFunctionRefID);
[OperationContract]
IEnumerable<Project> GetProjects(Int32 businessFunctionRefID);
}
[ServiceContract(Namespace="Tracking/BusinessUnit")]
public partial interface IBusinessUnitDAO {
[OperationContract]
BusinessUnit GetBusinessUnit(Int32 businessUnitRefID);
[OperationContract]
IEnumerable<Project> GetProjects(Int32 businessUnitRefID);
}
WSDL, WSDL . , . WSDL :
//File: Tracking.BusinessFunction.wsdl
<wsdl:message name="IBusinessFunctionDAO_GetProjects_InputMessage">
<wsdl:part name="parameters" element="tns:GetProjects" />
</wsdl:message>
//File: Tracking.BusinessUnit.wsdl
<wsdl:message name="IBusinessUnitDAO_GetProjects_InputMessage">
<wsdl:part name="parameters" element="tns:GetProjects" />
</wsdl:message>
, , , . xsd, , :
//File: Tracking.BusinessFunction.xsd
<xs:element name="GetProjects">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="businessFunctionRefID" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
//File: Tracking.BusinessUnit.xsd
<xs:element name="GetProjects">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="businessUnitRefID" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
, , , . , WSDL, , .