WebService newbie - contenttype problem

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top