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 » One Way call from SOAP Request node and Fault Message

Post new topic  Reply to topic
 One Way call from SOAP Request node and Fault Message « View previous topic :: View next topic » 
Author Message
Pradee
PostPosted: Fri Nov 04, 2011 10:29 am    Post subject: One Way call from SOAP Request node and Fault Message Reply with quote

Newbie

Joined: 29 Jul 2011
Posts: 2

I am using SOAP request node to call a one way web service. I am using the SOAP UI tool as a provider. I am expecting a fault message from provider in case of error and no response if everthing goes ok.

When a valid SOAP request message is sent the message is propogated to out terminal withouit any rtesponse, which is as per expected behaviour.

However, when a invalid SOAP request message is sent, the controls goes to Failure terminal of the SOAP request node, and the error text is as below.

"A SOAP Request node received a response message body, when one was not expected as a OneWay Messsage Exchange Pattern (MEP) used"
I have changed the WSDL file to include the fault in operation tag but there is no change in the behaviour. It still throws same error . I am expecting fault message to flow in fault terminal. Here is the Snippet of wsdl file.


Code:
<operation name="SetContactContext">
   <soap:operation
      soapAction="document/http://abc.com/CustomUI:SetContactContext"></soap:operation>
   <input>
      <soap:body use="literal"></soap:body>
   </input>
   <fault name="SetContactContext_Fault">
      <soap:fault name="SetContactContext_Fault" use="literal"></soap:fault>
   </fault>
</operation>


Can I assume that fault message is not possible in one way call? or I am doing some mistake. Thanks in advance for help
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Nov 04, 2011 11:44 am    Post subject: Reply with quote

Grand High Poobah

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

Quote:
"A SOAP Request node received a response message body, when one was not expected as a OneWay Messsage Exchange Pattern (MEP) used"

Well it looks like the error is quite clear.
Your pattern is a fire and forget. However the service you are calling seems to work on a request / reply pattern...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » One Way call from SOAP Request node and Fault 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.