fault exception calling a web service

I had a web service that was working fine up until today, but now it throws an exception.

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.


Additional details: Visual studio 2010, Win 7 client side. Beleive the webservice has been implemented on IBM platform
ol muserTechnology GeneralistAsked:
Who is Participating?
Hiran DesaiConnect With a Mentor Solution ArchitectCommented:
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.
Hiran DesaiSolution ArchitectCommented:
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.
ol muserTechnology GeneralistAuthor Commented:
Thanks @ItWorked for replying, but what are you trying to say?
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Hiran DesaiSolution ArchitectCommented:
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?
ol muserTechnology GeneralistAuthor Commented:
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.
ol muserTechnology GeneralistAuthor Commented:
It was indeed a security issue!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.