Author |
Message
|
br_other |
Posted: Tue Mar 23, 2010 2:45 am Post subject: WMB - Namespace minor change |
|
|
Newbie
Joined: 16 Mar 2010 Posts: 7
|
Hello everyone.
As I already wrote in my previous post, I'm new in WBM, therefore I'll appreciate if you give ma hand regarding the issue I have.
My message contain the following contain data which produces the following XML:
Code: |
<NS1:MyElement xmlns:NS1="http://tempuri.org/">
<Header>
...
</Header>
<Request>
...
</Request>
</NS1:MyElement> |
The issue is that on the other side of the queue where I have to post the message is listening application which expecting exclusively the following format:
Code: |
<MyElement xmlns="http://tempuri.org/">
<Header>
...
</Header>
<Request>
...
</Request>
</MyElement> |
The dump looks like:
Code: |
(0x01000000):XMLNSC = ( ['xmlnsc' : 0x10824fa58]
(0x01000000)http://tempuri.org/:MyElement = ( ['xmlnsc' : 0x108250a78]
(0x01000000):Header = (
....
)
(0x01000000):Request = (
....
)
)
) |
Can you please tell me, is there any possibility to copy or modify this part, so I can get the result I need.
Thank you in advance! |
|
Back to top |
|
 |
kimbert |
Posted: Tue Mar 23, 2010 3:44 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
|
Back to top |
|
 |
mqjeff |
Posted: Tue Mar 23, 2010 4:05 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
br_other |
Posted: Tue Mar 23, 2010 6:03 am Post subject: |
|
|
Newbie
Joined: 16 Mar 2010 Posts: 7
|
Thank you for the swift response guys.
That solve the issue.
Also I did adapt the code of robgfrk to change the ns of the fileds as well.  |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Mar 23, 2010 6:13 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
br_other wrote: |
Also I did adapt the code of robgfrk to change the ns of the fileds as well.  |
That shouldn't have been necessary and may have changed the meaning of your document. |
|
Back to top |
|
 |
kimbert |
Posted: Wed Mar 24, 2010 1:42 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
I agree with mqjeff. If your original question was accurate, then you have probably broken something. |
|
Back to top |
|
 |
|