DB View and p6 web service

Hi everyone,
Is it possible to get data through p6 web service from DB view, not only from data table?
I was thinking to create a view in which I can join OBS and Projects table. But not sure, if is possible to get data from this view in .net application by using p6 ws service?
If it possible, could you provide some examples?
Best regards,
Dmitrij

You can do the same basic thing using the P6WS and .NET.
Use the OBS Service inside the Global namespace.  Call the ReadOBS Operation to retrieve an array of OBS objects.  Cast the array of OBS objects into a List<T> e.g. obsList.
Use the Project Service inside the Project namespace. Call the ReadProject Operation to retrieve an array of Project objects. Cast the array of Project objects into a List<T> e.g. projectList
Use a linq query to perform an inner join.
Should look something like this:
var obsProjects = from o in obsList
       join p in projectList on p. OBSObjectId equals o. ObjectId
       select new {  responsibleManager = o.Name,
projectName = p.Name,
obsObject = o,
projectObject = p
foreach (var op in obsProjects)
Console.WriteLine(op.responsibleManager +
" : "+ op.projectName +
" : "+ obsObject.LastUpdateDate +
" : "+ projectObject.Status);
V/r,
Gene

Similar Messages

  • Front End internal and external web services

    Hi all,
    Can someone explain the purpose of internal and external web services URL in front end server. what does it do and what is it used for? and why the external traffic goes directly to it and not through reverse proxy?
    Thanks,

    They're for multiple purposes.  Address books, autodiscovery, meeting urls, mobile clients, etc.  There are two because they respond slightly differently based on whether the client is internal or external.  External traffic should always reach
    it through a reverse proxy, that reverse proxy should proxy traffic received on port 443 to port 4443 on your front end pool.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications
    This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • SSO and ABAP Web Services

    I am opening this thread on behalf of my colleague Bala regarding SSO and ABAP Web Services.
    We have gone through single sign on options and found several options are available within 5.0.
    We would like to know the options available for SAP ABAP web services access from a Non-SAP system with user authorization but without Portal/ITS installation.
    Also I would like to avoid any hard coding of user id in Non-SAP system .
    Could you provide any information.
    Thanks,
    Bala

    We have gone through single sign on options and found several options are available within 5.0.
    Tell me what are the several options and what is your Non-SAP system?
    without Portal/ITS installation.
    ITS is now an integral part of ECC 5.0 system. So would not need a seperate installation, unlike earlier versions.
    AB

  • Standard Web Service and Customized Web Services with or without PI?

    Hi All,
    I want to know how I can use Standard Web Service available in SAP  and customized Web Services
    without PI Interface?
    And what is the best practice to expose services ,via PI Interface or directly?
    Thanks in advance!!
    Pushkar

    This is purely based on your requirement. If you use PI middleware to expose web services, you get standard functionalities such as certificate authentication, logging, message reprocessing for the failed messages etc.  If your requirement is so simple, then you might not need PI. In this case you can develop simple webdynpro for abap program to create webservice and expose the webservice in ECC webservice runtime. You can let anyone to consume within your network. other ways like exposing BAPI/RFC as webservice.  I would recommend going with PI.

  • Timestamp Error when calling Encrypt and Signed Web Service

    Hello,
    I maked one Web Service in the Oracle Service Bus 10gR3 that supports Encryption and Sign, basically inserting (manually) this on WSDL Contract:
    This two namespaces:
    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
    xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
    This Declarations:
    <wsp:UsingPolicy Required="true"/>
    <input>
    <wsp:Policy>
    <wsp:PolicyReference URI="policy:Encrypt.xml"/>
    </wsp:Policy>
    <soap:body use="literal" />
    </input>
    <wsp:Policy>
    <wsp:PolicyReference URI="policy:Sign.xml"/>
    </wsp:Policy>
    The above declarations was inserted in the correct points inside the WSDL Contract and the Web Service is working correctly.
    The Problem is related to Sign.xml declaration, when i insert this declaration:
    <wsp:Policy>
    <wsp:PolicyReference URI="policy:Sign.xml"/>
    </wsp:Policy>
    Then, the Web Service shows an error. Following the Request and Resonse (That shows the error):
    Request:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ger="http://www.abc.com.br/Service">
    <soapenv:Header/>
    <soapenv:Body>
    <ger:gerarHashSenha>
    <arg0>123456</arg0>
    </ger:gerarHashSenha>
    </soapenv:Body>
    </soapenv:Envelope>
    Response:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    *<faultstring>Can not retrieve header: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Timestamp</faultstring>*
    </env:Fault>
    </env:Body>
    </env:Envelope>
    Observation: I was invoking the WebService using the soapUI Tool.
    I Tryed change the request to bellow code, but doesn't work:
    <soapenv:Envelope xmlns:ger="http://www.abc.com.br/Service" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header>
    <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsu:Timestamp wsu:Id="Timestamp-447" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsu:Created>2010-05-27T21:40:55.667Z</wsu:Created>
    <wsu:Expires>2010-05-27T21:41:55.667Z</wsu:Expires>
    </wsu:Timestamp>
    </wsse:Security>
    </soapenv:Header>
    <soapenv:Body>
    <ger:gerarHashSenha>
    <arg0>123456</arg0>
    </ger:gerarHashSenha>
    </soapenv:Body>
    </soapenv:Envelope>
    Thanks.
    Victor Jabur.

    someone has any idea ?
    Thanks

  • EBS11i to provide Web services and receive Web services

    Our corporate direction is to have all major systems internal has to communicate to each other using web services. No more using pl/sql, dblink, FTP to communicate.
    we are using EBS 11i.
    1) Is that possible to have our EBS 11i able to receive web service call and make web service call to other systems?
    2) Will 'Oracle AS Adapter for Oracle Applications' is the solution for this? is this adapter install at EBS box to receive web service call and make web service call to other systems?

    Hi,
    WebDynPro Java/ABAP are primarily User Interface technologies. Webservices are faceless (without UI ) components that provide certain functionality. Using UI technologies like WebDynPro Java/ABAP etc, we can build a face( UI ) to the webservices.
    DnyPro itself means a screen & WebDynPro is for building web based applciations.
    Hope this resolves your question.
    Well, if you still want to use it as provider & if you have an existing web-service, the way to do it is, Right click on your WebDynPro ABAP component & select CREATE->Service Call. Build a Custom Controller or use the Component Controller to get the service using service type = Webservice proxy for your webservice. You can use this Component as a Used component in any other webdynpro components & use this to access webservices.
    Thanks,
    Phani
    Edited by: Phani Rajesh Mullapudi on Oct 8, 2009 10:41 PM

  • Lync control panel and internal web Services

    Hi,
    In our Lync 2013 deployment for web services we have set override  FQDN for internal Web Services asialyncpool.corp.contoso.com and External web services as web.contoso.com. The Control Panel URL has been set to https://admin.contoso.com
    When i launch Control panel, in the IE https://admin.contoso.com the control panel opens and but the url get changed to internal web services ie sialyncpool.corp.contoso.com. When i enter https://admin.contoso.com/cscp in the IE it ask for logon
    credentials and doen't accept the credentials at all, how many times i may try.

    Thanks for the response.
    https://admin.contoso.com,
    it will redirect to the URL of: https://asialyncpool.corp.contoso.com/cscp -
    This is exactly what is happening.
    When i use - https://asialyncpool.corp.contoso.com/cscp,
    it doesn't accept the credentials, it keep asking for right credentials, when i use Lync control panel, it does accept the credentials.

  • How to Create and Deploy Web Services Using Oracle 9i JDeveloper

    Hi,
    My Question is how to create and deploy Web Services using Oracle 9i JDeveloper.Anybody please give me a detailed Reply.Please Reply to [email protected]
    Hopr to Hear From you,
    Regards,
    G Sreekumar

    You could use datasources. You should do this in your BC4J Configuration. Then when deploying your applicaiton use the command -installDataSource (from admin.jar) to create the right datasource.
    You could probably use the name of your connection + "DS" so you can also use it locally in JDeveloper as JDev seesm to create this automaticly for your Connections.

  • ANN: Contest open, new tutorial and new Web services software

    The OTN Web Services Challenge is now open and accepting entries. Read the details, rules and requirements at:
    http://otn.oracle.com/tech/webservices/htdocs/challenge/content.html
    You could win a Dell Notebook worth USD$5,000 :-) First 500 real entries (that is one with source code and works) will get an Oracle Press book (my understanding is that it is one on Oracle9iAS).
    There are also a number of new things also available on the OTN Web Services Center:
    - A new Oracle9i Reports tutorial at:
    http://otn.oracle.com/tech/webservices/htdocs/series/reports/content.html
    - The Oracle9iAS Containers for J2EE Developer Preview (9.0.3) now supports document style Web Services and asynchronous Web services. Read all the content off the main page in the center:
    http://otn.oracle.com/tech/webservices/
    - A new paper talking about the Java XML Pack from Sun which Oracle is iterating its Oracle9iAS implementation towards:
    http://otn.oracle.com/tech/webservices/htdocs/standards/jax.html
    Mike.

    Currently the patch is only available on MetaLink (metalink.oracle.com) which requires a support account with Oracle. The patch number is 2367149 - see this post for instructions of how to get it from MetaLink:
    Re: Database or Client Level?
    Mike.

  • JDeveloper and Database Web Service Connection

    Hi all,
    I'm trying to publish a Java class as a web service. However, I'm getting the following error for the sample code below. Please help me out pubish this class as a Web service.
    The error:
    No methods were selected. Select one or more methods to publish as a web service.
    My code is below:
    package hr;
    import java.sql.Connection;
    import java.sql.SQLException;
    import oracle.jdbc.pool.OracleDataSource;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import oracle.xml.sql.query.OracleXMLQuery;
    import oracle.xml.parser.v2.*;
    public class DataHandler {
    public DataHandler() {
    String jdbcUrl = "jdbc:oracle:thin:@127.0.0.1:1521:orcl";
    String userid = "hr";
    String password = "mohammed";
    Connection conn;
    Statement stmt;
    ResultSet rset;
    String query;
    String sqlString;
    public void getDBConnection() throws SQLException{
    OracleDataSource ds;
    ds = new OracleDataSource();
    ds.setURL(jdbcUrl);
    conn=ds.getConnection(userid,password);
    public ResultSet getAllEmployees() throws SQLException{
    getDBConnection();
    stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,
    ResultSet.CONCUR_READ_ONLY);
    query = "SELECT * FROM Employees ORDER BY employee_id";
    System.out.println("\nExecuting query: " + query);
    rset = stmt.executeQuery(query);
    return rset;
    }

    Dear dvohra16,
    Thank you for the great book you're recommended. It's really a powerful tool that makes things much better for me.
    I've noticed that you're the author of this book. I'm really honered to discuss with the problems I have and
    I'm so lucky to get your responses for my questions.
    My current question is based on this book. How do I orchestrate a web service that inserts into an oracle database table and a web service that reads
    the contents of that table?
    In other words, the first web service inserts some values into a table and the second should read these values.
    So, how does BPEL orchestrate these web service such that the output of the first one is the input of the second?
    Your assistance is truly appreciated.
    Thank you for your time.

  • Jdev 11g AD / View Objects - update and populate web service data contro

    Hi Experts....
    Looking for the best approach here.
    I am hoping that someone can provide me some thoughts / guidance around the best way to achieve populating a webservice data control from a view object.
    Basically I have created an application pulling data from source tables using ADF BC VO's. I am going to put a command button 'Update Record', that will open up a dialog with a web service data control.
    I am hoping to be able to populate the data control fields, with values from the selected record VO.
    I am tipping at this stage, I will need to do this programatically?
    Is this the recommended approach?
    Any examples of code?
    Thanks in advance to anyone that can help!
    Simo

    Should be similar to this:
    http://blogs.oracle.com/shay/2011/03/passing_parameters_between_web.html
    But the first page would get the data from the VO instead of Webservice.
    Since you are using PL/SQL API in the database to do the update, it might be more efficient to just have an AM service method that uses the existing JDBC connection/transaction and calls this PL/SQL stored procedures and passes info from the VO.
    See: http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcadvgen.htm#BABEIFAI
    Or taking it even further:
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcadveo.htm#sm0328

  • HP Color LaserJet MFP M570dw and HP Web Services

    Hi,
    I have a HP Color LaserJet MFP M570dw printer and have tried to enable the HP Web Services, but without success.
    My printer is configured on a fixed ip-address, with a default gateway and of course with static DNS servers (8.8.8.8 and 8.8.4.4).
    Every time when I try to enable the Web Services feature I get the error message "Connection error. Check your internet connection.".
    My internet connection is working fine and the printer is able to communicate thru the firewall fine too. When I do some tracing I see the printer communicating to the public ip-address "23.21.172.122" but there is no response comming back. So I assume the problem is external and not related to my internal configuration. I have tested this with a fully opened firewall (allowing all communications from my LAN to the Internet) with exactly the same results. There is no answer comming back from the ip "23.21.172.122".
    Also I can't find the HP Color LaserJet MFP M570dw printer in the supported HP ePrint printerlist.
    The 400-series is supported, the 500-serie is not mentioned.
    But since the webinterface of my HP Color LaserJet MFP M570dw printer is giving me the HP Web Services configuration page, I asumed this type would be supported too...
    Does anyone have a clue how to get ePrint working on the HP Color LaserJet MFP M570dw printer?
    Is there anyone who got the HP Web Services working on a HP Color LaserJet MFP M570dw printer?
    Kind regards,
    Rene. 
    This question was solved.
    View Solution.

    Hi Rene,
    Have you tried updating its firmware version?
    The latest firmware should improve the web services connectivity and may help resolving such an issue:
    http://h20565.www2.hp.com/portal/site/hpsc/templat​e.PAGE/public/psi/swdDetails/?sp4ts.oid=5210913&sp​...
    Also be sure to follow its steps which may help resolving a connection issue:
    • Improvements made for connecting to HP Web Services.
    NOTE: After updating from firmware datecode 20121002 to firmware datecode 20121019, if a connection to HP's Web Services cannot be established a Security Reset should be performed. Use the following steps to perform a Security Reset.
    1. At the printer's touch screen control panel press the wrench & gear icon (Setup menu) at the top of the touch screen.
    2. Using the scroll arrows on the right side, scroll until Network Setup appears then press Network Setup.
    3. In the Network Setup menu select Security
    4. Using the scroll arrows on the right side, scroll until Reset All Security appears and then press Reset All Security. Allow the reset to complete before attempting to connect to HP's Web Services.
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Consuming and Providing Web Service with JD Edwards ERP system

    Hi,
    I would like to create web services with c++ or java OR any other easier way .
    I need to use that web services to use in Share point to interact with JD Edwards ERP system .
    Pls Note : Since not having license for JD Edwards, I need to create and call from Sharepoint Web service to JD edwards.
                       and not from JD edwards web service.
    Could anybody guide me in this.
    Thanks in advance.

    I had this error again so I thought I would post my solution:
    The issue is SAP needs to know the certificates being used by the web site being called.  These certificates are automatically installed in your browser but need to be manually installed in SAP.  This is what I did:
    How to find/install new certificates
    Make sure you run Internet Explorer as an Administrator so you can export the certificates
    Go to the web site that SAP is trying to call in Internet Explorer
    Double click on the lock in the address bar
    View certificates
    Find the certificates that are being used
    Tools --> Internet Options --> Content --> Certificates
    Click on the “Trusted Root Certification Authorities” tab
    Find the certificate identified in step iii
    Export as a CER certificate
    Click on the “Intermediate Certification Authorities” tab
    Find the certificate identified in step iii
    Export as a CER certificate
    Go to STRUST in SAP
    Import the Certificates in the “Anonymous” or “Standard” SSL client
    Save
    RESTART the ICM via t-code SMICM  <-- Critical!!!
    Test

  • How to publish Report Viewer reports as Web Services

    I have some reports templates (.rdlc) having only business objects as data sources (no direct SQL connection). They are working well with Windows Report Viewer. Now I am think to make the reports available via web services to multiple apps. Is there
    a way to do that? Any sample?
    Thanks,
    Jason

    Hello,
    SQL Server Reporting Services provides access to the full functionality of the report server through the Report Server Web service. In order to meet your requirement, you
    can try to converting an .rdlc file to an .rdl file
    and then deploy the report to report server.
    If you want to rendering the report in your application, you can try to use the ReportViewer controls in remote processing mode.
    Reference:
    Adding and Configuring the ReportViewer Controls
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • Create, get and update web service context mapping

    Hello,
    I think I have a pretty common problem. I will explain it with a simple example:
    I have a car object, with the attributes id, name and speed.
    I have three web services: create, get and update
    I have a view with the input fields id, name and speed
    How to do the context mapping?
    When creating a car it would be good if input fields would be mapped to the create service, when getting a car it would be nice if the input fields would be mapped to the get service....
    How to deal with this situation? Do I have to create 3 views?
    Thanks!
    Felix

    Hello Martin,
                     thnks a ton for your replies.
    The '.' is a standard thing.
    Its the part of the WSDL file which is a standard WSDL file for a service offered for a standard SAP BAPI. So i haven't changed anything.
    Its what is standardly available. So i cant anything on that.
    And the response element is not below the bapi node.
    The name of the root node of the BAPI return context is
    "BAPI_INQUIRY_CREATEFROMDATA2.Response"
    This is what is causing the problem.
    Please note here that '.' is not responsible for any hierarchy. Its the name of one single root node element.

Maybe you are looking for

  • SPACE at the end of number of gl account  (ALPHA Conversion)

    Hi, While updating data from ODS to cube, it is giving error as <b>"Characteristic value '010000 ' of characteristic 0GL_ACCOUNT is not ALPHA-converted " </b>. If you can see there is added <b>SPACE</b> at the end of '010000'. This number is not gene

  • New 2015 Macbook & using 27" thunderbolt display

    Can anyone tell me if there is an adapter which will allow the USB-C port on the new MacBook I just ordered to connect to my 27" Thunderbolt Display or even  my older 24" Cinema Display w/ Mini Display port ?

  • REQUEST: Differentiate between iPhoto and Events

    Hey there. Just got iLife 08 and I really like it. However, I have a major problem with iPhoto '08. I like the Events feature, but I have a ton of random photos that don't necessarily qualify as an event. Random shot here or there. In all previous it

  • Moving connections of GRC AC 5.3 RAR with R/3 ABAP Client (same SID)

    Dear All, Please can someone assist me with the documentation for the movement of the connection of AC 5.3 RAR based on Java, from one client in R/3 ABAP to another. For e.g. if GRC AC 5.3 is connected to QAS Client 101 on ABAP side, how to move the

  • Photo sizing

    I'm trying to make a photo book but although I see the size slider, I can't make the photo small enough to fit the space