cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Security error while testing web service using Soup UI

nareshgholap
New Contributor

Getting Security error while testing web service using Soup UI

Hello,

 

I am testing a web service from Oracle Cloud Demo environment using Soup UI and I am getting security error as "FailedCheck : failure in security check" 

 

Attached more detailed screenshots. Any help will be appreciated.

 

Thanks,

Naresh

5 REPLIES 5
richie
Community Hero

Re: Getting Security error while testing web service using Soup UI

Hey @nareshgholap,

It appears youre getting the soap fault due to some issue with the security credentials defined.

If i were you id double check the security requirements for your soap request and update accordingly. Thats where i suspect the problem is....the tag/atteibute contents within the UsernameToken tag container. The username, password, nonce tag values need to be double checked against the requirements.

Ta

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
nareshgholap
New Contributor

Re: Getting Security error while testing web service using Soup UI

@richie 

Thanks for the reply. I rechecked all security requirements and retested, but I am getting same error.

I also tested with removing username token and timestamp, and it is giving me "401 unauthorized" error.

 

Thanks 

Naresh

richie
Community Hero

Re: Getting Security error while testing web service using Soup UI

Hey @nareshgholap,

The 401 generated once you removed some of the security creds is as expected.

I dont think soapui is behaving incorrectly. You mention an "oracle cloud demo". Can you supply a link to where you picked the demo up and i'll try and reproduce. I also want to read any of the additional detail regarding security for the soap service.

Just so youre aware. Lots of software vendors supply demo .wsdls but quite often the lose support or completely disappear so you might be able to download the wsdl that defines the demo webservice but when you try and hit it, you find problems, hence the reason id like to pull it onto my my laptop to double check.

If youre just trying to become familiar with using soapui for a soap service it might be advisable to try a different wsdl

Ta

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
nareshgholap
New Contributor

Re: Getting Security error while testing web service using Soup UI

@richie Thank you for support. I tested the web service in SOUP UI and it is giving me 200 OK response. This time I removed the ws security and placed it again. and it worked. I tested in similar manner multiple times and found that. I have to replace ws security every time before I test it. I think there is time limit for this. Do you know where we can change this time limit.

 

Thanks

Naresh

richie
Community Hero

Re: Getting Security error while testing web service using Soup UI

Hey @nareshgholap,

When you say "removed the ws security and placed it again", what you actually mean by this and maybe provide a screenshot?

The way im interpreting what you say is tht you edited the content of the wsdl (removing and adding the security details) and the submission worked afterwards.

That doesnt make sense so im obviously misinterpreting, so could you please clarify exactly what you mean?

Ta

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors