我应该从Web Service soap函数返回到特定的wsdl文件什么

问题描述

我有一个wsdl文件,如下所示,我无法更改。我也有一个Web服务,该服务具有getCar方法,该方法必须提供wsdl文档的数据。这是我的问题:getCar函数应该返回什么,以便它返回的内容与wsdl文件兼容?

<xs:element name="getCar">
<xs:complexType>
<xs:sequence/>
</xs:complexType>
</xs:element>
<xs:element name="getCarResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax24:RxCarE"/>
</xs:sequence>
</xs:complexType>
</xs:element>
.
.
.
<xs:complexType name="RxCarE">
<xs:sequence>
<xs:element minOccurs="0" name="date" nillable="true" type="xs:dateTime"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="owners" nillable="true" type="ax23:RxOwnerR"/>
<xs:element minOccurs="0" name="systemId" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="RxOwnerE">
<xs:sequence>
<xs:element minOccurs="0" name="dateEnter" nillable="true" type="xs:dateTime"/>
<xs:element minOccurs="0" name="id" nillable="true" type="xs:long"/>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)