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 Error: No operation found matching payload

Post new topic  Reply to topic
 SOAP Error: No operation found matching payload « View previous topic :: View next topic » 
Author Message
kash3338
PostPosted: Thu Jul 29, 2010 2:16 am    Post subject: SOAP Error: No operation found matching payload Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

Hi,

I have a scenario where I have 2 flows, 1 for Request and 1 for REsponse.

1. Request flow: SOAP Input and MQOutput
2. Response flow: MQInput and SOAP Reply.

I am retainng the SOAP Headers from the SOAP Input message. In the response flow, I am nullifying all the MQMD, MQRFH2 headers and reconstructing a structure similar to SOAP input message. Below is the set of code.

SET OutputRoot.HTTPInputHeader = Environment.Variables.HTTPInputHeader;
SET OutputRoot.SOAP.Context = Environment.Variables.SOAPHeader.Context;
SET OutputRoot.SOAP.Header = '';
SET OutputRoot.SOAP.Body = OutputRoot.XMLNSC;
SET OutputLocalEnvironment.Destination.SOAP.Reply.ReplyIdentifier = CAST(Environment.Variables.ReplyIdentifier AS BLOB);
SET OutputRoot.MQMD = NULL;
SET OutputRoot.MQRFH2 = NULL;
SET OutputRoot.XMLNSC = NULL;

I am sending this structure to SOAP reply. I am getting an error saying "PArser exception", SOAP tree cannot be serialized, No operation found matching payload. Please help
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Thu Jul 29, 2010 2:29 am    Post subject: Reply with quote

Grand High Poobah

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

And how pray are you getting the Environment variables (scope = flow) from flow A (soap input) to flow B(soap reply) ??

Hint: use a cursor (REFERENCE) to access your Environment.Variables and verify LASTMOVE(cursor).

Also are you sure that the empty string is the right value for
Quote:
SET OutputRoot.SOAP.Header = '';


Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Jul 29, 2010 2:30 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The environment tree is not shared between flows.

The environment tree is not shared between two invocations of the same flow.
Back to top
View user's profile Send private message
kash3338
PostPosted: Thu Jul 29, 2010 3:32 am    Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

mqjeff wrote:
The environment tree is not shared between flows.

The environment tree is not shared between two invocations of the same flow.


The problem is not with the Environment variables. I have got these values from the first flow through an XML and saved in Environment tree in this flow.

The problem is different here. Please suggest some solution for my question.
Back to top
View user's profile Send private message Send e-mail
mgk
PostPosted: Thu Jul 29, 2010 3:47 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Can you post the output from a trace node showing the message tree just before the SOAP Reply node?
_________________
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
mqjeff
PostPosted: Thu Jul 29, 2010 4:16 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

kash3338 wrote:
mqjeff wrote:
The environment tree is not shared between flows.

The environment tree is not shared between two invocations of the same flow.


The problem is not with the Environment variables. I have got these values from the first flow through an XML and saved in Environment tree in this flow.

The problem is different here. Please suggest some solution for my question.


There was nothing in your original message, the only data we have at this point, to suggest that the Environment tree was populated properly. There's nothing specific to your code that should be wrong, except perhaps trying to set the SOAP Header to an empty string rather than a NULL.

I agree with MGK. show us a trace of the message tree before you call the SOAP Reply.

New data, new responses.
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 Error: No operation found matching payload
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.