Forum Discussion

cfreel's avatar
cfreel
New Contributor
16 years ago

MockServices for general XML requests?

Hi, and sorry if this is a stupid question  ,

We have a system that provides a WebServices front end to several other systems, and would like to load test our system while mocking those systems out.  The problem is that the external systems really have an XML over HTTP interface, with no WSDL's available.  I thought I could trick things out with requests/responses with an xsd:anyType, but I still seem to need to provide a WSDL and define some namespace, so it's not the same interface.

I read an old post (http://www.eviware.com/forums/index.php?topic=531.0) which seemed to be similar, but I think my situation may still be unique.

Is there any way to get a SoapUI MockService to just accept whatever I send it?  Maybe some way to turn off/override validation?

Thanks much for your time,
Chris

1 Reply

  • cfreel's avatar
    cfreel
    New Contributor
    So allow me to self-reply with a follow-up of what I did.

    Basically, just wrote a little http proxy program in java and threw it in between my app and the SoapUI Mock.

    If you're searching for a starter, the one I used for inspiration was off the O'Reilly site:

    http://examples.oreilly.com/9781565923713/

    Look at ProxyServer.java.