soap - Creating a mock web service from a WSDL file in Python -
We are writing a client for a remote service that exposes SOAP web services and for those services Defines the definition
We do not have access to the system during testing, so we want to write a fake service. We are using Python for the client, so ideally we want to use Python for the fake server, although I think it is not strictly necessary.
This dream uses the WSDL file that we could fill, and then the service of those who paste the WSGI server as a deployment, even though it does not have to be pasted or WSGI. It works reliably The main thing is that we need to create a stub with the "real" WSDL file so that we can not accidentally write a non-duplicate fake server.
We have seen the Library, Sophilib and JDSI using Sood for customer side. However, Vasafi 2 BP stuff in Soapalabab says, "Do not use" on top and ZSI swallows a lot, what do people usually use for this type of thing?
Martin
As a duplicate server I actually have soap ()
This takes a WSDL and automatically generates services and service methods. You can also go and define stable returns or dynamic people using the Groovy script. Take a look to see the web service documentation.
Soap UI comes in an independent and paid Pro version. I have used the free version with great success.
Comments
Post a Comment