如何解决在此服务的 WSDL 中未定义获取操作“对象”
我在尝试调用 NUSOAP 服务时遇到以下错误。有没有人遇到过类似的问题?
org.springframework.ws.soap.client.soapFaultClientException: 此服务的 WSDL 中未定义“EmployeeRequest”操作
public EmployeeDetails getEmployee(EmployeeRequest request)
{
template=new webservicetemplate(marshaller);
return template.marshalSendAndReceive("https://test.com/MytestWebServices.PHP",request);
}
WSDL 中的类型
<xsd:complexType name="EmployeeRequest">
<xsd:all>
<xsd:element name="empId" type="xsd:int"/>
<xsd:element name="empName" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。