Hi Kevin,
Thanks for your reply. Please find inline comments to your questions below -
Are you sure it's the namespace? In 9.5.1 I'm able to successfully create a JMS service from RR pairs with namespaces in the response. Even when some responses have namespaces and some don't, it still works for me. -------- I guess it's because the responses are referring to different namespaces and schemas, as I am able to create VSI for Response which don't have references to namespace and schema .
Are you virtualizing a real service with legitimate responses and adding in XML schema validation on top of that, or is this service just for the purpose of validating XML schema? ----- I have system which generate response on the results of schema validation and place accordingly the response message to topic. An this service will be used in performance testing requirements.
If it's the former, then I have some questions.
- What data protocols are you using? --- I am using XML , Request Data manager, Generic XML payload parser.
- Are you sure the RR pair format/filenames are correct? -- Yes, Request-req.xml and Response1-rsp1.xml , REsponse2-rsp2.xml
- Depending on the DPH you're using and whether you selected 'Treat all transactions as Stateless' at the beginning, there is probably a screen during the recording process where you can inspect your transactions' responses to make sure they're present before the VSI is generated. Do you see the response bodies at this stage? ---- No I can't see responses in that stage.
- Where do your multiple response channels come into play? By default, when importing RR pairs it will assign each response to the first response channel in your list. Is your plan to post-process the VSI and modify the responses' 'channel.name' property accordingly, or are you planning on adding something to the VSM to validate the XML schema of the request and then modify the response's channel? ----- I am planning to validate XML schema of incoming request at listen step and accordingly update modify the responses' 'channel.name' property.
Thanks