每当我创建xsd元素名:ansh时,它(wsdl)不会加载到我的soapui中(soapui不会为此请求创建操作),但是当我将元素名更改为:anshrequest时,会生成请求模板。
<xsd:element name="Ansh">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SignonRq" type="tns:SignonRq" />
<xsd:element name="BillerSvcRq" type="tns:BillerSvcRq" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
这很好:当我将rootelement更改为anshrequest时:
<xsd:element name="AnshRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SignonRq" type="tns:SignonRq" />
<xsd:element name="BillerSvcRq" type="tns:BillerSvcRq" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
soap用户界面:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:acc="http://accountupload.atheeb.net">
<soapenv:Header />
<soapenv:Body>
<acc:AnshRequest>
<acc:SignonRq>
<acc:ClientDt>4</acc:ClientDt>
<acc:LanguagePref>?</acc:LanguagePref>
</acc:SignonRq>
<acc:BillerSvcRq>
<acc:StatusCode>1</acc:StatusCode>
<acc:RqUID>uuid</acc:RqUID>
</acc:BillerSvcRq>
</acc:AnshRequest>
</soapenv:Body>
</soapenv:Envelope>
请帮帮我,我是新来的。我只希望“ansh”是根元素。
暂无答案!
目前还没有任何答案,快来回答吧!