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 » WS-Security

Post new topic  Reply to topic
 WS-Security « View previous topic :: View next topic » 
Author Message
547c547
PostPosted: Tue Jun 23, 2015 11:47 pm    Post subject: WS-Security Reply with quote

Acolyte

Joined: 16 Jun 2014
Posts: 51

I would like to authenticate the webservice. How do I need to authenticate ..

I am using SOAP nodes .

Why I am hitting the service, it sends me a fault message saying... An error occurred when verifying security for the message.

InvalidSecurity
a:CHARACTER:http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd

In our requirment, they say that we need not to send credentials in soap header.. then How do I need to authenticate


ANY help? ?
Back to top
View user's profile Send private message
nelson
PostPosted: Wed Jun 24, 2015 5:19 am    Post subject: Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

What does <faultstring> say in your response?
Back to top
View user's profile Send private message
547c547
PostPosted: Wed Jun 24, 2015 8:10 pm    Post subject: Reply with quote

Acolyte

Joined: 16 Jun 2014
Posts: 51

This is what I receive.. Please help

Fault
Code
Value:CHARACTER:s:Sender
Subcode
Value:CHARACTER:a:InvalidSecurity
a:CHARACTER:http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
Reason
Text:CHARACTER:An error occurred when verifying security for the message.
lang:CHARACTER:en-US
Back to top
View user's profile Send private message
nelson
PostPosted: Fri Jun 26, 2015 4:39 am    Post subject: Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

The error is not very descriptive... I would try to call the WS first on SOAP UI for example, and see what happens.

Try to send a dummy user/pass and see if you get a different error.

The server is expecting some security information that you are not providing..
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jun 26, 2015 5:12 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

nelson wrote:
The error is not very descriptive...

It's probably incompletely reported, too.

I.e. 547c547 did not show the full error.
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 » WS-Security
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.