Access Project Server using PDS

J

Javi Arboleya

Hi,

I'm trying to write an application in PHP running into Apache web server
that manages Project Server using PDS Web Services.

But until now, I'm experiencing problems with PDS authentification (getting
security cookie) and I'm starting to think that it's impossible to access
Project Server from PHP and Apache.

Anybody tried to do this?, any information would be very appreciated

thanks in advance
 
J

James Fraser

Javi Arboleya said:
But until now, I'm experiencing problems with PDS authentification (getting
security cookie) and I'm starting to think that it's impossible to access
Project Server from PHP and Apache.

Anybody tried to do this?, any information would be very appreciated

I'm not sure if this will help, but here's some info that I've found from
other types of connections.
PDS calls take two things: a security cookie and the XML query string.

Since you mention the cookie, I'll assume you've got the query string
figured out.

You can get the value of the cookie by calling
http://servername/projectserver/LgnIntAu.asp (for Windows Authenticated
logins)

(There's also a page LgnPSAu.asp at the same location that can be used for
Project Server Authenticated logins, but I don't have experience with that.)

So after calling LgnIntAu.asp, you'll get an XML response. Parse this to get
the Reply/Cookie node. This will be the string you need to pass back in as
the Cookie argument to the PDS call.

thanks in advance
I hope this helps/works...
James Fraser
 
R

Rohan

Hi James,

We are facing a similar porblem over here. We have typed in the correct url
and we are using windows authentication. We are able to login using PWS but
when we try to login programatically using HTTPWebRequest Object we are
getting a
"Remote Server Logon Failure 401 Unauthorized error"

please let me know if you can help.

Thanks
-Rohan
 

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