Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Webservice on XP

Reply
Thread Tools

Webservice on XP

 
 
Ron
Guest
Posts: n/a
 
      10-01-2003
Hi,

I've got a webservice which is called from javascript in asp. This has been
installed on various Win2000 machines and is working fine. Now I installed
it on a WinXP machine and get the following error:

System.Web.Services.Protocols.SoapException: Server was unable to read
request. ---> System.InvalidOperationException: There is an error in XML
document (5, 30). ---> System.FormatException: Input string was not in a
correct format.
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo
info)
at System.Xml.XmlConvert.ToInt32(String s)
at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlS erializationReader1.Read18
_GetUserLimit()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize (XmlReader xmlReader,
String encodingStyle)
at System.Xml.Serialization.XmlSerializer.Deserialize (XmlReader xmlReader)
at System.Web.Services.Protocols.SoapServerProtocol.R eadParameters()
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapServerProtocol.R eadParameters()
at System.Web,Services.Protocols.WebServiceHandler.In voke()
at System.Web,Services.Protocols.WebServiceHandler.Co reProcessRequest()

The function initializing the service (called in the body onload):
function InitWebService() {

ServiceDiv.useService("http://MyServer/VirDir/MyService.asmx?WSDL","MyServic
e");
}
The actual function call:
ServiceDiv.MyService.callService("MyFunction", "Parameters");

Any help would be appreciated
Ron


 
Reply With Quote
 
 
 
 
Ron
Guest
Posts: n/a
 
      10-06-2003
Hi,

The problem is that this error occurs on initialization, before even calling
a method, while the message indicates that an error occured in function
GetUserLimit()

Regards,
Ron

"Wor Tony" <> wrote in message
news:...
> "Ron" <> wrote in message
> news:%23AL$56%...
> > Hi,
> >
> > I've got a webservice which is called from javascript in asp. This has

> been
> > installed on various Win2000 machines and is working fine. Now I

installed
> > it on a WinXP machine and get the following error:
> >
> > System.Web.Services.Protocols.SoapException: Server was unable to read
> > request. ---> System.InvalidOperationException: There is an error in XML
> > document (5, 30). ---> System.FormatException: Input string was not in a
> > correct format.
> > at System.Number.ParseInt32(String s, NumberStyles style,

> NumberFormatInfo
> > info)
> > at System.Xml.XmlConvert.ToInt32(String s)

> Ron
> doesn't this point to the fact that the data you sent in your request
> cannot be converted to an Int32 - i.e. it's not numeric data?
>
> HTH
>
> AP
> Nottingham - UK
>
>



 
Reply With Quote
 
 
 
 
Ron
Guest
Posts: n/a
 
      10-06-2003
Hi,

The problem is that this error occurs on initialization, before even calling
a method, while the message indicates that an error occured in function
GetUserLimit()

Regards,
Ron

"Wor Tony" <> wrote in message
news:...
> "Ron" <> wrote in message
> news:%23AL$56%...
> > Hi,
> >
> > I've got a webservice which is called from javascript in asp. This has

> been
> > installed on various Win2000 machines and is working fine. Now I

installed
> > it on a WinXP machine and get the following error:
> >
> > System.Web.Services.Protocols.SoapException: Server was unable to read
> > request. ---> System.InvalidOperationException: There is an error in XML
> > document (5, 30). ---> System.FormatException: Input string was not in a
> > correct format.
> > at System.Number.ParseInt32(String s, NumberStyles style,

> NumberFormatInfo
> > info)
> > at System.Xml.XmlConvert.ToInt32(String s)

> Ron
> doesn't this point to the fact that the data you sent in your request
> cannot be converted to an Int32 - i.e. it's not numeric data?
>
> HTH
>
> AP
> Nottingham - UK
>
>







 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem to call a WEBSERVICE in another WEBSERVICE (AXIS/ TOMCAT) Cyril Java 2 06-01-2006 06:07 PM
Problem! webservice.htc calling nonsecure webservice from a secured ssl https webpage batista ASP .Net 1 01-26-2006 12:05 PM
Problem! webservice.htc calling nonsecure webservice from a secured ssl https webpage batista ASP .Net 0 01-26-2006 08:13 AM
WebService on Java server versus WebService on .NET Mr. x Java 2 10-09-2003 11:21 PM
use another webservice in a webservice Mr. x ASP .Net Web Services 0 09-26-2003 10:59 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57