Returning content type of text/xml

I´ve created a webservice and when serving a webpage based on dot net with my answer I get the following error:

Client found response content type of ‘’, but expected ‘text/xml’.

Even though i put the line:

Print “Content-Type: text/xml”

before I’m printing the message.

My message is exactly as provided here. What is wrong?

strTmp = |<?xml version="1.0" encoding="utf-8"?>| &_

|<soap:Envelope xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/”>| &_

|soap:Body| &_

|| &_

|0| &_

|| &_

|</soap:Body>| &_

|</soap:Envelope>|

Print strTemp

Subject: Returning content type of text/xml

Try putting

Print “Content-Type:text/plain”

before your content-type:text/xml print statement. This has solved problems for me in the past…