|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Web service address problems |
« View previous topic :: View next topic » |
Author |
Message
|
harelmoshe1 |
Posted: Mon Jan 09, 2006 4:56 am Post subject: Web service address problems |
|
|
Apprentice
Joined: 29 Dec 2005 Posts: 41
|
Hey,
I wrote a flow which uses the HTTPInput node, acting as a web service.
When i test it, it acts weird - While having the address http://xxx.xxx.xxx.xxx:7080/WS/T-C/ as the address in the HTTPInput node, everything works fine. Once i changed it to http://xxx.xxx.xxx.xxx:7080/WS/T-C, i.e with no '/' at the end, all the requests sent to the new address resulted in timeout, as if nothing listens.
Of course i saved everything and re-deployed everything needed after changing the address, but it still insists not to work so i decided to post it here. The problem is i must use an address with no '/' at the end, because another system which is not under my responsiblity uses this address, and i can change it.
Thanks in advance,
Harel |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jan 09, 2006 5:00 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Do you have the slash in the URL Selector field of your HTTPInput node? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
harelmoshe1 |
Posted: Mon Jan 09, 2006 6:42 am Post subject: |
|
|
Apprentice
Joined: 29 Dec 2005 Posts: 41
|
Yeah, i do... it's so weird, i even copy & pasted the addresses on both the URL selector field and the client which sends the HTTP request to the web-service, in order to ensure they are identical, but it still works only with the '/' at the end  |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jan 09, 2006 6:50 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
So, what you really want to use is 'WS/T-C'.
But you put 'WS/T-C/' into your URL Selector? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mgk |
Posted: Mon Jan 09, 2006 8:07 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
I know this is going to sound odd, but try to stop and restart the broker twiceafter making this change from a selector with a / to one without.
Also, you can use a wildcard character of * to match against several different selectors at once if that would help. E.G., a selector of:
/WS/T-C*
would match a url of
/WS/T-C/
and
/WS/T-C
but, be aware it would also match other urls such as:
/WS/T-C/fred/a/b/etc/etc/etc
regards, _________________ 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|