DECLARE "SOAP-ENV" NAMESPACE 'http://schemas.xmlsoap.org/soap/envelope/';
DECLARE xsi NAMESPACE 'http://www.w3.org/2001/XMLSchema-instance';
DECLARE xsd NAMESPACE 'http://www.w3.org/2001/XMLSchema';
SET OutputRoot.SOAP.Context.Namespace.(SOAP.NamespaceDecl)xmlns:"SOAP-ENV" = 'http://schemas.xmlsoap.org/soap/envelope/';
SET OutputRoot.SOAP.Context.Namespace.(SOAP.NamespaceDecl)xmlns:xsi = xsi;
SET OutputRoot.SOAP.Context.Namespace.(SOAP.NamespaceDecl)xmlns:xsd = xsd;
DECLARE ns1 NAMESPACE 'urn:abc';
SET OutputRoot.SOAP.Body.ns1:abc.(SOAP.NamespaceDecl)xmlns:ns1 = ns1;
SET OutputRoot.SOAP.Body.ns1:abc.(SOAP.Attribute)"SOAP-ENV":encodingStyle ='http://schemas.xmlsoap.org/soap/encoding/';
SET OutputRoot.SOAP.Body.ns1:abc.data.*[] = InputRoot.XMLNSC.*[<].*[];
Posted: Tue Aug 21, 2012 11:45 pm Post subject: Re: reg namespace
Yatiri
Joined: 15 Apr 2008 Posts: 637 Location: Germany
kathir wrote:
Iam unable to open the page.
Got to the official IBM "message broker infocenter" (e.g. search in google), then navigate to:
WebSphere Message Broker Version 8.0.0.1 > Developing message flow applications > Transforming messages > Using ESQL > Writing ESQL > Manipulating messages in the XML domains > Manipulating messages in the XMLNSC domain > The message body > Namespace declarations
=== or ===
Search "Example 2: Declaring an empty prefix" in google (click on the first result that google provides you) _________________ Just use REFERENCEs
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