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 To access the URL

Post new topic  Reply to topic Goto page 1, 2, 3  Next
 Problem To access the URL « View previous topic :: View next topic » 
Author Message
shammi80
PostPosted: Tue Feb 21, 2012 6:45 pm    Post subject: Problem To access the URL Reply with quote

Apprentice

Joined: 17 Feb 2012
Posts: 32

Hi,

In My message flow I am getting the URL from the Webservice response.I need to take that URL in my flow an hit the URL and get the file from that also I need to authenticate this with username and passwd.

I have implemented the logic by sending Webservice request and getting the response from that webservice call which is URL. But I don't have any idea to hit the URL With Username and passwd authentication request.

Please give me some advice on the same

Thanks
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Feb 22, 2012 3:37 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Please
1. Use the Search button at the top of this page - similar questions have been asked before.
2. Read the info center. It has a search button which I find very useful.
3. Try out a few things and tell us how you get on

When you have done items 1..3 above, then we will be happy to provide advice. But we do not provide free training.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Feb 22, 2012 5:42 am    Post subject: Re: Problem To access the URL Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

shammi80 wrote:
Please give me some advice on the same


The advice is to read the documentation on WMB's support for web service authentication.

But as I've said before, you don't want advice, you want to be spoonfed the solution and what you need is a mentor (or training, but you sound like mentoring would work better for you. If you worked for me I'd get you a mentor before I got you a training course).

Bottom line - what you're looking for is not here on this forum. As you your issue, it's no harder than fixing a message set...
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
shammi80
PostPosted: Thu Feb 23, 2012 11:11 am    Post subject: Reply with quote

Apprentice

Joined: 17 Feb 2012
Posts: 32

My friend Vitor, I need only clue not a solution for the same.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Feb 23, 2012 11:13 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

UserName and Password is usually referred to as 'BasicAuthentication'.

That's an excellent clue to search for more information about performing basic authentication with message broker.

there might even be a horribly outdated developer works article that provides terribly outdated advice on how to do this with ESQL and Message Broker.
Back to top
View user's profile Send private message
shammi80
PostPosted: Thu Feb 23, 2012 5:25 pm    Post subject: Reply with quote

Apprentice

Joined: 17 Feb 2012
Posts: 32

I have try with Http request node it but not work
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 23, 2012 6:39 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

shammi80 wrote:
I have try with Http request node


Why? Why not a SOAP node?

shammi80 wrote:
it but not work


That's not a description of a problem any more than "try" is a description of your configuration. What did you "try"? What part of the InfoCenter did you reference to make these changes? Given the excellent clue you were provided with?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
shammi80
PostPosted: Fri Feb 24, 2012 8:23 am    Post subject: Reply with quote

Apprentice

Joined: 17 Feb 2012
Posts: 32

I have used the Http request node beacuse I have to access the Http URL in order to get the xml file as response.

If there is any other mechanism to do this then please share
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 24, 2012 9:14 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

shammi80 wrote:
If there is any other mechanism to do this then please share


Vitor wrote:
Why not a SOAP node?



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Feb 24, 2012 9:33 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

If I were your mentor on your job site, you would have to provide business justification to me why you avoid the logical choice of SOAP nodes in broker and instead use HTTP nodes.

What is your reason for avoiding SOAP nodes? Do you not understand how they work?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri Feb 24, 2012 9:37 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lancelotlinc wrote:
What is your reason for avoiding SOAP nodes? Do you not understand how they work?


I don't think the OP knows they exists. Any more than he knows the InfoCenter exists.

I believe his mentor really does not exist.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rekarm01
PostPosted: Fri Feb 24, 2012 9:49 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

Vitor wrote:
Why not a SOAP node?

If the OP is dealing with RESTful services, then that would be one reason not to use SOAP nodes.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 24, 2012 10:11 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

rekarm01 wrote:
Vitor wrote:
Why not a SOAP node?

If the OP is dealing with RESTful services, then that would be one reason not to use SOAP nodes.


Which the OP could give as a response to the question "why"?

At the same time he provides a description of the problem more useful than "it but not work". Though I accept a less useful description would take some ingenuity.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
shammi80
PostPosted: Fri Feb 24, 2012 1:33 pm    Post subject: Reply with quote

Apprentice

Joined: 17 Feb 2012
Posts: 32

Why I am using Soap node because there is no WSDL provided by the Target system they dont have schema , they just want to access the URL and download the file.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 24, 2012 6:01 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

shammi80 wrote:
Why I am using Soap node because there is no WSDL provided by the Target system they dont have schema , they just want to access the URL and download the file.


So picking through your posts, you call a web service from which you get a response with a URL in it. From this URL you obtain an XML file which is not described by a schema, and to do this you need to supply a user id and password.

I stand by my comments in your other thread. We've established (for the second time) you're using RESTful services and need to use the HTTP nodes rather than the SOAP nodes. You've been given any amount of advice both here and in your previous thread. In both threads you've resolutely avoided explaining how you've attempted to set this up or what problem you experienced past "it but not work".

What did you "try"? What part of the InfoCenter did you refer to? What happened?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2, 3  Next Page 1 of 3

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem To access the URL
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.