Has anyone ever experienced the following error when
browsing the SOAP endpoints of ArcGIS Server services through the web adaptor?
HTTP Status 400 -
type Status report
message
description The request sent
by the client was syntactically incorrect.
Apache Tomcat/7.0.47
When you first try and view the SOAP endpoint for a service
via the REST endpoint, the web adaptor name is missing:
For example:
http://<machine name>//services
Manually amending the URL to:
http://<machine name>/<web adaptor>/services
gives the 400 error shown above.
The REST endpoint is fine. Going over 6080 or 6443 is fine.
The problem seems to be with the Web Adaptor constructing the SOAP requests. We
tried installing a fresh copy of the web adaptor on another server but received
the same response. We don’t believe the corporate proxy is involved here as
even specifying just the hostname in the URL or ‘localhost’, the same response
is received. Has anyone seen this before? This is with ArcGIS Server 10.2.2.
The URL for the SOAP endpoint should be:
http://<machine name>/<web adaptor>/services?wsdl
I don't know of any reason why ArcGIS Server or the web adaptor would remove the web adaptor name from the URL as you reported, that sounds like the work of a proxy to be honest, but without getting logs from the browser developer tools or Fiddler it would be hard to say.
Thanks for your reply Dan. It turned out it wasn't the proxy or web adaptor causing this. After further testing, we identified the problem to be in the config store. Creating a brand new ArcGIS Server site on the same machine gave the correct SOAP endpoint. Not sure what exactly happened but it is resolved.
Did creating a new ArcGIS Server site entail having to recreate or republish your map services?