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 domain namespace issue

Post new topic  Reply to topic
 Soap domain namespace issue « View previous topic :: View next topic » 
Author Message
WMBSAM
PostPosted: Fri Oct 23, 2009 7:31 pm    Post subject: Soap domain namespace issue Reply with quote

Voyager

Joined: 02 Oct 2009
Posts: 90
Location: Atlanta

Hi ther

i want to construct the following output with soap namespace in it

here is the output:

Quote:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<queryRequest xmlns="http://com/abc/cdef">
<query>54695</query>
<user>Robert</user>
</queryRequest>
</soapenv:Body>
</soapenv:Envelope>


here is my code:

Code:

   SET OutputRoot.Properties = InputRoot.Properties;
   SET OutputRoot.SOAP.Context = InputRoot.SOAP.Context;

      SET OutputRoot.SOAP.Context.Namespace.(SOAP.NamespaceDecl)xmlns = ns6;
      SET OutputRoot.SOAP.Body.ns6:queryRequest.ns6:query= Input.RequestData.query;
      SET OutputRoot.SOAP.Body.ns6:queryRequest.ns6:user = Input.ns30:Header.UserID;


but with the above code it gives me error related to namespace.

Any suggestions?
Thanks in advance
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Sat Oct 24, 2009 5:33 am    Post subject: Re: Soap domain namespace issue Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

WMBSAM wrote:

Any suggestions?


Share the error rather than making us guess what it could be?

What does ns6 evaluate to? It looks a little dubious to me as you seem to be using it for the SOAP.Context.Namespace and your own elements.

I'd have expected you to use http://schemas.xmlsoap.org/soap/envelope/ for the SOAP.Context.Namespace
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 domain namespace issue
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.