Raidwan wrote: > Hi, > > I am currently working on a BPEL project in a specific context (Servicemix > 3.2.3 (on console mode with tomcat 6/jdk 1.5) / ODE jbi 1.3.3), but my > question is not due of my context. > > I want to manipulate xml message without namespace (xmlns) in BPEL, by > executing XPATH query. > When i assign a literal xml value to a variable, if i don't specify a > namespace, ODE engine put the namespace of the process. ... > The callMethodRequest is in rigth namespace (as specify in my wsdl) but my > question is why the methodName and parameters tags took the default > namespace ? > Is there any way to prevent this ? > My solution was to specify an xmlns="" on these tags... but that's not > really nice...
That's XML, not ODE. Elements that have no prefix are automatically bound the default namespace (xmlns="..."). So either use xmlns="" in elements that shall be in the null namespace or just don't use a default namespace and prefix your BPEL elements. HTH, Tammo -- Tammo van Lessen - http://www.taval.de
