ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SOAP.NamespaceDecl

Post new topic  Reply to topic
 SOAP.NamespaceDecl « View previous topic :: View next topic » 
Author Message
Esa
PostPosted: Fri Nov 15, 2013 3:26 am    Post subject: SOAP.NamespaceDecl Reply with quote

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
View user's profile Send private message
dogorsy
PostPosted: Fri Nov 15, 2013 4:23 am    Post subject: Re: SOAP.NamespaceDecl Reply with quote

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
View user's profile Send private message
mgk
PostPosted: Fri Nov 15, 2013 4:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Esa
PostPosted: Fri Nov 15, 2013 4:36 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

Of course!

Thanks, mgk
Back to top
View user's profile Send private message
dogorsy
PostPosted: Fri Nov 15, 2013 4:40 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SOAP.NamespaceDecl
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.