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 » REST service

Post new topic  Reply to topic
 REST service « View previous topic :: View next topic » 
Author Message
Sam Uppu
PostPosted: Mon Oct 13, 2014 4:11 pm    Post subject: REST service Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

Hi All,

I have to call a REST web service with userid/passwd in HTTP headers.
I was using HTTP header node to add user-name and password. I am getting error error that the page is not called with "loginid" form variable.

Not sure where the issue is. Could you guys pls help with this
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Thu Oct 16, 2014 12:45 pm    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

The service I am going to call is a handler(ashx).
Has anyone called a handler using message broker. Pls suggest how can I call this.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 16, 2014 6:59 pm    Post subject: Re: REST service Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Sam Uppu wrote:
Hi All,

I have to call a REST web service with userid/passwd in HTTP headers.
I was using HTTP header node to add user-name and password. I am getting error error that the page is not called with "loginid" form variable.

Not sure where the issue is. Could you guys pls help with this

This looks more like it expects the logindid and password to be passed as parameters on the URL or http query, than being passed on the http header.

Have you tried that?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Sam Uppu
PostPosted: Fri Oct 17, 2014 2:53 pm    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

fjb,

I tried both URL and passing query parms as below.

URL: https://xx.xx.ashx/username/password
QueryParms :https://xx.xx.ashx?username=xxx&password=yyy
:https://xx.xx.ashx?loginid=xxx&password=yyy

I still see same issue. Let me know if I am going wrong anywhere
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Oct 21, 2014 5:19 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

So "loginid" as a form variable sounds like something specific to the REST endpoint you car calling.

For example, perhaps it expects you to call a login page first, receive a token, and then pass that to every other call as a field in the header or in the query.

It sounds like you really need to discuss the API that you are trying to call with the developers of this REST endpoint, or review any docs they have provided or samples or etc.
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 » REST service
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.