473,473 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

There is an error in XML document

Hello
I am creating a web client in c#.
I use the "Add a Web Reference" wizard to read a WSDL file, then I
simply call the method for the remote service.

I get the floowing error returned when I make the call.:
There is an error in XML document (1,454)
The source of the error is System.Xml

How do I know what xml it is referring to, the request it is trying to
build or the responce coming back. I suspect the problem is the soap
message coming back from the server, but have no way of knowing for
sure.

Also, it seems that there must be a lot that goes on to de-serialize
the XML file that is returned from a web service. Isn't there anyway
to get any closer to the returning file to see the xml or see what it
is exactly that is triggering an error?

Thanks
Jeff
Nov 17 '05 #1
4 3524
Jeff,

Is the web method returning a custom class, that you may not have serialized properly?

-Altaf


--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
"Jeff" <je*******@hotmail.com> wrote in message news:t4********************************@4ax.com...
Hello
I am creating a web client in c#.
I use the "Add a Web Reference" wizard to read a WSDL file, then I
simply call the method for the remote service.

I get the floowing error returned when I make the call.:
There is an error in XML document (1,454)
The source of the error is System.Xml

How do I know what xml it is referring to, the request it is trying to
build or the responce coming back. I suspect the problem is the soap
message coming back from the server, but have no way of knowing for
sure.

Also, it seems that there must be a lot that goes on to de-serialize
the XML file that is returned from a web service. Isn't there anyway
to get any closer to the returning file to see the xml or see what it
is exactly that is triggering an error?

Thanks
Jeff
Nov 17 '05 #2

It is certainly possible that the soap message being received is not
serialized correctly. It comes from a PHP/NuSoap web service.

My biggest concern as I undertake this project is the inability to get
more information from the C# proxy class that handles this call. It
does not offer any clues as to what causes an error.
Is there some way to "get inside" of what C#/.NET is doing?

Thanks again
Jeff
On Fri, 21 Oct 2005 21:55:24 +0100, "S.M. Altaf [MVP]"
<sm*****@PLEASEDONTSPAMMEmsn.com> wrote:
Jeff,

Is the web method returning a custom class, that you may not have serialized properly?

-Altaf


--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
"Jeff" <je*******@hotmail.com> wrote in message news:t4********************************@4ax.com...
Hello
I am creating a web client in c#.
I use the "Add a Web Reference" wizard to read a WSDL file, then I
simply call the method for the remote service.

I get the floowing error returned when I make the call.:
There is an error in XML document (1,454)
The source of the error is System.Xml

How do I know what xml it is referring to, the request it is trying to
build or the responce coming back. I suspect the problem is the soap
message coming back from the server, but have no way of knowing for
sure.

Also, it seems that there must be a lot that goes on to de-serialize
the XML file that is returned from a web service. Isn't there anyway
to get any closer to the returning file to see the xml or see what it
is exactly that is triggering an error?

Thanks
Jeff


Nov 17 '05 #3
use Microsoft's Fiddler to check what is being sent and returned.
"Jeff" <je*******@hotmail.com> wrote in message
news:pm********************************@4ax.com...

It is certainly possible that the soap message being received is not
serialized correctly. It comes from a PHP/NuSoap web service.

My biggest concern as I undertake this project is the inability to get
more information from the C# proxy class that handles this call. It
does not offer any clues as to what causes an error.
Is there some way to "get inside" of what C#/.NET is doing?

Thanks again
Jeff
On Fri, 21 Oct 2005 21:55:24 +0100, "S.M. Altaf [MVP]"
<sm*****@PLEASEDONTSPAMMEmsn.com> wrote:
Jeff,

Is the web method returning a custom class, that you may not have
serialized properly?

-Altaf


--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
"Jeff" <je*******@hotmail.com> wrote in message
news:t4********************************@4ax.com...
Hello
I am creating a web client in c#.
I use the "Add a Web Reference" wizard to read a WSDL file, then I
simply call the method for the remote service.

I get the floowing error returned when I make the call.:
There is an error in XML document (1,454)
The source of the error is System.Xml

How do I know what xml it is referring to, the request it is trying to
build or the responce coming back. I suspect the problem is the soap
message coming back from the server, but have no way of knowing for
sure.

