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 » Funny HTTP call

Post new topic  Reply to topic
 Funny HTTP call « View previous topic :: View next topic » 
Author Message
francoisvdm
PostPosted: Thu Oct 04, 2007 1:03 am    Post subject: Funny HTTP call Reply with quote

Partisan

Joined: 09 Aug 2001
Posts: 332

MB 602 on Windows

I'm trying to call an Oracle XDB as follows:

Code:
http://EAI_OWNER:EAI_OWNER@xxx.xx.xxx.xxx:8080/oradb/EAI_OWNER/V3_OUTLET_XML/ROW[ROW_ID='1-7CMB9']/CUSTOMER?ContentType=text/xml;charset=UTF-8


but it does not like the userid:password@ portion in the beginning.

Here is the error that I get when I try to deploy this: (from Event Log)

Code:
BIP2211E: Invalid configuration message containing attribute value 'http://EAI_OWNER:EAI_OWNER@xxx.xx.xxx.xxx:8080/oradb/EAI_OWNER/V3_OUTLET_XML/ROW[ROW_ID='1-7CMB9']/CUSTOMER?ContentType=text/xml;charset=UTF-8' which is not valid for target attribute 'URLSpecifier', object 'V3_MF.'; valid values are 'http://host[:port][/path]'

The message broker received a configuration message containing the attribute value 'http://EAI_OWNER:EAI_OWNER@xxx.xx.xxx.xxx:8080/oradb/EAI_OWNER/V3_OUTLET_XML/ROW[ROW_ID='1-7CMB9']/CUSTOMER?ContentType=text/xml;charset=UTF-8' which is not valid for the target attribute 'URLSpecifier', on object 'V3_MF.'.  Valid values are 'http://host[:port][/path]'. This can be caused by a mismatch in levels between the Message Brokers Toolkit, the Configuration Manager and the Broker, or as a result of a user or third party written user-defined node where the implementation library installed at the broker does not match the node definition held at the Configuration manager and Message Brokers Toolkit.


But, I can type this URL in Firefox and then it works.

If not a fix for this.... is there another way to call Oracle XDB and specify the userid / password as part of the URL?

Thanks a lot for any pointers.
_________________
If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.

Francois van der Merwe
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Oct 04, 2007 3:09 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Does it work if you set the URL in the HTTPRequestHeader, rather than on the node? That is, set the node to something that will deploy, but override the URL that will be called using the HTTPRequestHeader tree.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
francoisvdm
PostPosted: Fri Oct 05, 2007 2:27 am    Post subject: Reply with quote

Partisan

Joined: 09 Aug 2001
Posts: 332

OK, I can deploy again following jefflowrey advice.... now I just need to figure out how to pass the userid and pwd. Thanks
_________________
If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.

Francois van der Merwe
Back to top
View user's profile Send private message Send e-mail
mgk
PostPosted: Fri Oct 05, 2007 3:26 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Hi.

The HTTPRequest node does not support a username and password being encoded in the URL, whether the URL is on the node or provided dynamically in the LocalEnvrionment or via a 3xx "redirection" status code. You can construct HTTP Basic-Auth headers instead if the remote server supports that, and that has been covered on this forum before.

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
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 » Funny HTTP call
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.