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 » Problem due to spaces between the URL selector

Post new topic  Reply to topic
 Problem due to spaces between the URL selector « View previous topic :: View next topic » 
Author Message
sankritya
PostPosted: Thu Sep 25, 2008 2:34 am    Post subject: Problem due to spaces between the URL selector Reply with quote

Centurion

Joined: 14 Feb 2008
Posts: 100

Hi All,

I am using a SOAP Request node to invoke a WEB Service. To Simulate the Web Service I have created a Provider flow with SOAP Input Compute and SOAP Reply node.

I am setting the URL for SAOP Request dynamically by getting it from database.
If I take http://localhost:7800/InvokeWebServiceSOAP as URL then it works fine .
But If I take spaces between the URL selector then it is showing the error message
/********************************************************
A SOAP Request node received an HTTP Error Status Code (5xx) with an empty response body, when a SOAP payload was expected.
HTTP/1.1 505 HTTP Version Not Supported
http://localhost:7800/Publish Device Status Soap
*********************************************************/


The URL used is http://localhost:7800/Invoke Web Service SOAP

Note : Same URL is there in the URL selector of the Provider flow.
Back to top
View user's profile Send private message
sankritya
PostPosted: Thu Sep 25, 2008 4:12 am    Post subject: Reply with quote

Centurion

Joined: 14 Feb 2008
Posts: 100

Sorry the error message should be read as

/********************************************************
A SOAP Request node received an HTTP Error Status Code (5xx) with an empty response body, when a SOAP payload was expected.
HTTP/1.1 505 HTTP Version Not Supported
http://localhost:7800/Invoke Web Service SOAP
*********************************************************/
Back to top
View user's profile Send private message
keenlearner
PostPosted: Thu Sep 25, 2008 5:28 am    Post subject: Reply with quote

Acolyte

Joined: 24 Aug 2006
Posts: 62

First of all I do not see any reason using Spaces in the URL selector. i think Its ridiculous

Even you want to use it try with
http://localhost:7800/Publish520Device%20Status%20Soap
Back to top
View user's profile Send private message
keenlearner
PostPosted: Thu Sep 25, 2008 5:29 am    Post subject: Reply with quote

Acolyte

Joined: 24 Aug 2006
Posts: 62

sorry
http://localhost:7800/Publish%20Device%20Status%20Soap
Back to top
View user's profile Send private message
sankritya
PostPosted: Thu Sep 25, 2008 6:52 am    Post subject: Reply with quote

Centurion

Joined: 14 Feb 2008
Posts: 100

Thanks for you help keenlearner . I have even tried using the %20 before sending in the message in place of spaces .but it is of no use as it gives URL not found error when set dynamically. Basically the %20 is not replaced with spaces .
Back to top
View user's profile Send private message
keenlearner
PostPosted: Fri Sep 26, 2008 9:40 pm    Post subject: Reply with quote

Acolyte

Joined: 24 Aug 2006
Posts: 62

I one of my projects I have query a URL using Http Request Node suing the get Method. There was one scenario where we had to query with as below

http://<someUrl>/query.asp?name=Bill Tait

Now since the we had a space in post Code value we regenerated the url as
http://<someUrl>/query.asp?name=Bill%20Tait

and It worked for us.

Try using

SET name = REPLACE(name, ' ', '%20');

should work.
Back to top
View user's profile Send private message
sankritya
PostPosted: Sun Sep 28, 2008 11:43 pm    Post subject: Reply with quote

Centurion

Joined: 14 Feb 2008
Posts: 100

Thanks keenlearner , I have replaced the space with %20 and it is working if I give http://localhost:7800/Publish%20Device%20Status%20Soap in the URL selector of the Provider flow ( the SOAP Input node) . If it is written as http://localhost:7800/Publish Device Status Soap , then I am unable to request the Provider from the SOAP request.
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 » Problem due to spaces between the URL selector
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.