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 without response

Post new topic  Reply to topic
 SOAP request without response « View previous topic :: View next topic » 
Author Message
PiWer
PostPosted: Fri Jul 11, 2008 4:48 am    Post subject: SOAP request without response Reply with quote

Newbie

Joined: 11 Jul 2008
Posts: 6

Here in my flow I want to do a SOAP request to another webservice. But this webservice doesn't send a response.

I've tried two things:

1. SOAPRequest node. When I use this node I've an error saying: A SOAP Request node received an empty response body, when a SOAP message body was expected.

The message that is received is HTTP/1.1 202 Accepted, and not a SOAP message.

2. SOAPAsyncRequest node. When I use this node, I have this error: Failed to find matching AsyncResponse node match for this Async Request node

I can solve the last one, by putting a SOAPAsyncResponse node in my flow that does nothing. But I hope there are better solutions ...

Thanks in advance,
Pieter
Back to top
View user's profile Send private message
mgk
PostPosted: Fri Jul 11, 2008 7:28 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Hi.

Remember the SOAP nodes are WSDL driven. This means that they expect the messages sent and received to match the WSDL definition. Therefore you must change your WSDL to match what you are trying to do. In this case you need to:

1: Model the operation as a "One Way" MEP (Message Exchange Pattern) (by ensuring the Operation you are calling only has an "Input" section).

2: Make the service return an empty "200 OK" or "202 Ack" when called.
_________________
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
PiWer
PostPosted: Mon Jul 14, 2008 11:32 pm    Post subject: Reply with quote

Newbie

Joined: 11 Jul 2008
Posts: 6

I've changed the Operation in the wsdl and now everything is working fine!

Thx,
Pieter
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 request without response
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.