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 Request - Compute node

Post new topic  Reply to topic Goto page Previous  1, 2
 SOAP Request - Compute node « View previous topic :: View next topic » 
Author Message
MB Developer
PostPosted: Fri Apr 24, 2015 10:28 am    Post subject: Re: SOAP Request - Compute node Reply with quote

Disciple

Joined: 03 Feb 2014
Posts: 179

Hi fjb_saper,

Once check my code and let me know below code is correct or not

Code:
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:impl="http://blabla.blabla.fr">
   <soapenv:Header/>
   <soapenv:Body>
      <impl:function soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <data xsi:type="x-:Map" xmlns:x-="http://xml.apache.org/xml-soap">
               NULL
         </data>
      </impl:function>
   </soapenv:Body>
</soapenv:Envelope>



Modified code
Quote:


DECLARE xsi NAMESPACE 'http://www.w3.org/2001/XMLSchema-instance';
DECLARE xsd NAMESPACE 'http://www.w3.org/2001/XMLSchema';
DECLARE impl NAMESPACE 'http://blabla.blabla.fr';
DECLARE soapenv NAMESPACE 'http://schemas.xmlsoap.org/soap/envelope/';

CALL CopyMessageHeaders();


SET OutputRoot.XMLNSC.soapenv:Envelope.soapenv:Body.impl:function.{XMLNSC.Attribute}soapenv:encodingStyle = 'http://schemas.xmlsoap.org/soap/encoding/';
SET OutputRoot.XMLNSC.soapenv:Envelope.soapenv:Body.impl:function.data.{XMLNSC.Attribute}xsi:type = 'x-:Map';
SET OutputRoot.XMLNSC.soapenv:Envelope.soapenv:Body.impl:function.data.{XMLNSC.NameSpaceDecl}xmlns:x = 'http://xml.apache.org/xml-soap';
SET OutputRoot.XMLNSC.soapenv:Envelope.soapenv:Body.impl:function.data = 'NULL';



Once check my code and let me know....
_________________
Thanks....
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Apr 24, 2015 10:43 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20698
Location: LI,NY

So what happens when you try it out?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
iibmate
PostPosted: Tue Apr 28, 2015 4:41 am    Post subject: Re: SOAP Request - Compute node Reply with quote

Apprentice

Joined: 17 Mar 2015
Posts: 38
Location: Perth, WA

MB Developer wrote:
Hi fjb_saper,

Once check my code and let me know below code is correct or not

Code:
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:impl="http://blabla.blabla.fr">
   <soapenv:Header/>
   <soapenv:Body>
      <impl:function soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <data xsi:type="x-:Map" xmlns:x-="http://xml.apache.org/xml-soap">
               NULL
         </data>
      </impl:function>
   </soapenv:Body>
</soapenv:Envelope>



Modified code
Quote:


DECLARE xsi NAMESPACE 'http://www.w3.org/2001/XMLSchema-instance';
DECLARE xsd NAMESPACE 'http://www.w3.org/2001/XMLSchema';
DECLARE impl NAMESPACE 'http://blabla.blabla.fr';
DECLARE soapenv NAMESPACE 'http://schemas.xmlsoap.org/soap/envelope/';

CALL CopyMessageHeaders();


SET OutputRoot.XMLNSC.soapenv:Envelope.soapenv:Body.impl:function.{XMLNSC.Attribute}soapenv:encodingStyle = 'http://schemas.xmlsoap.org/soap/encoding/';
SET OutputRoot.XMLNSC.soapenv:Envelope.soapenv:Body.impl:function.data.{XMLNSC.Attribute}xsi:type = 'x-:Map';
SET OutputRoot.XMLNSC.soapenv:Envelope.soapenv:Body.impl:function.data.{XMLNSC.NameSpaceDecl}xmlns:x = 'http://xml.apache.org/xml-soap';
SET OutputRoot.XMLNSC.soapenv:Envelope.soapenv:Body.impl:function.data = 'NULL';



Once check my code and let me know....


Namespace assignations ?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Apr 28, 2015 4:46 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20698
Location: LI,NY

your XMLNSC.Attribute etc should not be in between curly braces {} but in between parentheses ()
Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
MB Developer
PostPosted: Tue Apr 28, 2015 6:26 am    Post subject: Reply with quote

Disciple

Joined: 03 Feb 2014
Posts: 179

Thanks fjb_saper.... and iibmate
_________________
Thanks....
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SOAP Request - Compute node
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.