Windows Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsWindows Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 8th, 2002, 11:11 PM
dreamz dreamz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: Pakistan
Posts: 31 dreamz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
Send a message via ICQ to dreamz
Unhappy problem with xml-rpc under windows

hello ... I am using Edd Dumbill's implementation of xml-rpc .... now when I try my code on Win 2k with IIS5, I get following error

Fault : Code : 2
Reason : Invalid return payload: enabling debugging to examine incoming payloadXML error: xml processing instruction not at start of external entity at line 5

exactly same code runs perfectly on RH 7.2 with apache. So i guess that the problem with IIS ....

thanx in anticipation

Reply With Quote
  #2  
Old January 18th, 2002, 04:06 PM
Fjodor Fjodor is offline
Slacker
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Sweden
Posts: 76 Fjodor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
IIS isn't really my thing, but doesn't this error "xml processing instruction not at start of external entity at line 5" hint that something is wrong with line 5? Seems it is missing processing instructions, or they are put in the wrong place.

As I said though... IIS isn't my strong side so maybe I'm missing some common error with IIS that cause this error, but scince none had answered your post, I thought I'd at least make try to point in the right direction


//Fjodor

Reply With Quote
  #3  
Old February 8th, 2002, 06:48 AM
dreamz dreamz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: Pakistan
Posts: 31 dreamz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
Send a message via ICQ to dreamz
as I told you, exactly same code runs perfectly on linux ... so problem must be with windows.

Reply With Quote
  #4  
Old February 8th, 2002, 07:14 AM
binky's Avatar
binky binky is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Oct 2001
Location: New Zealand
Posts: 1,774 binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 58 m 15 sec
Reputation Power: 23
Don't want to say there's nothing wrong with Windows but it could be that the implementation for Windows works in a different way. You could be using some platform specific call. Couldn't tell though without knowing what line 5 is.

The only thing I could find was that this fault message means the error is generated by client, not server code, and that the server returned something it couldn't understand. So work from that.

Reply With Quote
  #5  
Old February 8th, 2002, 02:00 PM
dreamz dreamz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: Pakistan
Posts: 31 dreamz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
Send a message via ICQ to dreamz
I have debugged it and server receives proper parameter, processes them, forms response xml doc and sends it but on client site I get this problem... well I have code in office, so can't send it now ... well as much as i remember theres no problem with xml ... it is well formed ... and xml spy and IE does not find any error in it.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsWindows Help > problem with xml-rpc under windows

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap