Share this page

# Preserve XML namespace prefixes

Override Service Virtualization default functionality to preserve original namespace prefixes in your messages.

When simulating SOAP and XML messages, Service Virtualization normalizes the namespace prefixes by default. This means that some messages are simulated using different XML namespace prefixes than the prefixes that were learned or imported from the real service.

This early access feature instructs Service Virtualization to keep the original prefixes, and use them during simulation.

Supported for these messaging protocols: SOAP, XML

Preserve namespace prefixes

1. Prerequisite: Enable the Enable Learning XML Namespace Prefixes early access feature. For details, see Early access features.

2. Enable the feature in your virtual service.

   In the Service Description Editor, under XML Schemas, select Learn XML Namespace Prefixes.

3. Learn or import messages from the real service.

Result: During simulation, prefixes are maintained.

Disabling the feature

If you disable the feature, Service Virtualization continues to use the learned/imported prefixes. To remove that metadata, you need to relearn or reimport messages after disabling the feature.

https://admhelp.microfocus.com Service Virtualization 8942
Tips to improve your search results... Service Virtualization Help Center SV Help 5.4-5.4.1 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: