Hi Mark,
Thanks for the prompt reply.
"specifying an attribute of elementFormDefault=“qualified”, the new document wizard should pickup the prefix you would like to use.
" …
…But how does it know which prefix we want to use? The prefix is defined in each instance, not the schema.
By the way, by specifying “unqualified” default form, does this mean that webMethods will not create prefixes at all? I’ll test this (as we’re currently using qualified), this might short circuit the whole issue.
With re: to web service connectors - is it common (or “best”) practice to avoid these? I’m loathe to write more flow by hand than I have to! 
I understand your point about the prefix never being garaunteed to be anything specific, and I guess that’s kind of my point; Given this fact, isn’t it weird that webMethods locks the document into a specific one, at design time what’s more, as opposed to some “wildcard” approach eg *:elementName.
I suppose this would be fine if there was a simple method to “translate” between instances of the same XML schema but with different arbitrary prefixes - and if I knew how to write one myself I would ;-).
I’ve had trouble with nsDecls in the past, again because the design-/run- time issue, in a situation where I wanted to ensure the same prefix went out as what came in (ie ns: was not acceptable), but this was not necessarily known at design time. Because the prefix/namespace pair is not specified as a value pair, but the NAME of a value and the value, this means the prefix is not readily updatable at run time. In that instance I was able to write a java flow to generate the specific nsDecls for the destination document, based on the one retrieved from the source document.
Thanks again,
Ben.
#soa#API-Management#webMethods