Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / June 2004

Tip: Looking for answers? Try searching our database.

Soap Extensions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Klaus L?ffelmann - 24 Jun 2004 21:55 GMT
In a Client that tries to access a web service I get the message

Client found response content type of '', but expected "text/xml".

I'm just beginning to explore web services, so I really don't know, what to
do.

Can anybody help?

Klaus
Roman Kiss [MVP] - 24 Jun 2004 23:48 GMT
Klaus,

It seems that you received a http response (error) instead of the
SoapEnvelope.

Roman

> In a Client that tries to access a web service I get the message
>
[quoted text clipped - 6 lines]
>
> Klaus
Klaus L?ffelmann - 25 Jun 2004 09:48 GMT
But the web service works fine, if I use the IE explorer for it .
Then again, I think it doesn't mean anything, since the webservice uses
soap-extensions.
But the webservice actually is never called. I set breakpoint all over the
webservice source, which are never reached.

Do you have any other ideas?

Thanks a lot!

Klaus

> Klaus,
>
[quoted text clipped - 14 lines]
> >
> > Klaus
Roman Kiss [MVP] - 25 Jun 2004 19:51 GMT
The Test page (IE client) doesn't invoke a WebMethod throug the
SoapExtension, it's using the HTTP POST protocol.
Try to use the SoapScope [1] tool and trace it your SoapExtension.
In my article [2] I created a base class NopSoapExtension to bypass the
SoapMessage thought the request/response. Have a look at it.

HTH

Roman

[1] http://www.mindreef.com/products/overview.html
[2] http://www.codeproject.com/cs/webservices/DIMEBridge.asp

> But the web service works fine, if I use the IE explorer for it .
> Then again, I think it doesn't mean anything, since the webservice uses
[quoted text clipped - 26 lines]
> > >
> > > Klaus

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.