AnsweredAssumed Answered

How to create a Java Virtual Service from request response pairs

Question asked by tommy_jp on Jul 23, 2015

For example, in the case of Web services (SOAP), if there are request response pairs, it is possible to create virtual service.

 

data-01-req.xml

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<deleteToken xmlns="http://ejb3.examples.itko.com/">
<token xmlns="">-33f69d0b:131ba695793:-7fe6</token>
</deleteToken>
</soapenv:Body>
</soapenv:Envelope>

 

data-01-rsp.xml

<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Body>
<ns2:deleteTokenResponse xmlns:ns2="http://ejb3.examples.itko.com/">
<return>true</return>
</ns2:deleteTokenResponse>
</env:Body>
</env:Envelope>

In the case of Java Virtual Service, is it possible to create virtual services from request response pairs?

If possible, should i describe request response pairs in what format?

Outcomes