Click here to Skip to main content
15,896,154 members
Home / Discussions / C#
   

C#

 
AnswerRe: List Class Pin
Guffa21-Jun-07 3:24
Guffa21-Jun-07 3:24 
GeneralRe: List Class Pin
sangramkp21-Jun-07 3:37
sangramkp21-Jun-07 3:37 
GeneralRe: List Class Pin
Colin Angus Mackay21-Jun-07 3:44
Colin Angus Mackay21-Jun-07 3:44 
GeneralRe: List Class Pin
sangramkp21-Jun-07 3:28
sangramkp21-Jun-07 3:28 
AnswerRe: List Class Pin
originSH20-Jun-07 23:45
originSH20-Jun-07 23:45 
QuestionINSTEON using c# 2005 Pin
ArnieTerm20-Jun-07 22:08
ArnieTerm20-Jun-07 22:08 
AnswerRe: INSTEON using c# 2005 Pin
Colin Angus Mackay20-Jun-07 23:44
Colin Angus Mackay20-Jun-07 23:44 
QuestionWeb service error - Data is invalid !! Pin
Scott180220-Jun-07 21:52
Scott180220-Jun-07 21:52 
Hi All,

Scenario : I have a webservice which takes in data from Form, create xml with data, send to CGI/.exe to process and wait for response results. (The reason it's a CGI/.exe is because i'm bolting into a legacy system which cannot be changed at this time.

Problem : Data at the root level is invalid Line 1 position 1.
Occurrence :
If i call the web service on [10.0.0.xxx] network the service runs correctly then passes back the results schema accordingly. As soon as I try to run this through the service domain name [http://name.domain.co.uk/MyService.asmx] i get the above error.

The service is using a Http 'POST' method, and I have checked the xml to see if well formatted. It is. Complete with processingInstruction. Here is a code snippet of the send method

<br />
<br />
XmlInput = new XmlDocument();<br />
XmlProcessingInstruction newPI;<br />
<br />
string piText = "version='1.0' encoding='utf-8'";<br />
newPI = XmlInput.CreateProcessingInstruction("xml", piText);<br />
XmlInput.AppendChild(newPI);<br />
RootNode = XmlInput.CreateElement("Root");<br />
XmlInput.AppendChild(RootNode);<br />
<br />
PostXML("http://name.domain.co.uk/MyCGIEngines/MyEngine.exe/GetResults?", XmlInput);<br />


I have also watched the firewall and checked it's settings to allow this CGI/.exe to run. All setup to my knowledge correctly.

Does anyone have a solution or an idea. !!!



Much appreciated
Scott White
Questionwpf listbox [modified] Pin
MIHAI_MTZ20-Jun-07 21:41
MIHAI_MTZ20-Jun-07 21:41 
QuestionExpansion Pin
razanabanu20-Jun-07 21:40
razanabanu20-Jun-07 21:40 
AnswerRe: Expansion Pin
Christian Graus20-Jun-07 21:46
protectorChristian Graus20-Jun-07 21:46 
GeneralRe: Expansion Pin
razanabanu20-Jun-07 21:53
razanabanu20-Jun-07 21:53 
GeneralRe: Expansion Pin
Christian Graus20-Jun-07 23:55
protectorChristian Graus20-Jun-07 23:55 
GeneralRe: Expansion Pin
Kevin McFarlane21-Jun-07 0:15
Kevin McFarlane21-Jun-07 0:15 
AnswerRe: Expansion Pin
DavidNohejl20-Jun-07 21:55
DavidNohejl20-Jun-07 21:55 
Questionusing transaction? Pin
mimilaw20-Jun-07 21:26
mimilaw20-Jun-07 21:26 
AnswerRe: using transaction? Pin
Colin Angus Mackay20-Jun-07 21:35
Colin Angus Mackay20-Jun-07 21:35 
AnswerRe: using transaction? Pin
Vasudevan Deepak Kumar20-Jun-07 21:36
Vasudevan Deepak Kumar20-Jun-07 21:36 
AnswerRe: using transaction? Pin
Christian Graus20-Jun-07 21:45
protectorChristian Graus20-Jun-07 21:45 
GeneralRe: using transaction? Pin
Vasudevan Deepak Kumar20-Jun-07 23:20
Vasudevan Deepak Kumar20-Jun-07 23:20 
GeneralRe: using transaction? Pin
Pete O'Hanlon20-Jun-07 23:23
mvePete O'Hanlon20-Jun-07 23:23 
GeneralRe: using transaction? Pin
Christian Graus21-Jun-07 0:00
protectorChristian Graus21-Jun-07 0:00 
QuestionPublishing Pin
Shriya Kapoor20-Jun-07 20:55
Shriya Kapoor20-Jun-07 20:55 
AnswerRe: Publishing Pin
Vasudevan Deepak Kumar20-Jun-07 21:35
Vasudevan Deepak Kumar20-Jun-07 21:35 
Questioncommand prompt Pin
razanabanu20-Jun-07 20:36
razanabanu20-Jun-07 20:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.