BPM Scenario ( JDBC and Web Services )

Hi all,
I working in scenario in XI BPM and I need to do this:
1) I have one table in SQL Server.
2) I need to fill this table with a Web Services, because the costumer needs exactly SOAP.
3) To fill  this table, I have some roles, like Area Code, State, then I need to do in JDBC Adapter and BPM.
4)Finaly, I need to create a Web Services Provider( WSDL)  that insert data in this table.
I have one question: Is it possible to create this scenario in BPM? I need to create one Web Service Provider using a XI to table in SQL Server.
Have you seen one scenario like this?
Is its possible? 
Thanks.
Regards.

Hi Fabio,
Yes you could but I am still trying to understand why you would need Business Process Management (BPM)?  The way I understand it (correct me where I may be wrong) is that someone calls a web service which in turns calls your WSDL in SAP XI/PI.  SAP XI/PI does its mapping and calls the JDBC adapter to put your data into your SQL table.  BPM comes in only when you have some sequence to consider, complex logic to work with, etc. that you might not otherwise need. 
Does that help?
John Ta

Similar Messages

  • JDBC and web services: ClassNotFoundException

    Hi
    I'm trying to access a database with my webservice and I get a ClassNotFoundException when calling
    Class.forName("com.informix.jdbc.IfxDriver ");
    to load the JDBC driver class dynamically.
    The driver is properly installed (I used it in another non web service applications) and I added its jar file to the web application project which contains the web service.
    Am I doing something wrong? Do I need to use any server mechanism provided by the application server (websphere 6.0 in this case) to access the database instead?
    Thanks in advance!

    First aid check list for "connection refused":
    - Check host name in connect string.
    - Check port number in connect string.
    - Try numeric IP address of server host in connect string, in case name server is hosed.
    - Are there any firewalls between client and server blocking the port.
    - Check that the db server is running.
    - Check that the db server is listening to the port. On the server, try: "telnet localhost the-port-number". Or "netstat -an", there should be a listening entry for the port.
    - Try "telnet serverhost the-port-number" from the client, to see if firewalls are blocking it.
    - If "telnet" fails: try it with the numeric ip address.
    - If "telnet" fails: does it fail immediately or after an obvious timeout? How long is the timeout?
    - Does the server respond to "ping serverhost" or "telnet serverhost" or "ssh serverhost"?

  • JDBC and web services

    Hi, I have a MySQL server running in my machine. I know for sure it's working, but now I'm developing a web service and I get this message:
    java.sql.SQLException: Unable to connect to any hosts due to exception: java.net.ConnectException: Connection refused: connect
    The source is:
    package samples;
    import java.io.IOException;
    import java.sql.SQLException;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.Statement;
    import java.sql.ResultSet;
    public class DBAccess {
      public String parse(int criteria) throws Exception {
        Class.forName("com.mysql.jdbc.Driver").newInstance();
        Connection con = DriverManager.getConnection(
            "jdbc:mysql://localhost/serial", "antonio", "");
        Statement stmt = con.createStatement();
        String sql ="SELECT DISTINCT * FROM serial WHERE Actividad='Autoescuela'" +
            " and Provincia='Cadiz' and Localidad='San Fernando';";
        ResultSet record = stmt.executeQuery(sql);
        String devolver = "Resultados:";
        while (record.next()) {
           devolver += record.getString("Actividad");
           devolver += ", ";
           devolver += record.getString("Telefono");
           devolver += ". ";
        return devolver;
    }I'm using Apache Axis. I've included the mysql connector in \Tomcat 4.1\webapps\axis\WEB-INF\lib. Any advice?

    First aid check list for "connection refused":
    - Check host name in connect string.
    - Check port number in connect string.
    - Try numeric IP address of server host in connect string, in case name server is hosed.
    - Are there any firewalls between client and server blocking the port.
    - Check that the db server is running.
    - Check that the db server is listening to the port. On the server, try: "telnet localhost the-port-number". Or "netstat -an", there should be a listening entry for the port.
    - Try "telnet serverhost the-port-number" from the client, to see if firewalls are blocking it.
    - If "telnet" fails: try it with the numeric ip address.
    - If "telnet" fails: does it fail immediately or after an obvious timeout? How long is the timeout?
    - Does the server respond to "ping serverhost" or "telnet serverhost" or "ssh serverhost"?

  • BPM Process As a Web-Service Username and Password

    Hi all,
    We have exposed a Process as a Web-Service WSDL to another system . We use Username Token Profile to enter the username and password to connect to the Web-Service..
    Now what we do is we have a role in our project and we create a dummy Web-Service user and add the role to that user and then use its password and username to call the Web-Service.
    Can we change this?
    Can we have a dummy username and password not associated with any role in BPM used in our Web-Service?

    Did you use PAPI code inside your web service or did u just use PAPI Web Services ( like did u just pressed the button Launch PAPI Web Services ) and it created the WSDL for you and u used it to create the client?
    I am using the latest version of OBPM..
    Oracle 10.3.10
    Can you let me know what do u mean by PAPI interface.. Is it the PAPI code of is the PAPI Web Service which is built by BPM automatically and could be used?
    Edited by: user8707382 on Sep 10, 2009 9:00 AM

  • Examples about ABAP Proxies and Web Services creation

    Hi everybody.
    I have been reading SAP NW PI 7.1 help about Web Service creation and sincerely, I am a bit confused. Also I have searched SDN forums, blogs and documents but my confusion persist.
    I will try to depict my integration scenario below.
    SLD are conformed by two machines: SAP ECC 6.0 system, client 100 and SAP PI 7.1 system, client 001.
    There are two integration scenarios.
    1. ABAP Client Proxy -> PI -> Web Service
    I need to consume a Web Service provided by a third part. They provided me with WSDL files and I imported them into ESR. I already construted all other objects (data types, message types, etc.). In the examples I found I cann't see what to do with those definitions, I don't find any suitable example. This is an asynchronous scenario. The Web Service will be consumed from SAP ECC 6.0 system through an ABAP Cliente Proxy.
    2. Web Service -> PI -> ABAP Server Proxy
    I need to provide a Web Service for others to consume it. I already have created the WSDL for Service Interface I created in ESR using the respective wizard in Integration Builder. This is an asynchronous scenario. The Web Service will be consumed by others outside landscape configuration. When the Web Service is consumed must run an ABAP Server Proxy.
    In spite of my investigation about Web Services building in SAP NW PI 7.1 I cann't finish my work successfully.
    I just need a good example, any suitable example for each integration scenario.
    Thanks in advance.
    Rafael Rojas.

    Hi,
    1. ABAP Client Proxy -> PI -> Web Service
    1. Create all necessary objects in ESR
    2. Create integration scenario objects with PROXY as sender SOAP or WS adapter as receiver
    3. Create client proxy in your SAP backend using SPROXY
    4. Create ABAP client proxy to execute the proxy which then will call your PI runtime to execute the webservice.
    2. Web Service -> PI -> ABAP Server Proxy
    1. Create your necessary objects in ESR
    2. Generate server proxy in your back end system
    3. Create integration scenario objects with PROXY as receiver and SOAP or WS adapter as sender
    4. Generate WSDL from integration scenario and pass it to your partner.
    You can find many blogs which discuss these steps in more detail.
    Regards,
    Lim...

  • Enterprise services and Web services

    Hi Everyone
         I need documents about Invoking enterprise services from Netweaver PI and web services from Netweaver PI, I can find only NetWeaver CE, but not PI. So help, any links?? or pdfs?? or ideal would be some demo example of invoking a web service using PI.
    Thank you
        Vijay

    Hi,
    Since you would need to wet your hands by playing with webservice and PI. Please consider the following links.
    SOAP scenario
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    https://weblogs.sdn.sap.com/pub/wlg/1334 [original link is broken] [original link is broken] [original link is broken]
    https://weblogs.sdn.sap.com/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
    https://weblogs.sdn.sap.com/pub/wlg/1442 [original link is broken] [original link is broken] [original link is broken]
    Regards
    joel
    Edited by: joel trinidade on Mar 25, 2009 10:41 AM
    Edited by: joel trinidade on Mar 25, 2009 10:43 AM

  • How to expose ODI scenario as a web service

    How to expose ODI scenario as a web service?
    Can we generate wsdl of ODI scenario if yes then how?

    SSZ wrote:
    Yes.But couldn't understand where to start.In that case use the magic wand.
    Ask specific questions, Many of your posts have an underlying tone , that of you not having read any documentation of bothered to research anything yourself I havent got the time to tell you how if you havent got the time to tell me what you have read , what you grasp and what you do not grasp.

  • The Oracle Database Programming using Java and Web services book is out

    This book http://www.amazon.com/gp/product/1555583296 shows how to build pragmatic applications using the combination of PL/SQL, Java in the database, JDBC, SQLJ, JPublisher, and Web services. It is intented for database developers, DBA, data architects, Java developers and Web services assemblers.
    My blog http://db360.blogspot.com/ and the free/sample chapter http://www.oracle.com/technology/books/pdfs/mensah_ch1.pdf will give you a feel of the content.
    Enjoy, Kuassi

    Hi Kuassi,
    Thanks for letting us know that your book is available. I have been following one of your articles about "Virtualize Your Oracle Database with Web Services". More specifically "The Database as Web Services Consumer". I think that this is an area that has in the past been under estimated as to the potential benefits.
    I am currently trying to develop a solution that consumes several interfaces with a couple of them being published web services, so an ideal solution. I have then spent the last three weeks having to read up about the architecture of Java in the database, Jpublisher and make sense of how it all works together.
    I have got very close to getting one of the web services to work but failed due to using 10gR2 where all the java & libraries has moved to version 1.5. The solution is to load the jdk1.4.2 and configure jpublisher to use this. So far so good except this is not available on some platforms, Windows - 64 bit (not itanium).
    The configuration is proving very challenging but will hopefully reap rewards.
    (Thought I would give you some background to my experience).
    Anyway my question to you is having looked at Jdeveloper it appears to do almost anything except consume services into the database, also with Java now being at version 1.5 outside the database for 10gR2 and supporting 1.4 inside, do you see some alignment of these in future database releases?
    Finally off to buy your book now as no doubt there is a huge amount more to learn.
    Kind Regards
    David O'Donnell

  • Web Access and Web Services

    What are the different between p6 WebAccess and Web Services?

    I think I realise what the problem is....
    It's because the Nokia (and Opera) are *proxy* browsers, meaning that they don't use the router to make the internet calls to pages, but they let another service do the work (presumably Nokia).  The penny dropped after reading another thread where content was restricted by the router, but the mobile phone was able to connect to restricted sites - and I tried that scenario out too!
    This also means that this remote proxy service can not see anything on your own LAN - obviously!  
    This is good for viewing internet sites via your mobile provider as they compress the data, meaning less data returns to you - but I don't see why this is necessary when using Wifi.
    I've tried installing other browsers too - and they seem to be the same.  
    I'm rather disappointed by this.

  • Book: Oracle Database Programming using Java and Web services

    This book http://www.amazon.com/gp/product/1555583296 shows how to build pragmatic applications using the combination of PL/SQL, Java in the database, JDBC, SQLJ, JPublisher, and Web services. It is intented for database developers, DBA, data architects, Java developers and Web services assemblers.
    My blog http://db360.blogspot.com/ and the free/sample chapter http://www.oracle.com/technology/books/pdfs/mensah_ch1.pdf will give you a feel of the content.
    Enjoy, Kuassi

    Hi Kuassi,
    Thanks for letting us know that your book is available. I have been following one of your articles about "Virtualize Your Oracle Database with Web Services". More specifically "The Database as Web Services Consumer". I think that this is an area that has in the past been under estimated as to the potential benefits.
    I am currently trying to develop a solution that consumes several interfaces with a couple of them being published web services, so an ideal solution. I have then spent the last three weeks having to read up about the architecture of Java in the database, Jpublisher and make sense of how it all works together.
    I have got very close to getting one of the web services to work but failed due to using 10gR2 where all the java & libraries has moved to version 1.5. The solution is to load the jdk1.4.2 and configure jpublisher to use this. So far so good except this is not available on some platforms, Windows - 64 bit (not itanium).
    The configuration is proving very challenging but will hopefully reap rewards.
    (Thought I would give you some background to my experience).
    Anyway my question to you is having looked at Jdeveloper it appears to do almost anything except consume services into the database, also with Java now being at version 1.5 outside the database for 10gR2 and supporting 1.4 inside, do you see some alignment of these in future database releases?
    Finally off to buy your book now as no doubt there is a huge amount more to learn.
    Kind Regards
    David O'Donnell

  • XML and Web Service Data Source Missing in Crystal Reports for VS

    I would like to use a Web Service as the data source for a Crystal Report that will be running outside of my Visual Studio application.  So setting the data source to the web service in code is not possible.  My understanding is Crystal Reports has a connection (in the Database Expert under New Connection) named XML and Web Service.  Here you can select web service and enter the WSDL URL for the web service.  However it does not appear in the list for Crystal Reports for Visual Studio.  Does this connection type come with the Visual Studio version of Crystal Reports and if not is their a way to obtain it? 
    Thank you for your assistance.

    None of the bundled versions of CR have the driver. Reason is that the driver responsible for these connections requires the Java framework and I suspect MS would not be too pleased if we installed the Java framework. The stand alone versions, since they are not part of any bundle can and do install the Java framework and the driver. Note that even the latest release of CR - CRVS2010 does not have the driver as it essentially becomes a bundle or a VS2010 plug-in.
    So, the short of it is; you have to obtain a stand-alone version of CR. I'd recommend CR 2008 (12.x) as CRXI R2 will run out of support in June of this year.
    - Ludek

  • Can't run wiki and web services at the same time?

    I'm a newbie with Lion Server, but I've been running several web sites successfully for about 6 months.  I'm up to Server 10.7.4.
    I've been trying ever since the first installation of Server to get the wiki service running.  I had absolutely no luck until I turned OFF the web service (always got the "URL does not exist" error when I tried to create a group wiki from inside the Server app).  With the web service off, it all starts up fine and I created my first wiki (woohoo).  Turning web service back on kills access to the wiki.  I don't find reference to this in any of the dicussions, and especially not in Apple's documentation.
    Are the Wiki and Web services mutually exclusive?  Or is there a way around this?
    I'm using Dyndns to provide me with sub-domains to use, and I've dedicated one of them to the wiki service.  Traffic comes in on port 8080, where my web sites are on port 80.
    Thanks for any pointers...
    edbok

    LR supports tethering using a Canon DLL and EOS Utility probably also supports tethering or at least uses something from a similar Canon DLL.  You probably cannot have two different versions of that DLL loaded at the same time, so it makes sense there are problems.

  • Message Monitoring and Web services Sequences  .. SOAMANAGER

    When can I use Mesage Monitoring and Sequence Monitoring .
    We are making a proof a concept and we are the following.
    1. A program which executes a proxy and with this proxy we are consuming a web services.
    2. The proxy and web services were implemented in the same Abap Machine .
    3. We execute the test and everything works very well and we consume the webservice and the program displays the expected result.
    Now want to know How can we use the Message Monitoring and the Sequence Monitoring . Is this posible ? Do we have to make any previous configuration?
    We don´t have any XI installation and for that we wonder if we can monitorize the  webservices  sequences ?
    Any idea about if we can realize such king of actions ..
    Many Thanks

    Hi
    I assumes u have dual stack.
    You can do the sequence monitoring with or without PI. But without PI you would achieve that thing on the local machine.
    You have to do those things at Java End using SAP NWA.
    Please see this link
    http://help.sap.com/saphelp_nwce10/helpdata/en/46/b00c2a99930764e10000000a1553f6/content.htm
    http://help.sap.com/saphelp_nwce10/helpdata/en/46/9cb2b57ded371ae10000000a11466f/content.htm

  • SSL certificates and Web Services Usage inside Oracle Database Questions!

    We have implemented a specific business logic using PL/SQL for our client, so we open a file and process each line of this, doing something in the Database and also call a Web Services (Service1) using UTL_HTTP package. Service1 runs in a Windows 2008 Server in the DMZ as Database server.
    Service1 is already working, and we can call the service from PL/SQL without troubles.
    However, according with security client's policies they requires all Web services be consumed via https including Service1, so we must to follow the procedure established for Oracle in order to enable the calling of service1 via https from the Database.
    Our client's DBA and IT Team are concerned about two subjects before to continue to follow the certificate installation:
         - SSL Certificates:
    1- Can installed certificates in the Database put in risk the stability of the database?
              2- Can installed certificates in the Database generate performance issues?
              3- Can installed certificates reloading the Databases?
              2- Can installed certificates in the Database generate security issues?
         - Web services:
    1- Can web services calling from the Database put in risk the stability of the database?
    2- Can web services calling from the Database generate performance issues?
    3- Can web services calling from the Database generate security issues in the DMZ?
    Could you please give us any clues, about the possible negative impact related with the SSL certificates and Web Services Usage inside Oracle Database, if it’s the case this impact exists?.
    Those are the links describing the procedure mentioned above.
    1 -http://www.kotti.es/2009/11/oracle-wallet/
    DB: Oracle 9i.
    Average number of lines in file: 300
    Periodicity: Twice at day.

    Thiago:
    You are correct in that there should be no problem interacting with a Web service that has an HTTPS endpoint as long as you create a wallet and specify it when you make your UTL_HTTP calls, like the PayPal example.
    I am not aware of a PL/SQL utility to create a XMLDsig Standard message, but if you find some Java source out there that does it, you may be able to follow a technique I used for a similar use case:
    http://jastraub.blogspot.com/2009/07/hmacsha256-in-plsql.html
    Regards,
    Jason

  • Custom Portal Services and Web services

    Can you please tell me what exactly are "custom portal services" and "web services" with a business like/ real life example?
    How do you go about developing deploying and utilizing these services in Portal?
    Thanks.

    Hi navin,
    Thanks for the par file.
    Duly awarded points.
    I need your help again.
    I wish to use the method
    public String getWelcomeString(String name)
    in my own portal application to test usage of portal services.
    So I uploaded your par file on my server.
    Then I added the api and core jar files which came along with your par in my project as external jar files.
    I imported com.wickes.WickesService.*;
    Next, to use the service I coded:
    IPortalRuntimeResources rs =
    PortalRuntime.getRuntimeResources();
         IWickesService ws = (IWickesService) rs.getService(IWickesService.KEY);
    But now I am stuck and I dont know how to proceed.
    Please help.

Maybe you are looking for