Click here to Skip to main content
16,017,726 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Pulling Client Computer Name Pin
basementman26-Aug-04 7:44
basementman26-Aug-04 7:44 
GeneralRe: Pulling Client Computer Name Pin
kumar_manoj7729-Aug-04 21:14
kumar_manoj7729-Aug-04 21:14 
GeneralASP & JavaScript Pin
TrungHuynh25-Aug-04 15:04
TrungHuynh25-Aug-04 15:04 
GeneralIIS Shortcut missing Pin
Brent Lamborn25-Aug-04 13:38
Brent Lamborn25-Aug-04 13:38 
Generalcreate cookie file on client Pin
sas222225-Aug-04 10:25
sas222225-Aug-04 10:25 
GeneralRe: create cookie file on client Pin
sas222226-Aug-04 5:32
sas222226-Aug-04 5:32 
GeneralASP-Logging Pin
pat27088125-Aug-04 3:29
pat27088125-Aug-04 3:29 
GeneralUsing SoapLogger and SoapLoggerAttribute Pin
pat27088124-Aug-04 11:59
pat27088124-Aug-04 11:59 
Hello,

I have written a Web-Service and an ASP.NET Client and i wanted to use the SoapLogger from

SoapLogger

. I do all the tasks quoted in this paper. (for instance copy the quoted code from this paper in my class-file.).

But when i then execute my ASP.Net Client and call a Web-Service Method, where i add the SoapLogger Attrribute in the WebService-Directive the following error occurs:

Server Error in '/ReservationClient' Application.
--------------------------------------------------------------------------------

Client found response content type of '', but expected 'text/xml'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Client found response content type of '', but expected 'text/xml'.

Source Error:


Line 515: [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://unet.univie.ac.at/~a0106514/webservices/PersonLogin", RequestNamespace="http://unet.univie.ac.at/~a0106514/webservices/", ResponseNamespace="http://unet.univie.ac.at/~a0106514/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
Line 516: public string PersonLogin(string sEmailAddress, string sPassword) {
Line 517: object[] results = this.Invoke("PersonLogin", new object[] {
Line 518: sEmailAddress,
Line 519: sPassword});


Source File: C:\Inetpub\wwwroot\ReservationClient\Web References\WebService\Reference.cs Line: 517

Stack Trace:


[InvalidOperationException: Client found response content type of '', but expected 'text/xml'.
]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1488
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +218
ReservationClient.WebService.Reservation.PersonLogin(String sEmailAddress, String sPassword) in C:\Inetpub\wwwroot\ReservationClient\Web References\WebService\Reference.cs:517
ReservationClient.Login.ImageButton1_Click(Object sender, ImageClickEventArgs e) in C:\Inetpub\wwwroot\ReservationClient\Login.aspx.cs:90
System.Web.UI.WebControls.ImageButton.onclick(ImageClickEventArgs e) +109
System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +69
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1258




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

Can please anybody help me and is able to say me what went wrong??

Regards

Patrick
GeneralASP Pin
mkdas7023-Aug-04 2:13
mkdas7023-Aug-04 2:13 
GeneralRe: ASP Pin
Not Active23-Aug-04 8:28
mentorNot Active23-Aug-04 8:28 
GeneralRe: ASP Pin
Adam Hable23-Aug-04 12:46
Adam Hable23-Aug-04 12:46 
Questionhow to <!--include file='xxxx.xxx' --> Pin
Ashraf Fathy22-Aug-04 4:15
Ashraf Fathy22-Aug-04 4:15 
QuestionWeb Service or Not? Pin
gmhanna21-Aug-04 16:40
gmhanna21-Aug-04 16:40 
AnswerRe: Web Service or Not? Pin
Xiangyang Liu 刘向阳21-Aug-04 17:02
Xiangyang Liu 刘向阳21-Aug-04 17:02 
GeneralIIS - File and Virtural Includes Pin
Peter Mayhew21-Aug-04 6:30
Peter Mayhew21-Aug-04 6:30 
GeneralRe: IIS - File and Virtural Includes Pin
Peter Mayhew24-Aug-04 6:36
Peter Mayhew24-Aug-04 6:36 
GeneralREG CSS Pin
anuraj20-Aug-04 18:24
anuraj20-Aug-04 18:24 
GeneralRe: REG CSS Pin
Wolfie-o21-Aug-04 4:51
Wolfie-o21-Aug-04 4:51 
GeneralHTML WYSIWIG Editor.. Pin
Rocky Moore19-Aug-04 20:31
Rocky Moore19-Aug-04 20:31 
GeneralRe: HTML WYSIWIG Editor.. Pin
Steven Campbell20-Aug-04 7:35
Steven Campbell20-Aug-04 7:35 
GeneralRe: HTML WYSIWIG Editor.. Pin
Rocky Moore20-Aug-04 8:26
Rocky Moore20-Aug-04 8:26 
GeneralRe: HTML WYSIWIG Editor.. Pin
Paul Watson20-Aug-04 10:50
sitebuilderPaul Watson20-Aug-04 10:50 
GeneralRe: HTML WYSIWIG Editor.. Pin
Rocky Moore20-Aug-04 11:41
Rocky Moore20-Aug-04 11:41 
GeneralRe: HTML WYSIWIG Editor.. Pin
Jeremy Oldham20-Aug-04 14:01
Jeremy Oldham20-Aug-04 14:01 
GeneralRe: HTML WYSIWIG Editor.. Pin
Rocky Moore20-Aug-04 20:20
Rocky Moore20-Aug-04 20:20 

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.