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
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