我试图通过在Implementation选项卡中选择WSDL Endpoint来在WSO2 API Manager中公开WSDL。 并分别提供服务名称和端口。
但在测试相同时,从Api商店,响应是0 - 没有响应机构。此外,WSDL也未被调用。
请帮助解决这个问题。 我检查了很多博客和视频,但找不到确切的解决方案。
我使用的Ex WSDL是:https://ws.cdyne.com/phoneverify/phoneverify.asmx?wsdl
答案 0 :(得分:0)
使用相同的wsdl并使用api manager公开服务并从Web服务器获得响应。但是根据上面发布的查询,您正在使用api store测试soap服务。您发布到Web服务的参数可能不匹配。因此,使用soapUI等工具来测试Web服务。
在公开SOAP服务时使用以下内容
SOAP WSDL - https://ws.cdyne.com/phoneverify/phoneverify.asmx?wsdl
SOAP Endpoint - https://ws.cdyne.com/phoneverify/phoneverify.asmx
参考 -
[2] http://www.vitharana.org/2015/01/soap-web-service-as-rest-api-using-wso2.html
[3] https://docs.wso2.com/display/AM191/Invoke+an+API+using+a+SOAP+Client