Also, it seems that there must be a lot that goes on to de-serialize
the XML file that is returned from a web service. Isn't there anyway
to get any closer to the returning file to see the xml or see what it
is exactly that is triggering an error?

Thanks
Jeff

Nov 17 '05 #4

Mel
I am looking at this tool and may use it. Fiddler however, runs
outside of the VS IDE environment, is that correct? If that is the
case, I will have to look at the XML that I am getting from my server
and try to figure out what is incorrect.

There still isn't any other way to stop, catch or see the processing
of the file within VS?

Thanks again
Jeff
On Fri, 21 Oct 2005 16:48:30 -0500, "Mel Weaver" <Mel@[remove
spam]insdirect.com> wrote:
use Microsoft's Fiddler to check what is being sent and returned.
"Jeff" <je*******@hotmail.com> wrote in message
news:pm********************************@4ax.com.. .

It is certainly possible that the soap message being received is not
serialized correctly. It comes from a PHP/NuSoap web service.

My biggest concern as I undertake this project is the inability to get
more information from the C# proxy class that handles this call. It
does not offer any clues as to what causes an error.
Is there some way to "get inside" of what C#/.NET is doing?

Thanks again
Jeff
On Fri, 21 Oct 2005 21:55:24 +0100, "S.M. Altaf [MVP]"
<sm*****@PLEASEDONTSPAMMEmsn.com> wrote:
Jeff,

Is the web method returning a custom class, that you may not have
serialized properly?

-Altaf


--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
"Jeff" <je*******@hotmail.com> wrote in message
news:t4********************************@4ax.com...
Hello
I am creating a web client in c#.
I use the "Add a Web Reference" wizard to read a WSDL file, then I
simply call the method for the remote service.

I get the floowing error returned when I make the call.:
There is an error in XML document (1,454)
The source of the error is System.Xml

How do I know what xml it is referring to, the request it is trying to
build or the responce coming back. I suspect the problem is the soap
message coming back from the server, but have no way of knowing for
sure.

Also, it seems that there must be a lot that goes on to de-serialize
the XML file that is returned from a web service. Isn't there anyway
to get any closer to the returning file to see the xml or see what it
is exactly that is triggering an error?

Thanks
Jeff


Nov 17 '05 #5

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

Similar topics

1
by: Andrew V. Romero | last post by:
I have a script that I am working on for an intranet tool and in this script I have a form, which when submitted the onSubmit command calls calculate(). In this calculate function, I have it do...
4
by: Manuel Faux | last post by:
Hello! I used the "File Upload - Validator" and the result is like the following: Line 13, column 204: there is no attribute "border" ....irefox!" title="Get Firefox!" border="0" /></a></p>...
9
by: torbs | last post by:
Hi I am creating a page for stretchfilm. In this page you can chose between a short medium and long version of the film at any point in the film. It is in norwegian, but just press play. URL:...
3
by: Raed Sawalha | last post by:
Hello when I serialize an object an error generated using this function public string SerializeObject(object oClassObject,System.Type oClassType) { XmlSerializer oSerializer = new...
5
by: HopfZ | last post by:
I made two shortcut functions for document.getElementById as: function EBI2(id){return document.getElementById(id)}; var EBI3 = document.getElementById; But EBI3 don't work. EBI2('myText');...
1
by: solomon_13000 | last post by:
connection.asp: <% Sub RunQueryString (pSQL,parms) on error resume next Set conn = Server.CreateObject("ADODB.Connection") conn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &...
1
by: mudasserrafiq | last post by:
I am using following asp file default.asp <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <META http-equiv=Content-Type content="text/html; charset=windows-1252"> <META content="0...
43
Death Slaught
by: Death Slaught | last post by:
I have made a music player in a pop up with JavaScript. It uses frames to write the object into an unseen page. Here's an example of the page the user first sees. <!DOCTYPE html PUBLIC...
6
by: dragiton | last post by:
ASP Code Redirect Error Hello I recently relaunched a website containing asp code which used to work perfectly. However, after resetting up the SQL DB and trying to work out some site bugs I have...
9
by: ahilar12 | last post by:
1. <head> 2. <script type="text/javascript"> 3. </script> 4. </head> 5. <body> 6. <form> 7. <select name="team" id="mylist" > 8. <option></option> 9....
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.