Hi,

I am having a problem with the default namespaces.

i am using a bean and a http components in my workflow.

http <---> fabricatingbean 

In my bean component the response structure will be like 

<op:Show xmlns='http://www.gmail.com/9' xmlns:op='http://www.op.com/op/1'>
<status>
Success
</status>
<code>
12023
</code>
<op:response>
<output>
Sample program
</output>
</op:response>
<op:Show>

The http is converting the response coming out from the bean like:

<op:Show xmlns='http://www.gmail.com/9' xmlns:op='http://www.op.com/op/1'>
<status xmlns='http://www.gmail.com/9' >
Success
</status>
<code xmlns='http://www.gmail.com/9' >
12023
</code>
<op:response>
<output xmlns='http://www.gmail.com/9' >
Sample program
</output>
</op:response xmlns='http://www.gmail.com/9'> 
<op:Show>

That means the http is explictly adding the default namespace.

I am using servicemix-http-3.2 installer.

Can any one please resolve this issue.


-----
Cheers
Praveen Oruganti
"Think before you act and act on what you believe"
-- 
View this message in context: 
http://www.nabble.com/Reg%3A-default-namespace-is-added-in-http-tp18873892p18873892.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to