I'm getting the following error while calling a SOAP
webservice
Caused by: javax.xml.ws.WebServiceException: Could not find service named { http://services.yell.es }LogonSrv in wsdl http://piquio.intrayell.com:10180/docmanagementapp-5.1/services/LogonSrv?wsdl
My WSDL
file is: http://piquio.intrayell.com:10180/docmanagementapp-5.1/services/LogonSrv?wsdl
Can anyone please tell me what I am doing wrong?
客户端中指定的名称空间( http://services.yell.es )与wsdl文件中的名称空间不匹配。
The targetNamespace
value in your LogonSrv.java
should get from http://piquio.intrayell.com:10180/docmanagementapp-5.1/services/LogonSrv?wsdl
In my situation, I open my wsdl url in chrome, then find targetNamespace
attribute at the begining, set it into my xxxSrv.java
.
Apart from this, I aslo have another file associate to something HttpPort
, the name
in it, I copy from the same wsdl url.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.