Vector
Vector

Reputation: 11703

Remote clients can't access Delphi WebService hosted in IIS 7.5

Remote clients can't access Delphi WebService hosted in IIS 7.5

Delphi WS clients are configured to point to URL of Delphi SOAP webService hosted on Windows 7, IIS 7.5 server.

All clients point to same URL - (not the default 'local host' generated by WSDL import utility). WebService VD is configured to allow anonymous access using credentials of a domain admin account

Problem: clients deployed on the server machine itself run fine, clients deployed on other machines on the network cannot access webService - error msg: 'EDOMParseError at $00534E53 XML document must have a top level element'. I've tried this instantiating the client proxy class with both SOAP and WSDL params.

Same webService hosted on XP-IIS 5 server is accessible to all clients, so I believe this is probably a configuration problem in IIS 7.5.

Upvotes: 2

Views: 1392

Answers (2)

Vector
Vector

Reputation: 11703

@CosminPrund was correct in his comment on the question. Windows Firewall was only permitting file sharing in the domain, but not other services.

Upvotes: 1

mjn
mjn

Reputation: 36654

Check the response document (either by modifying the client or by using a HTTP proxy like Fiddler) - I guess that the malformed document body contains useful information like a server error message.

Upvotes: 2

Related Questions