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 » Authentication SOAP -> webservices

Post new topic  Reply to topic
 Authentication SOAP -> webservices « View previous topic :: View next topic » 
Author Message
Harry Vermeegen
PostPosted: Thu Nov 06, 2008 5:35 am    Post subject: Authentication SOAP -> webservices Reply with quote

Newbie

Joined: 06 Nov 2008
Posts: 4

Hi,

I've been looking at this forum but I can't find the answer to my problem/question.

With a SOAP environment I try to connect to a webservice to interact with. The following setup is part of my msgflow:

MQInput -> Envelope msg -> HTTPRequest -> Extract msg -> MQOutput

When I try to send a message, I get the following error:

HTTPResponseHeader
X-Original-HTTP-Status-Line = HTTP/1.1 401 Unauthorized
X-Original-HTTP-Status-Code = 401
Content-Lenght = 1656
Server = Microsoft-IIS/6.0
WWW-Authenticate = NTLM
X-Powered-By = ASP.NET
Connection = close

The webservice is using Integrated Windows Authentation and Anonymous Access is enabled. Yet I still get this message. I've read alot of information about this issue but I can't seem to solve it!

Can any of you help me out or help me in the right direction?

If you have any questions, please reply!

Regards,

Harry
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Thu Nov 06, 2008 7:53 am    Post subject: Re: Authentication SOAP -> webservices Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

You shoult find java lib for NTLM authentication and read about this.

The case is to prepare secure token with your credential.


Your flow should look like :
MQInput -> Envelope msg -> JAVACompute to generate additional NTLM HTTP header/s-> HTTPRequest -> Extract msg -> MQOutput.

This is theoretically. I've never tested it.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
Harry Vermeegen
PostPosted: Thu Nov 06, 2008 8:18 am    Post subject: Reply with quote

Newbie

Joined: 06 Nov 2008
Posts: 4

Thank you for your reply!

I indeed found some information about the Java-code, though I was wondering if this could be done without the interference of Java.

Regards,

Harry
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Thu Nov 06, 2008 10:17 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Harry Vermeegen wrote:
Thank you for your reply!

I indeed found some information about the Java-code, though I was wondering if this could be done without the interference of Java.

Regards,

Harry



Java was only example.
You can do it with own node written in C (another example).
Feel free.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
Harry Vermeegen
PostPosted: Fri Nov 07, 2008 12:46 am    Post subject: Reply with quote

Newbie

Joined: 06 Nov 2008
Posts: 4

marcin.kasinski wrote:
Harry Vermeegen wrote:
Thank you for your reply!

I indeed found some information about the Java-code, though I was wondering if this could be done without the interference of Java.

Regards,

Harry



Java was only example.
You can do it with own node written in C (another example).
Feel free.


Thank you!

Do you have an example by any chance? I've looked in several places on the web but I couldn't find any.

Regards,

Harry
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Fri Nov 07, 2008 1:16 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Hi Harry (interesting nickname BTW! )
have you tried using the webservice from something like curl
I am certainly no expert when comes to WebServices, but as you indicate anonymous access is allowed, may be you are missing some fields or settings to make it work, curl could help you figuring out what is missing/wrong.

hope this helps...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Harry Vermeegen
PostPosted: Fri Nov 07, 2008 1:31 am    Post subject: Reply with quote

Newbie

Joined: 06 Nov 2008
Posts: 4

Michael Dag wrote:
Hi Harry (interesting nickname BTW! )
have you tried using the webservice from something like curl
I am certainly no expert when comes to WebServices, but as you indicate anonymous access is allowed, may be you are missing some fields or settings to make it work, curl could help you figuring out what is missing/wrong.

hope this helps...


Hi Michael,

Thank you I couldn't retrieve the password of my real account so I made this one

I will have a look at your input!

Regards,

Harry
Back to top
View user's profile Send private message
gunjand
PostPosted: Thu Aug 06, 2009 11:19 am    Post subject: Reply with quote

Novice

Joined: 21 May 2009
Posts: 23

Hi Harry,
Did you find any solution to the problem mentioned? I am also facing similar issue. If you can provide some inputs.

Thanks,
Gunjan
Back to top
View user's profile Send private message
ovasquez
PostPosted: Sun Aug 09, 2009 10:03 am    Post subject: Reply with quote

Centurion

Joined: 09 Dec 2005
Posts: 141
Location: Lima, Peru

This site have some options:
http://oaklandsoftware.com/papers/ntlm.html
About Java APIs for NTLM. some free and not free
I do review Oakland Software Java HTTP Client(not free)
_________________
Oscar Vásquez Flores
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Authentication SOAP -> webservices
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.