|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
SOAP.NamespaceDecl |
« View previous topic :: View next topic » |
Author |
Message
|
Esa |
Posted: Fri Nov 15, 2013 3:26 am Post subject: SOAP.NamespaceDecl |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
Interesting,
Code: |
CREATE LASTCHILD OF OutputRoot.SOAP.Context.Namespace TYPE SOAP.NamespaceDecl NAME 'xmlns:soapenv' VALUE 'http://schemas.xmlsoap.org/soap/envelope/'; |
produces this output from SOAP Request node:
Code: |
<NS1:Envelope xmlns:NS1="http://schemas.xmlsoap.org/soap/envelope/"> |
On the other hand this
Code: |
SET OutputRoot.SOAP.Context.Namespace.(SOAP.NamespaceDecl)xmlns:soapenv = 'http://schemas.xmlsoap.org/soap/envelope/'; |
produces the expected output:
Code: |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> |
Message Broker 8.0.0.2
SOAP Request is using JMS transport, if that makes any difference... |
|
Back to top |
|
 |
dogorsy |
Posted: Fri Nov 15, 2013 4:23 am Post subject: Re: SOAP.NamespaceDecl |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
Esa wrote: |
Interesting,
Code: |
TYPE SOAP.NamespaceDecl NAME 'xmlns:soapenv' VALUE 'http://schemas.xmlsoap.org/soap/envelope/'; |
|
I would try without the xmlns: in the name as you have already said in the type it is a namespace declaration. Not sure it will work, but worth giving it a go. |
|
Back to top |
|
 |
mgk |
Posted: Fri Nov 15, 2013 4:32 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
I'd suggest this:
Code: |
CREATE LASTCHILD OF OutputRoot.SOAP.Context.Namespace TYPE SOAP.NamespaceDecl NAMESPACE 'xmlns' NAME 'soapenv' VALUE 'http://schemas.xmlsoap.org/soap/envelope/'; |
Kind regards, _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
Esa |
Posted: Fri Nov 15, 2013 4:36 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
Of course!
Thanks, mgk |
|
Back to top |
|
 |
dogorsy |
Posted: Fri Nov 15, 2013 4:40 am Post subject: |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
mgk wrote: |
I'd suggest this:
Code: |
CREATE LASTCHILD OF OutputRoot.SOAP.Context.Namespace TYPE SOAP.NamespaceDecl NAMESPACE 'xmlns' NAME 'soapenv' VALUE 'http://schemas.xmlsoap.org/soap/envelope/'; |
Kind regards, |
yes !, that is the one. Memory failing... |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|