English 中文(简体)
Create MockService in soapUI without wsdl
原标题:

Is it somehow possible to create mock service in soapUI without having wsdl file? All I have is sample request and responses. I think that should be possible to generate WSDL from request and response examples with soapUI but I m not able to find any tutorials about it.

最佳回答

Just with request/response you may not be able to construct the WSDL. If you have the end point URL, append ?wsdl to the end point URL,open it in a browser, you should get the WSDL.

Also if you have the schema with you, you can try generating WSDL file from here

问题回答

You can just trick SOAPUi with some dummy WSDL, at least with a single request/response definition! Just replace the requests it generates with the XML document you wanted. You an also add additional requests with entirely different request/responses by copy and pasting!





相关问题
IIS 6.0 hangs when serving a web-service

I am having issues with one of our web-services. It works fine on my development machine (win XP) whether I host it as a separate application or using cassini from Visual studio. Once I deploy on the ...

ASP.net web services

I am using a web service which sets the Thread.CurrentPrincipal object while logging in and soon later when another webmethod of the same web service accesses Thread.CurrentPrincipal, its different/...

Unity Container Disposing and XML Web Service

I am registering some wrapers over un-managed objects in container. How can I dispose of them at the end of the container s lifetime? Please bear in mind I have an XML Web service.

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use ...

热门标签