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.

WebService newbie - contenttype problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peter Heisen - 17 Jun 2004 02:18 GMT
Wrote a very simple webservice.  Trying to test with this simple VB Script
client:

dim soapClient
set soapClient  = createobject("MSSOAP.SOAPClient")
on error resume next
soapClient.mssoapinit("http://localhost/hdws/service1.wsdl")
if err then
wscript.echo "error 1"
wscript.echo soapClient.faultString
wscript.echo soapClient.detail
end if
wscript.echo soapClient.Subtract(5,2)
if err then
wscript.echo "error 2"
wscript.echo soapClient.faultString
wscript.echo soapClient.detail
end if

The output is:
error 2
Client: Connector - Server returned contenttype other than text/xml.

Also wsdl.exe produces similar message when trying to create proxy class.

Appreciate any help.

Peter Heisen
Jan Tielens - 17 Jun 2004 06:49 GMT
Can you browse to the web service url with your internet explorer?

Signature

Greetz
Jan
________________
Read my weblog: http://weblogs.asp.net/jan

> Wrote a very simple webservice.  Trying to test with this simple VB Script
> client:
[quoted text clipped - 24 lines]
>
> Peter Heisen
Peter Heisen - 17 Jun 2004 13:11 GMT
Yes.  No problem with that.  In fact, generated the wsdl file for SOAP
Client object using Save As from http://localhost/hdws/service1.asmx?wsdl.
Certainly looked like well-formulated xml.

> Can you browse to the web service url with your internet explorer?
>
[quoted text clipped - 26 lines]
> >
> > Peter Heisen

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.