How can we use Primavera portfolio management of Web services in Java?

I tried to send the SOAP request as:

<? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >

" < = xmlns:soapenv soapenv:Envelope ' http://schemas.xmlsoap.org/SOAP/envelope/ "xmlns:psp =" " http://ProSight.com/WSDL/5.0/psPortfoliosSecurity/ ">

< soapenv:Header / >

< soapenv:Body >

< psp:Login >

Admin of < psp:sUser > < / psp:sUser >

Admin of < psp:sPassword > < / psp:sPassword >

< psp:lTimeOut > 100 < / psp:lTimeOut >

< / psp:Login >

< / soapenv:Body >

< / soapenv:Envelope >

I get the response as:

<? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >

" < envelope soap: xmlns:soap = ' http://schemas.xmlsoap.org/SOAP/envelope/ "container =" " http://www.w3.org/2001/XMLSchema "" xmlns: xsi = " " http://www.w3.org/2001/XMLSchema-instance ">

< soap: Body >

" < LoginResponse xmlns =" http://ProSight.com/WSDL/5.0/psPortfoliosSecurity/ "/>

< / soap: Body >

< / envelope soap: >

Post edited by: 0c81719e-48f8-48a9-abd3-c9dbb717b338 solved the problem of soap action valid, but do not have the token that will be required for access to other services.

It should look like this:

try {}

//
Configure the PsPortfoliosSecurity Service and activate cookies
//
PsPortfoliosSecurityUrl URL = new URL ("http://najad/prosightws/psPortfoliosSecurity.asmx?wsdl");

PsPortfoliosSecurity psPortfoliosSecurity = new PsPortfoliosSecurity (psPortfoliosSecurityUrl);

PsPortfoliosSecuritySoap psPortfoliosSecuritySoap = psPortfoliosSecurity.getPsPortfoliosSecuritySoap ();

BindingProvider psPortfoliosSecuritySoapBindingProvider = (BindingProvider) psPortfoliosSecuritySoap;

psPortfoliosSecuritySoapBindingProvider.getRequestContext () .put (BindingProvider.SESSION_MAINTAIN_PROPERTY, Boolean.TRUE);

//
Connect to Madaboutangling and remove the response cookies.
//
psPortfoliosSecuritySoap.login ("admin", "password", 1000);

Card> responseHeaders = (map>) psPortfoliosSecuritySoapBindingProvider.getResponseContext () .get ("javax.xml.ws.http.response.headers");

List cookieHeaders = responseHeaders.get("Set-Cookie");

//
Setup of the Service of PsPortfolioCategory
//
PsPortfoliosCategoryUrl URL = new URL ("http://najad/prosightws/psPortfoliosCategory.asmx?wsdl");

PsPortfoliosCategory psPortfoliosCategory = new PsPortfoliosCategory (psPortfoliosCategoryUrl);

PsPortfoliosCategorySoap psPortfoliosCategorySoap = psPortfoliosCategory.getPsPortfoliosCategorySoap ();

BindingProvider psPortfoliosCategorySoapBindingProvider = (BindingProvider) psPortfoliosCategorySoap;

//
Add our "cookies" of the PsPortfoliosSecurity response to our request to PsPortfolioCategory.
//
Card> requestHeaders = (map>) psPortfoliosCategorySoapBindingProvider.getRequestContext () .get ("javax.xml.ws.http.request.headers");

If (requestHeaders == null) {}

requestHeaders = new HashMap> ();

psPortfoliosSecuritySoapBindingProvider.getRequestContext () .put ("javax.xml.ws.http.request.headers", requestHeaders);

}

requestHeaders .put ("Cookie", cookieHeaders);

psPortfoliosCategorySoapBindingProvider.getRequestContext () .put (MessageContext.HTTP_REQUEST_HEADERS, requestHeaders);

//
Download the CategoryInfo for the class of the field.
//
PsPortfoliosCategoryInfo categoryInfo = psPortfoliosCategorySoap.getCategoryInfo ("Domain");

System.out.println (categoryInfo.GetName ());

}

catch (Exception ex) {}

System.out.println (ex.getMessage ());

}

V/r,

Gene

