cancel
Showing results for 
Search instead for 
Did you mean: 

XSD XML Element prefix

former_member183909
Active Participant
0 Kudos

Hi

I an trying to create an XSD so that I can create a message with prefix on XML elements - for example I want <enab:ExportData> but having tried various things in XSD. I import XSD as an external definition and use it in a message mapping but I always end up with <ns1:ExportData> Any ideas?

Accepted Solutions (1)

Accepted Solutions (1)

former_member190293
Active Contributor
0 Kudos

Hi Jonny!

Actually, xml namespace prefix in general shouldn't be the problem since it's just a kind of alias for namespace string itself. But you could use XSL transformation for your message mapping.

Regards, Evgeniy.

Answers (1)

Answers (1)

former_member183909
Active Participant

Hi Evgeniy....you are correct I just wanted the SAP PO message mapping request to look the same as when I test it using SOAPUI; so I created my own XSD but seems that message mapping ignores any namespace prefix I tell it to use. Thanks anyway.