PDS - SOAP Request Error- Please help

C

clin341

I'm running the PDSTest application that came with the SDK but I'm getting
the following error when I try to send the SOAP request. The error occurs on
line

s = SClient.SoapXMLRequest(sCookie, sXML)

Connector:Host not found. HRESULT=0x800A1521 - Client:An unanticipated error
occurred during the processing of this request. HRESULT=0x800A1521 -
Client:Sending the Soap message failed or no recognizable response was
received HRESULT=0x800A1521 - Client:Unspecified client error.
HRESULT=0x800A1521

Does anyone know how to troubleshoot this problem?

Thanks,
CLin
 
R

Ray McCoppin

Are you running the dot net version or teh vb6 version. The VB6 version was
written for use with the SOAP Tool Kit 2.0 and the current version is 3.0
their are small changes in the syntax and logic sequences. You should try
using the dot net version that the soap calls work on the dot net framework
1.1.

Hope this helps.
 
W

William Raymond [MVP]

Hi Clin,

Hmmm. Unfortunately, this could be anything. Here are some things to try:

1) Without any browsers or PDS Test running, make the PWA site trusted (open
up a single copy of IE, go to Tools->Options->Security and add PWA as a
trusted site). Exit the single copy of the browser and see what happens
with PDSTest.

2) If you are using SSL (i.e. your PWA site is HTTPS://...) then it is
possible the PDS Test tool is getting a username/password challenge/response
from Windows. You will need to install a root certificate on your browser
to prevent the challenge/response in the future. You will need to work with
whomever in your organization owns root certificates to set this up
properly.

3) Host Not Found could also mean that your computer just plain cannot
connect to the server. Make sure you can access PWA and can login to the
server or PDS won't let you in.

4) Check the Event Viewer on the Project Server and see if there is anything
going on when you make a request that appears to cause an application error.

-Bill
 
C

clin341

William,

1) PWA was already a trusted site so I don't think this is the issue.
2) We're not using SSL so this isn't a issue either.
3) I am able to access PWA and can login to the server. I also verified
that I can access the file psd.wsdl. I am able to hit the URL:
http://<server>/projectserver/PDS.wsdl
4) There's nothing in the Event Viewer on the Project Server where I make a
request. On the machine where the application is making the call, I see
three errors:

Soap error: Unspecified client error..
Soap error: An unanticipated error occurred during the processing of this
request..
Soap error: Sending the Soap message failed or no recognizable response was
received.


Thanks,
CLin
 
C

clin341

I've got the issue resolved and I wanted to post the solution.

For some reason, the .wsdl extension was not added as an application
mapping. I think this may have happened when we re-installed IIS. I
manually added the extension myself in the Mappings tab by editing the
ProjectServer application properties in IIS and selecting the configuration
button. See following for detailed steps:

1) Open ISS
2) Right click on the virtual directory for ProjectServer and select
Properties
3) Click the Configuration... button on the Virtual Directory tab
4) Verify that .wsdl is not an extension. If it's already listed, you have
a different problem.
5) Click Add.. button
6) Enter the following
Executable: "C:\Program Files\Common Files\MSSOAP\BINARIES\SOAPIS30.DLL"
Extension: .wsdl
Limited To: GET,POST
Check Script Engine

Thanks,
CLin
 
W

William Raymond [MVP]

Thank you for posting this. I had not realized you set up a site that was
not based on the default installation or that would have been my first
inclination :)

Have fun!

-Bill
 

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

Top