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 » creating a namespace message

Post new topic  Reply to topic
 creating a namespace message « View previous topic :: View next topic » 
Author Message
kirankinnu
PostPosted: Thu Sep 08, 2005 7:16 am    Post subject: creating a namespace message Reply with quote

Centurion

Joined: 12 Jun 2004
Posts: 128
Location: Chicago, IL

I want to generate a XMLNS out message but not able to resolve the namespace declarations.This is the code .

DECLARE soapenv NAMESPACE 'http://schemas.xmlsoap.org/soap/envelope/';
DECLARE wsa NAMESPACE 'http://schemas.xmlsoap.org/ws/2004/08/addressing';
DECLARE cnaAddressing NAMESPACE 'http://www.cna.com/services/runtime/addressing';

SET OutputRoot.XMLNS.soapenv:Envelope.(XML.NamespaceDecl)xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/';
SET OutputRoot.XMLNS.soapenv:Envelope.soapenv:Header.wsa:MessageID.(XML.NamespaceDecl)xmlns:wsa='http://schemas.xmlsoap.org/ws/2004/08/addressing';

SET OutputRoot.XMLNS.soapenv:Envelope.soapenv:Header.wsa:ReplyTo.(XML.NamespaceDecl)xmlns:cnaAddressing='http://www.cna.com/services/runtime/addressi';

SET OutputRoot.XMLNS.soapenv:Envelope.soapenv:Header.wsa:To.(XML.Attribute)cnaAddressing:packageName =cnaHeader.CNA_HEADER.CNA_SERVICE_PORTION.CNA_SERVICE_PKG;

but it is not able to resolve the namespace wsa in the second and third output statement.Here is the out put I get when i run the flow.


<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<wsa:MessageID xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
<NS1:ReplyTo xmlns:NS1="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:cnaAddressing="http://www.cna.com/services/runtime/addressi"/>
<NS2:To xmlns:NS2="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:NS3="http://www.cna.com/services/runtime/addressing" NS3:packageName="package"/>
</soapenv:Header>
</soapenv:Envelope>

Any help is greatly appreciated.
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 » creating a namespace message
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.