Java Message Service and JCO

Hi expert,
In my sap system there's not XI, there's not PI....
What are the component that I have to install in the sap syste to use JMS ?
It's Jco ? Other ??
tks,
bye.

Hi tks for reply...
My requirement is:
In the sap system I created XML file. I have to send this file at JMS queue in other system.
I don't know how I can do it !  In the sap system there's not plug, or interface with java,
there's nothing, it's a new system installed 1 day ago, so my question is:
How to make an interface between sap and jms ?
tks a lot,

Similar Messages

  • JMS based message service and Service account in OSB

    Hi forum,
    I have query regarding JMS base messaging service and Service account.
    My OSB service:
    I have created one OSB service which of type JMS
    configuration :
    General :Messaging
    Messaging: Request type :XML response type :none
    Transport:JMS
    JMS Transport: Destination Type queue., JMS Service account :.........(browse)
    My requirement is to provide security to JMS proxy.
    I have seen one option available in JMS transport is JMS Service Account.
    I dont have a idea about using service accounts in JMS.
    can any one pls give idea about JMS service account in JmS.How to provide security to jms proxy...
    If u have any documents pls share me
    Thanks & regards,
    Krishna.

    In your weblogic console go to your JMS Modules > ***JMSModule >****Queue >Roles >Policies. Add a user to the queue.This user should be there in the security realm of the weblogic console.
    Create a service account with the same user name password and use it in your OSB to read or write to the queue.

  • Help on Java Message Service on using Sun ONE Application Server 7.0

    I am new to Sun ONE Application Server 7.0. I am failed to compile the JMS sample code. I got following error message when I was compiling the ReadOrder.java and SentOrder.java.
    package javax.jms doesn't exist
    package javax.xml.messaging doesn't exist
    package javax.servlet doesn't exist
    The javac -version returns "1.4.0_02" which is required for this sample code.
    Can someone let me know where is wrong? Thanks

    I'm not sure what the two java source files you refer to come from (maybe the samples shipped with AS7?). But you can find the referred packages here:
    javax.jms -> <AS_HOME>/imq/lib/jms.jar
    javax.xml.messaging -> this package is included in the Java Web Services Developers Pack 1.2 (http://java.sun.com/webservices/webservicespack.html)
    javax.servlet -> this package is also included in the J2EE SDK (j2ee.jar): http://java.sun.com/j2ee/download.html
    So you can go to the two links, download the packages, install them, and add the appropriate jars to your classpath and all should be well.
    Daniel.

  • Message Services And Queueing in xMII12.0

    Hi All,
    Can any one tell to me need of messaging services in xMII12.0
    Venkat

    Venkat,
    With the NW database backend replacing the file system for storage location, the messaging services area (formerly basic IDOC listening support) has been expanded to give more control and administrative monitoring of inbound requests (web services, idocs, etc.).  Data buffering has been added with query templates and data server parameters, as well as the new JRA action blocks, in order to enhance asynchronous capability for outbound requests.  There are also a new set of actions for querying and updating the DB storage for received xml messages.
    Regards,
    Jeremy

  • JAVA WEB SERVICE AND ORACLE DATABASE

    Hi,
    I working with Oracle database 10g, Oracle Bpel 10.1.2.0 and JDeveloper 10g on windows xp home.
    I have created a java class with incapsulated sql statement (jdbc protocol).
    All it's ok when the class runs from command line (JCreator).
    After that i created the web service from java classes (with JDeveloper) and I connected (with success) database to OC4J and run the web service, i have this xml message like result:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <SOAP-ENV:Body>
    - <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring>
    <faultactor>/DipendentiWebService/DipendentiWebService</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Which's my error?
    Thanks

    Hi Frank,
    thank you for the reply, but i don't undertsand what do you mean "add print statement to java class".
    follows the java class code that loads a mail address from database oracle:
    import sqlj.runtime.*;
    import sqlj.runtime.ref.*;
    import java.sql.SQLException;
    import java.util.*;
    import java.sql.*;
    import utility.*;
    import java.lang.*;
    import java.io.*;
    public class DipendentiWS{
    protected static String matricola = null;
    protected static String email = null;
    private static DBConnectionManager connMgr;
    private static Connection conn = null;
    private static Statement st = null;
    private static PreparedStatement pstmt;
    private static ResultSet rs = null;
    private static final String FIND_BY_MATRICOLA = "SELECT Email FROM ARDIP.DIPENDENTI " +
                                                           "WHERE Matricola = ?";
    // metodo ausiliario per il rilascio delle risorse
    * @webmethod
         public static String leggiMail(String matricola)throws SQLException{
         // Caricamento dati Dipendente da DB
         try {
    connMgr = DBConnectionManager.getInstance();
         Connection conn = connMgr.getConnection("access");
    if (conn != null) {
         conn.setAutoCommit(false);
    st = conn.createStatement();
    pstmt = conn.prepareStatement(FIND_BY_MATRICOLA);
                   pstmt.setString(1, matricola);
                   rs = pstmt.executeQuery();
    if (rs.next()) {
    email =rs.getString(1);
    conn.commit();
    // conn.setAutoCommit(true);
    catch(SQLException e){
         e.printStackTrace();
         System.err.println("ATTENZIONE!!!!");
              finally {
         try {st.close();}
         catch(SQLException ex){ ex.printStackTrace();}
              return email;      
         }

  • Java Web Services and hosting companies

    Hi
    At this moment I am looking for a web hosting companies.
    I will be developing website in Java and I will also develop Web Services.
    Can you tell if I am able to host Web Services with any hosting company that supports Java. Or is there any special requirement on the behalf of the hosting companies to support Web Services written in Java
    regardas

    No Problem at all
    Nomally the Web Service is big different between Web application. or you can build your Web service structure like web application structure. It depends on the web server:
    If the Web Server of hosting company has WEB Service framework, you just need know how to deploy your Web service to Web Service framework and How to deploy to Web Server. In this case, you need deploy it two time, one is for Web Server framework and one is for Web Service framework
    If the Web Server of hosting company doesn't has WEB Service framework, you need build your own Web Service framework into a web application, then you just need know how to deploy your web application with Web service into Web Server framework

  • Java web service and pocket pc

    Hi all. I am looking for some advice on how best to go about the following. I have looked on the internet and found info on relevent parts, but not sure how to interact them all together.
    I want to develop an application for a pocket pc (probably windows mobile 5.0) that will interact with a web service(in java). The pocket pc will send some sort of authentication to the service, which will then query a database and send the relevent information back to pocket pc.
    I have read things on SOAP, WSDL and AJAX etc... but am unsure how to put them all together.
    If anyone has any advice, good tutorials or links then they are greatly appreciated.
    Regards

    Hi all. I am looking for some advice on how best to
    go about the following. I have looked on the
    internet and found info on relevent parts, but not
    sure how to interact them all together.Join the crowd :-) For most of this stuff, it seems we're ALL finding our way around.
    I have read things on SOAP, WSDL and AJAX etc... but
    am unsure how to put them all together.That's kind of like asking "how long is a piece of rope?" It depends on what you need it for.
    Try w3schools.org for some great tutorials on some of the underlying technologies that power the above.
    SOAP is nice and all if you want to use third-party libraries and you need industry-standard interactivity (for example with vendors or customers), but if you're doing everything in-house (i.e. your own application will consume the web service you wrote) then I'd seriously consider REST-based webservices. They're easier to write because you're free from the limitations of SOAP, and your apps can be smaller and with fewer parts.
    Screw WSDL. Use it only if you are forced to. Axis has a great WSDL generator and if you can deploy everything in Axis, then you're good to go. I started writing my webservices using Axis and WSDL->Java generators and I was all cool and stuff because I was doing what everyone said was the best way to write these new applications. It took me a while to realize that most of that advice was coming from the people that were writing the software the real applications were based on, not using the stuff they had written to build real apps with. The perspective is completely different.
    Then I had to maintain that mess and it wasn't worth it because all of my uses for webservices are internal. I write the server and client portions both. There's no need to complicate the issue with technologies that are meant for interacting with other systems which you have no control over, nor any knowledge of how they're consuming the information you're providing.
    As to specific documentation, that's a little harder to come by. Your best bet is to first and foremost: read the specs on w3.org. No other pieces of documentation will be as in-depth and informative as the spec. If you're using spec-compliant implementations, then you've already got all your documentation. They're dense, I agree. They take forever, I agree. But I have yet to find anything that can rival the depth of understanding I gain from the specifications. Read the specs. All of them. Download them, print them out, stuff them in a fat folder (mine's in a 3-inch binder) and keep them handy. It seems like enterprise-level webservice-enabled apps will require lots of third-party support libraries, use lots of different technologies, and the documentation required to help the developer actually use all of this stuff will become critical. That's why I say print stuff out and keep it in one spot.
    If you can get any good out of these third-party libraries for generating clients, then more power to ya. I think they're a waste of time, myself, because I can write a client quicker and make it far more easy to maintain if I just do it from scratch. I'm only interested in using these technologies to make it quicker, more effiicient, easier to maintain, etc... be careful you don't get carried away with the vastly divergent advice you'll get on how to build your app and end up making it much more complicated and harder to maintain than it would have been had you not used industry-standard methodologies. Think small and simple.
    To get started, I would get a really good XML IDE. I use oxygen (http://www.oxygenxml.com). Version 7 is out, which has XQuery debugging and lots of other stuff. Have your company buy it. It's worth it. (has eclipse integration too). Then download Sarissa: http://sourceforge.net/projects/sarissa it's a great cross-browser javascript library for doing AJAX stuff. We use it for our AJAX applications and it's great. Fairly well documented too. Then use as much client-side processing as you can get away with because with webservices, your XML processing will hammer the server. Our IBM dual 3GHz/8GB RAM machine is chugging constantly. We process around 300,000 pages of XML in a normal business day, and it's intensive processing (lots of SQL serialization and transforms). We're trying to offload as much work to the client as we can. We're using Mozilla now, so that's making life much easier for us. Even the embedded mozillas have fantastic support for AJAX-friendly technologies.
    As for putting everything together, well, you're pretty much on your own there. In our environment, we have a custom XML-based intranet portal, which I had to write myself because there's nothing out there that does what we need it to, we use Postgres as our enterprise database, JBoss as our application server, Apache as our front-end, and oh yeah, we have an AS-400 on which resides all the "real" data. Just try and find documentation on serving data via an AJAX-enabled enterprise app from data that resides on DB2/400 and generating the interface on the client using XSLT. Or how about getting data from the postgres server into an RPG program using a webservices client on the 400. I don't even think I'm supposed to be doing stuff like that, let alone be able to find documentation on a solution that someone has come up with.
    Now if someone would just make a good JavaScript IDE, AJAX would take off like a bat out of hell. How long has JavaScript been around now? 10 years-ish? And how many good IDE's are there for JavaScript? Zero. Really irritates me sometimes... A good Mozilla-based AJAX-friendly JavaScript IDE would be a HUGE and I mean HUGE benefit to the webservices community.

  • JMS (Java Message Service)

    I have to redesign and implement a system. The existing system is a server which allows connections from clients all over the world. Clients have an application installed on their machine that allows them to connect to the server and send and receive information. The server receives this information manipulates it and sends it back to the clients.
    This is a short description of the system but in reality the system carries out many complicated operations.
    The communication between the clients and the server is done using sockets and TCP/IP. At the moment the clients connecting to the system are not that many but they are expected to multiply over the next few months.
    I am responsible to redesign the system to make it more reliable and more sophisticated beacause at the moment it is not. I have been advised that JMS technology is the way to go but from the tutorials and the books I've read it seems to me that it is too much for the system i want to build.
    Can you please give me some information about when JMS is good to be used and if in my case it will benefit the design of my new system?
    Can JMS be used without the use of the Java Application server?
    Can JMS be used with J2SE (Standard Edition)?
    Thank you for your time

    Could you possibly provide me with any links on how to do what I want to do?I would get started by experimenting with either activemq or jboss
    http://www.activemq.org
    http://www.jboss.com
    ActiveMQ is a JMS Provider, JBoss (as I'm sure you know) is a full blown app server.
    You may also want to check out
    http://www.enterpriseintegrationpatterns.com/
    At the moment the components of the system use sockets and communicate by sending straight String messages. I was advised that JMS is going to make the system a lot better.You can still parse strings using JMS, but you can also pass Serializable java objects. This is not always the most practical solution because you need to manage the distribution and versioning of the classes (and any dependent jars) for each of your clients. An alternative is to marshal / unmarshall your objects to/from XML, then you only need to manage the distribution and versioning of a schema.
    Other reasons to use JMS are
    1. JMS messages are transactional and can even take part in distributed transactions
    2. JMS messages are recoverable (they can be persisted to files or database depending on your provider), so even if your JMS provider crashes, "in-flight" messages won't be lost
    3. JMS messages can be asynchronous

  • Java enqueue service and ABAP Enqueue service

    If  SAP netweaver AS and Java installed in one Server on same database, how many enqueue service will be there?
    ABAP and Java should have separate enqueue process or they will share the same enqueue service, while ABAB and Java has different database schema?
    Your reply will be highly appreciated,

    Hi,
    For your below question:
    If SAP netweaver AS and Java installed in one Server on same database, how many enqueue service will be there?
    Abap instance has its own enqueue server and java has its own in central service. Normally you can clear your concept, if you can see the Java Cluster.
    Just see the below link
    http://help.sap.com/saphelp_nw70/helpdata/en/2e/611724f410254ca12a3f396ec5ae85/content.htm
    Whatever may be the SAP Web Application Server Installation Scenarios ie, both abap and Java in the same database schema or with separate schema's, Java enqueue ( central services ) exists along with peer Abap enqueue work process.
    For more detail go through the ADM200 which speaks about the Java architecture and its corresponding tools..
    Hope i have answered you
    Rgds
    Radhakrishna D S

  • Java Web service and dynamic entry list

    Hello,
    In my VC mode, I have a combo box with a dynamic entry list. This entry list call a web service function which the source is :
    public EntryListBean[] getEntryList() {
              EntryListBean[] liste = new EntryListBean[2];
              liste[0] = new EntryListBean();
                    liste[0].setText("1");
              liste[0].setValue("Liste 1");
              liste[1] = new EntryListBean();
                    liste[2].setText("2");
              liste[1].setValue("Liste 2");
              return liste;
    In output port, i have:
    VALUE -
    > @value
    TEXT    -
    > @text
    When i test this function with 'Test Data Service', it work but when i deploy the model, there is nothing in the combo box. Do you have the same problem ?
    I have installed NWDW v7.0 SP9 with Visual Composer patch 2.
    Regards

    Hi Francois,
    Did u try using dynamic entry list with a BAPI. Is that working fine?
    Actually, I faced the same problem. I used a drop-down list, in which dynamic entry list works fine in case of a BAPI and appears blank in case of a webservice. I applied the latest patch files mentioned in a SAP note. People in forum asked me to do that. Its mentioned in the note that, "Dynamic entry list with webservice bug is fixed in the released patch file". But even after applying the latest patch files, it did not work for me. So, i think this bug is yet to be fixed.
    Regards,
    Kavitha.

  • Java web Service and Tomcat

    Hello,
    how can I set where service save files. Becouse when I save file in web service running on Tomcat 6.0, it is in directory Tomcat\bin.

    Well how do you tell it which file/directory to save it in?
    Just with new File("myFileName.txt") ?
    In that case it just uses the current working directory which normally just happens to be the Tomcat/bin directory.
    Better way is to use the constructor for File which takes two arguments - a directory and a filename
    File saveDirectory = new File("c:/data/webservicefiles/");
    File saveFile = new File(saveDirectory, "myFileName.txt");
    Of course the directory for saving should be configurable somewhere. In a properties file most likely.

  • Message Services and Alerts !!!

    Hi All,
    I have been trying to post a new message that appears in the Alert/Messages window. I been successfull in that but the problem is that until i restart B1 the new message does not appear in the window.
    I want to alert the user as soon as the message is posted to B1. Is this possible either through Messages/Alerts or any other way
    I am using SAP B1 2005A SP01 PL4
    Thanks in advance
    Amit

    Hi,
    Have a look at the parametrization of B1 under AdministrationSystem InitializationGeneral Settings, under Services folder. I suppose the "Update Messages(Min)" field is set to a big number. Also check the "Display Inbox when new messages arrive" option.
    Regards,
    Ibai Peñ

  • Configure Java Message Service Resources from java.

    Hi!
    I need to create, edit and delete JMS Resources from java,- but I can't find any documentations about this issue.
    I hope someone can point me to the right direction.
    Regards,
    Ixxi

    Hi!
    I'm attending to use Sun Application Server 8.1.
    I need to be able to configure all the JMS Resources using java - all the JMS commands you can do through the asadmin application.
    To minimize numbers of administrator interfaces to maintain our system, it would be best if we could access the Sun Application Server through java - and not using the asadmin command line / browser interface.
    e.g. command to written in java :
    asadmin> create-connector-connection-pool ...
    Regards,
    Ixxi

  • Java web services and jdk1.3.1

    Hello.
    It seems that the new "webservices Developer pack" 1.3 only works with JD1.4, since it uses the new logging API's.
    My situation is this: I want to use the pack, but I can only run on 1.3.1 for application reasons. I cannot find an old version either?
    Any input, anyone?

    http://java.sun.com/webservices/archive.html

  • Unable to create java web service

    morning all
    Being new to ejbs I created a simple ejb project comprising one entity bean and one session bean. The session bean exposes two methods one to retrieve individual employee data (return object EmployeeData class which implements java.o.Serializable) and a second retrieving all employee data (return object java.util.Collection).
    When I attempt to create a Java Web Service and select the session bean to expose as a web service the method are grayed out, clicking 'Why Not?' displays a message box showing the message
    'The following parameter types do not have an XML Schema Mapping and\or serializer specified'
    What does this mean and how do I solve it?

    Hi,
    The java.io.Serializable marker is not consulted when determining whether a Java object can be transmitted in a web service invocation. Instead, each parameter and return value of a web service method must conform to one of the 3 rules below:
    1. It is a Java primitive (int, long, byte etc.), Java primitive wrapper (java.lang.Integer etc.), or a java.lang.String.
    2. It is a Java bean with a zero-argument constructor, and a pair of "get" and "set" methods for each property to be exposed. Each property must itself conform to one of these 3 rules.
    3. It is an array of a type that meets either rule 1 or rule 2.
    In the first case, I'd hazard a guess that your EmployeeData class doesn't have the form of a Java bean. Make sure it's got the zero-argument constructor, and that all of the "get" and "set" methods use types which are themselves publishable.
    In the second case, java.util.Collection doesn't conform to any of the 3 rules above. However, once you've fixed your EmployeeData class, you can convert the method that returns the Collection into a method that returns a EmployeeData[], which you will be able to publish in your web service.
    Hope that helps,
    Alan.

Maybe you are looking for