Solved

Soap Exception!!!

Posted on 2006-10-26
4
1,410 Views
Last Modified: 2012-05-05
I have a windows application which calls a web service for changing data and both are written in C#.

It have been under developement for 2 years and it is about to be released recently. However, it sendly Suddenly occured an error. The error message is below:

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.FormatException: Input string was not in a correct format.
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at System.Int32.Parse(String s)
   at EMSWS.UserWS.IsTicketValid(String ticket) in d:\ems\emsws\userws.asmx.cs:line 290
   at EMSWS.UserWS.GetUserInfo(String ticket) in d:\ems\emsws\userws.asmx.cs:line 82
   --- End of inner exception stack trace ---

Dear experts, please help.
0
Comment
Question by:bvwang
4 Comments
 
LVL 8

Expert Comment

by:sabeesh
ID: 17810232
all the methods in webservice should be in serializable format
0
 
LVL 4

Accepted Solution

by:
boy8964 earned 450 total points
ID: 17810270
most likely it is a database issue. make sure your database is runing and can be connected by web service and try again.
0
 
LVL 8

Assisted Solution

by:redpipe
redpipe earned 50 total points
ID: 17810985
I might be really missing the point here, but as fare as I can see the "only" problem is that the received value can not be parsed as an Int32. Please check the object you try to use in your webservice, and check if it is really parseable as an integer.
0
 
LVL 3

Author Comment

by:bvwang
ID: 17816149
thanks for respons. the bug has bee fixed and i have released it on http://www.ialda.com
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
FTP file download using c# 3 25
MailAddress in vb 4 29
Where is this file? 3 26
Why use this lambda? 12 40
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

820 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