Solved

Soap Exception!!!

Posted on 2006-10-26
4
1,401 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now