P
Peter Heisen
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
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