Project and Portfolio Management Practitioners Forum
cancel

H..E..L..P......M..E.....P...L..E...A...S...E....(PPM-Webservices)

Highlighted
rallabandi
Trusted Contributor.

H..E..L..P......M..E.....P...L..E...A...S...E....(PPM-Webservices)

Hi Guys,

I enabled the webservices in PPM as mentioned in webservice configuration guide section 4. But when i run the sample application i am getting this error "Unauthorized"

I am not able to understand where is my mistake. I only modified following files.
1. conf\webservices.conf
2. \deploy\itg.war\WEB-INF\conf\axis2.xml
3. \deploy\itg.war\WEB-INF\conf\client_axis2.xml

Bellow is the .NET errors, i am just using webtoolkit .NET version.

Unhandled Exception: System.Net.WebException: The request failed with HTTP statu
s 401: Unauthorized.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie
ntMessage message, WebResponse response, Stream responseStream, Boolean asyncCal
l)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodN
ame, Object[] parameters)
at DemandServiceTest.localhostDemandService.DemandServiceWse.createRequest(cr
eateRequest createRequest1) in C:\Data\Work\GIC\PPM\documents\MicrosoftDotNet\De
mandServiceTest\Web References\localhostDemandService\Reference.cs:line 171
at DemandServiceTest.Program.CreateRequest() in C:\Data\Work\GIC\PPM\document
s\MicrosoftDotNet\DemandServiceTest\Program.cs:line 112
at DemandServiceTest.Program.TestDemandService() in C:\Data\Work\GIC\PPM\docu
ments\MicrosoftDotNet\DemandServiceTest\Program.cs:line 45
at DemandServiceTest.Program.Main(String[] args) in C:\Data\Work\GIC\PPM\docu
ments\MicrosoftDotNet\DemandServiceTest\Program.cs:line 33



Regards
4 REPLIES
jerome.vovard
Super Contributor.

Re: H..E..L..P......M..E.....P...L..E...A...S...E....(PPM-Webservices)

CAn you send me your entire WS toolkit containing the updated files?
I'll look at it into my environment.
Regards,
Email: jerome.vovard@hp.com
rallabandi
Trusted Contributor.

Re: H..E..L..P......M..E.....P...L..E...A...S...E....(PPM-Webservices)

Hi Jeromy,

Thank you very much for your offer, I sent you the details to your HP account.

Once again, thanks for your offer.

Regards
Murthy
rallabandi
Trusted Contributor.

Re: H..E..L..P......M..E.....P...L..E...A...S...E....(PPM-Webservices)

Hi All,

Here is the solution for this issue. Please do not use port 8080 for PPM when Oracle is running on the same box. Because by default Oracle listens this port as well, unless you disable it from Oracle end.

Thanks for your help Jerome.

Regards
Murthy
rallabandi
Trusted Contributor.

Re: H..E..L..P......M..E.....P...L..E...A...S...E....(PPM-Webservices)

closing this thread. Thanks