Error: "There was an error generating the XML document"

Please support our RSS, Web Services and SOAP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved

Join Date: Nov 2007
Posts: 32
Reputation: Jihad is an unknown quantity at this point 
Solved Threads: 1
Jihad Jihad is offline Offline
Light Poster

Error: "There was an error generating the XML document"

 
0
  #1
Sep 26th, 2008
I have an wsdl file, I puted the wsdl file in the app_code folder ("I am using visual studio 2008"), as it is supposed to be it generated the proxy for me. But the proxy file containes object type parameter for all functions even for the functions that are not supposed to have parameteres, also all functiones return objects!!! -.- .

Anyway, I tried to call a function that is supposed to get me a list of countries but I get an exception that says "There was an error generating the XML document"

Any Idea whats going on?
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,210
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 489
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Error: "There was an error generating the XML document"

 
-1
  #2
Sep 26th, 2008
Please post the XML file
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 32
Reputation: Jihad is an unknown quantity at this point 
Solved Threads: 1
Jihad Jihad is offline Offline
Light Poster

Re: Error: "There was an error generating the XML document"

 
0
  #3
Sep 26th, 2008
Originally Posted by peter_budo View Post
Please post the XML file
Well I only have the WSDL file and I am using visual studio to generate the proxy class for me.

Thanks for your concern
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 32
Reputation: Jihad is an unknown quantity at this point 
Solved Threads: 1
Jihad Jihad is offline Offline
Light Poster

Re: Error: "There was an error generating the XML document"

 
0
  #4
Oct 7th, 2008
Just to give you feedback of what did I do to solve this problem. I changed my mind on using the proxy class that was generated by visual studio, becauase the webservice is written with Java I thought that it might be the problem in the generated proxy class. Well I used the Rest style HTTP request instead of the proxy class. In the HTTP requerst you invoke the url of the webservice passing some parameters depending on the webservice you are working on.

Things are working fine till now, wish me luck
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the RSS, Web Services and SOAP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC