473,804 Members | 2,755 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem during invoke remote Web Service

Hi all,

I have developed an Library Application with ASP.NET 1.1.

In this environment i call Remote Web Service in this way :

*************** *************** *************** **********
where
pathService = "test.Autentica tion"; (defined in the reference of the
Project )
methodService = "MyMethod";

object wsMacro = objAssembly.Cre ateInstance(pat hService);

Type wsType = wsMacro.GetType ();
MethodInfo MethodWS = wsType.GetMetho d(methodService );
objectWS[0] = param1;
objectWS[1] = param2;
objectWS[2] = param3;
objectWS[3] = param4;
objectWS[4] = param5;

result = MethodWS.Invoke (wsMacro, objectWS);

When i get result from remote WS less then 15KB all wokrs fine, i can
read and manipulate result XML,

but when result is more than 16KB i got this error:

System.Xml.XmlS canner.ScanHexE ntity()
System.Xml.XmlT extReader.Parse BeginTagExpandC harEntities() +1036
System.Xml.XmlT extReader.Read( ) +216
System.Xml.XmlR eader.ReadEleme ntString()

at System.Xml.XmlR eader.ReadEleme ntString()\r\n at
Microsoft.Xml.S erialization.Ge neratedAssembly .XmlSerializati onReader1.Read3 _eseguiResponse ()" string

It seams like parsing XML due to error reading from remote web service.

Why this error happen only for big request?

How can I solve it?

Thanks in advances

Franz

Nov 3 '06 #1
0 1244

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
4331
by: Bill Guttman | last post by:
I am Invoking a Web Service on a remote server from my local server from the Data Entry Screen, I a recieve the following error "HTTP 500 - Internal server error Internet Explorer" Whats interesting is that I can get the list of Web Service Methods and I can select a Web Service Method. However, when I try and invoke the Web Service with Parameters to pull back the XML I get the above failure message. I have tried using different...
1
2091
by: Thomee Wright | last post by:
I'm having a problem with a pair of applications I'm developing. I have a server application which interacts with several instruments, and a client app which connects to the server and provides a UI for interacting with the instruments. Readings from the instruments are periodically sent to the clients, and clients will send commands to the server based on user input. In normal usage there will be around 6 clients connected, with a...
0
3927
by: Suresh | last post by:
Hi Guys I have Db2 server installed on remote server. i am connecting to that remote server by using VPN. I want to connect that remote DB2 server instance using my local machine DB2 development client. Bur Its gives me following error message. I searched lots of things on net and tried on remote server but i didnt got suceess. Can any one tell me how to set TCP\IP connection protocol on server for particular instance. Becuase I think
5
24025
by: Suresh | last post by:
Hi Guys I have Db2 server installed on remote server. i am connecting to that remote server by using VPN. I want to connect that remote DB2 server instance using my local machine DB2 development client. Bur Its gives me following error message. I searched lots of things on net and tried on remote server but i didnt got suceess. Can any one tell me how to set TCP\IP
1
2207
by: Chris Davoli | last post by:
Somebody I work with created a web service and of course it creates an asmx page for the web service. When you open this page up on the browser it gives you a kind of tester page where you can enter parameters and invoke and test the web service and get back xml to see what the output xml looks like. I guess it creates this page fon the wdsl. That works fine when I use it on a local machine, but when I go to a remote machine, it gives the...
8
13631
by: jesmi | last post by:
my code is: addRecord.cfm <cfinclude template="head.cfm"> <p> <table width="100%" border="0" align="center" cellpadding="2" cellspacing="0"> <tr> <td> <div align="center">
2
1616
by: gwoodhouse | last post by:
Hello all, I have an application at the moment which uses forms. The main form (which has ALOT of things going on it in) also happens to do alot of network proccess's which ive put in Threads. DUring refactoring i decided i wanted to seperate as much non-form related logical from the main page as i could. I created a new static class, thinking i could call a "ThreadStart" method which, when it needs to access form elements, drops into...
2
4789
by: Vadim Malishev | last post by:
Hello, Can anybody help to solve the following problem? My Windows Service trying to access remote machine to get WindowsDirectory Property over Win32_OperatingSystem WMI class. Both servers are in the same Active Directory domain, so I create special active directory user and impersonate to it before invoke WMI. My code looks like:
10
1854
by: sssk28 | last post by:
i have installed fedora core 6 and i am getting following error: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception
0
9576
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10568
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10311
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10074
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5516
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4292
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2988
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.