Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

fault exception calling a web service

Posted on 2013-12-02
6
Medium Priority
?
377 Views
Last Modified: 2016-02-26
I had a web service that was working fine up until today, but now it throws an exception.

fault-exception.png
Given my limited knowledge of WCF exceptions, I am trying to figure if this is a generic exception thrown by the service because something went wrong in the communication over the network or anything else, or if its a custom error message that was written by someone.

Note that to call this service I send a username and password hard-coded as a soap header in the config file. (pls note its been tested and working, up until today)

I just want to prepare my case before I go to the team that created this service saying something broke on their end. Or if you think I could be doing something wrong pls point out.

thanks!

Additional details: Visual studio 2010, Win 7 client side. Beleive the webservice has been implemented on IBM platform
0
Comment
Question by:Mydeen Yussouf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 4

Expert Comment

by:Hiran Desai
ID: 39691633
It seems that it's custom exception or exception because of transaction failure.

It doesn't look on like of WCF exception.
Secondly Stack trace might give better idea from where the exception is generated. I mean if your request is servered by the WCF service then there should be no WCF exception.
0
 
LVL 1

Author Comment

by:Mydeen Yussouf
ID: 39692220
Thanks @ItWorked for replying, but what are you trying to say?
0
 
LVL 4

Expert Comment

by:Hiran Desai
ID: 39692259
Does your break-point hits while debugging?

Or Does the request is reached at the server?
can you provide link for the service where one can test?
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 1

Author Comment

by:Mydeen Yussouf
ID: 39692295
Yes it hits the right statements while debugging.

The exception is thrown while executing the statement that calls the method to get the data.

The exact line looks something like this.

objOutputDataStruct = objSerClient.OperationThatNeeds2BCalled(objInputDataStructure);

Open in new window


Sorry this service is internal to the org, I am unable to provide a link.
0
 
LVL 4

Accepted Solution

by:
Hiran Desai earned 2000 total points
ID: 39692303
The line of code that you are showing me is I guess in WCF client application.
Are you able to debug you service when the line of code you kept in your above post is executed?

If no then I think it's related to some security issue.
http://stackoverflow.com/questions/1044034/wcftestclient-the-http-request-is-unauthorized-with-client-authentication-scheme
0
 
LVL 1

Author Closing Comment

by:Mydeen Yussouf
ID: 39697651
It was indeed a security issue!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial will show you how to add an attribute to an XML (http://en.wikipedia.org/wiki/XML) stream returned from a Windows Communication Foundation (http://en.wikipedia.org/wiki/Windows_Communication_Foundation) (WCF) Web Service.  Some knowled…
In previous Articles, we have discussed how we can upload a file using .asmx web service and isolated storage space. Here, in continuation to the topic, I am going to discuss how we can use WCF for the same purpose. Steps: 1.Create the silverli…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question