我正在开发SOAP Web服务。我正在以下列形式发送请求
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:q0="http://gramenerit.com/BankService/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<q0:XYZDetails>
<field name="abc">1001121</field>
</q0:XYZDetails>
</soapenv:Body>
</soapenv:Envelop>
但作为回应我遇到了错误
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>unknown</faultstring>
<detail />
</soapenv:Fault>
我的回复类型xsd是
<xsd:element name="XYZResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="xyz_response" maxOccurs="unbounded" minOccurs="0">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute type="xsd:string" name="name" use="optional"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
我检查了服务器日志,但没有显示任何错误。如何解决?