Tags: Oracle Applications

Similar Questions

  • Can I use my printer HP D110A web service as a proxy server?

    I'm trying to set up my network using proxies and I do things.

    Hello

    Using an internal proxy server on a home network won't provide benefits in almost all cases.

    It is unlikely, but you will need to consult the manual or contact HP to find out with certainty.

  • Oracle Primavera Portfolio Management 9.0 Ports

    Hello
    We seek to deploy Oracle Primavera Portfolio Management 9.0.
    We have the database and the Web server.
    Can someone tell me what ports must be open between the two servers, so that on the Internet, I don't find that information anywhere.
    Thank you.

    It depends on what database used for the backend.

    For the front end for the customer, you will need 443 (user name a password screen is always 443) and maybe 80 if you allow access http through the browser of the user.

    For the database (check with your DBA) but normally:
    MSSQL is 1433
    Oracle is 1521

    In addition, the system must msdtc to access. This can be a little tricky because MSDTC expects not only the TCP 135 port, out of the box but also uses RPC dynamic port allocation. Is there a way to configure MSDTC to use a specific dynamic port range.

    http://support.Microsoft.com/kb/306843

    Gene

  • How can I enable disable Activity Manager?

    How can I enable disable Activity Manager?

    General information:
    The activity Manager records all interactions between Thunderbird and your e-mail in one place provider. There is no guesswork more. Just look in one place to see what's going on with your email.
    Activity Manager allows you to follow more closely what is happening in the system and what activities are currently performed (for example, synchronization of folders offline IMAP, download new POP messages). The info in the status bar may appear and disappear quickly sometimes before able to read, but the info is displayed in the Manager activity.

    Useful in the audit of what has occurred and are auto stocks. This can help in the troubleshooting section.

    It appears if you select 'Tools' > 'the activity Manager.
    Thus, it is not something that suddenly arises every two minutes to annoy the user.
    The journal is deleted whenever you leave Thunderbird or you can clear the log manually.
    "Tools" > "activity Manager".
    Click on the button 'clear list '.

    This is an unusual request to stop the activity of logging as a background process and the only way to check what activity account has or has not occurred.

    I have searched and checked preferences to see if it could be turned off, but nothing helped.

  • How can I use the speed dial on my Motorola W490?

    How can I use the speed dial on my motorola W490? I have followed the instructions on the manual book, but did not work.

    The result, I received the screen is "unauthorized."

    Pls help. THX.

    Desiree-

    Can you tell us what steps you took to set your speed dial and use it?

    W490 User Guide

    On page 61, you can find information about adding dial numbers to speed up and 62 mentions how you dial. For example if you have saved your Uncle Paul as Dáil speed 3, you simply hold the button 3 to call this contact.

    Mark

    Support Forums Manager

  • How can I use process explore check PID 1176 60% CPU svchost.exe? Help, please.

    As the title, how can I use process Explorer to check PID 1176 60% CPU svchost.exe? Help, please.

    The task manager has PID 1176-60% CPU, all the time, which I believe is the reason my pc works so slow.

    How to use Exp Pro to know what is actually using 60% of my cpu, via svchost 1176 PID?

    I found the Exp Pro Geek guide - but are struggling to pass for a non geek.

    Using Vista 32 bit.

    Thanks in advance for any answers.

    Process explore uses more resources than svchost, it works automatically using a lot of memory. Anyway, the open task

    Mgr, locate the svchost, R.click on the location of TI/properties/open a file. You will find that it is a service of microsoft.

    The drain is usually in BITS, try to go to run, or cmd, type: services.msc in msc, locate BITS, R.click on it, open,

    Set to manual start, exit msc, restart the pc.

  • How can I use an external HTML form with a file upload in my page of MUSE?

    How can I use an external HTML form with a file upload in my page of MUSE? I know I can insert an external form, but how do I create a link to my email

    Yes, in most cases. If it is not in your actual embed code, you will need to be added to the script that uses the code. There are literally hundreds of form manages the codes out there on the web, it would be impossible to tell you exactly where it needs to be added. Your best option is to use a third party such as JotForms or WooForms shape provider and use the third Muse Widgets for these services.

  • How can I disable the color management in my Epson Stylus Photo R1900

    How can I disable the color management in my Epson Stylus Photo R1900 printer? I use the Epson laetest driver, I use Adobe Photoshop CS5 and I'm on OSX 10.5.8.

    Thank you

    Joe

    If you select "Photoshop manages color" the Epson R1900 with the commune 7.0 Updater installed on top of the 6. something driver automatically disables the printer color management.

    If for any reason any it is working properly, the R1900 user guide is available online. Page 28 and 29 of this guide shows how to turn off the Epson printer color management.

  • How can I use my photo albums as screensaver with Apple TV 4th gen

    How can I use a photo album that I created as a screensaver on the generation of Apple TV 4 because it is not an option in this sense?

    What follows is the Apple TV 4 user guide...

    Screensavers

    Apple TV displays a screen saver when it remains inactive for a predefined number of minutes.

    Air screensaver shows beautiful videos of slow motion of the places of the world, upload to an online server, making the screen saver more engaging and dynamic. For the antenna, you can control how many times Apple TV check and download new videos.

    Change the frequency of aerial screensaver download. In settings, go to general > screen saver and select Download New Videos, and then select an option.

    Return by using Apple TV. When the screen saver is active, press the contact surface to get to some app have been previously using.

    Choose a different screen saver. In settings, go to general > screen saver and select the Type. Then select the screen saver you want to use.

    Select the photos to display. Many of the screen saver options display a slide show of photos - it can include photos provided by Apple, or your own collection stored in iCloud. To choose which photos are used, in the settings, go to general > screen saver and select the Type. Then choose one of the types of screensaver-photographers.

    If you choose my Photos, the Photos app opens. Follow the instructions to put photos as screensaver.

    Set the screensaver time-out. In settings, go to general > screen saver and select the setting starts after, and then specify a number of minutes. This indicates to the Apple TV to start the screen saver automatically if the unit has been idle for the specified time.

    Activate the screen saver immediately. Press the Home button to go to the home screen (if it isn't already), and then press the button twice.

  • How can I use Windows on the Mac desktop?

    How can I use Windows on MAC desktop products?  OS X El Capitan

    You can install it in BootCamp or virtual VMWare, Parallels or VirtualBox machine

  • How can I use my watch to snap the shutter on my iPhone?

    How can I use my watch to snap the shutter on my iPhone?

    Click here > https://help.apple.com/watch/

    Then click on: Remote Camera on the left.

    You'll see instructions.

  • How can I use firefox to open the public sybercafe.

    How can I use firefox in open public sybercafe.and what precautions should be taken.

    Hi, you can use the Firefox private - browsing Mode navigate the web without saving the information on the sites you visit

    The incognito on Firefox for Android

  • How can I use my instore credit for a movie

    How can I use my instore credit for a movie

    Hello R Larson,

    I see that you are wanting to use a store credit for a movie. I'll be happy for you have said in the right direction. First of all, let's see if we can find out if the credit is a credit of iTunes gift card or a credit from the Apple Store. This article will help you determine what may be:

    What kind of card do I? -Apple Support

    If credit is iTunes, you can just check your balance using the instructions found in the section below and use to either rent or buy a movie to display:

    See your credit balance - Apple Support iTunes

    If the store is an Apple Store Gift card credit, you would not be able to use iTunes to watch a movie.

    I hope this helps. See you soon!

  • How can we use this page Windows Genuine?

    How can we use this page once the developers of Firefox has removed the option "Enable Java"?

    Now, I downloaded this tool to check if the Windows Genuine or not! But kept getting the error message during the installation of the application.

    This is not sound/look like a problem of firefox at all, but could be a problem with the integrity of your windows system (perhaps related to malicious software): http://support.microsoft.com/kb/2617842/en-us

  • How can I use my PC speakers to hear my phone iphone 6s calls?

    How can I use my PC speakers to hear my phone iPhone 6s calls?

    If your 'PC' was a Mac, you can use the continuity.  But if your PC is a Windows PC, you're out of luck.

    Continuity allows you to connect your iPhone, iPad, iPod touch and Mac - Apple Support

Maybe you are looking for