Service Stack (REST) SOAP and WSDL not working

非 Y 不嫁゛ 提交于 2019-12-05 21:50:10

SOAP endpoints are not available when hosted on a HttpListener Host (i.e. in a stand-alone Console).

You will need to host it in an ASP.NET host to view the XSD's and WSDLs.

The Hello World Example project is actually hosted at /servicestack/ so the correct urls would be:

Metadata page: http://localhost:8082/servicestack/metadata

SOAP 1.1 WSDL: http://localhost:8082/servicestack/soap11

SOAP 1.2 WSDL: http://localhost:8082/servicestack/soap12

Note: the WSDL endpoints above is also the Endpoints of your SOAP web services, i.e. your SOAP Client would POST SOAP messages to the above endpoints.

If you prefer they weren't hosted at a custom path, you will need to will need to change the Web.config to setup servicestack listening on the root / path.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!