问题描述
我在尝试调用 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 (将#修改为@)