Solved

Soap Exception!!!

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

734 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