Webservices and JEE container

Good afternoon.
Webservices with SUN API can use without using a JEE container, by example, using a Tomcat only?
Thanks

For example in NetBeans there's a wizard for creating webServide running on Tomcat. It is very easy and quick.
The webService should be placed into web container (WAR) if you want to use HTTP as transfer protocol.
Miro

Similar Messages

  • Differnce Between Webservice and Container

    I am geting confusion on the difference of Webservice and Container...
    Can you please give some function of each that can differentiate both separately?
    Is container reside in Webservice ...??

    Sorry the question is Diff Bet Webserver and Container...

  • Webservice and UI codes in one application

    Hi,
    We have two applications, one for the UI and one for web services. Both of them have Model project. Hence, we are thinking of merging then into one application which contains three projects: UI, Web services and Model so that both UI and Web services share the same Model project, no redundant codes. Just wondering is that a good design, will there be any issues? So can it be generated two deployment EARs files within one application?
    Please advise.
    Thanks
    -Mina

    you can have your approach itself.. but.. both webservice and the UI project will be have a dependency on the model project.. but you cannot reuse the model project any where else..
    the suggestion given by shay, helps you to use the model library in both UI and webservice.. and can also extend to any other project which needs to access the model project..
    in this case you are refering only the libraries of model project.. so no direct depenedency..

  • Old plain JDBC connection managed by JEE container?

    Hi,
    I wonder, if there is an option to tell the JEE container to manage my old plain JDBC connection.
    My current way
    @Stateless
    public class MyClass {
       @Resource(name = "jdbc/my-database")
       private DataSource dataSource;
       public void doSomething() {
          Connection conn = dataSource.getConnection();
          try {
              // Some stuff
          } finally {
             DatabaseUtils.closeSilent(conn);
       }Is there a way to get a connection instead of a data source?
    Thanks a lot

    Yes you're right.
    What I mean, if there a way that the JEE container will open and close the connection I need.
    If I use the datasource, I've to open a connection and I've to ensure that this connection will be "closed", so the pool manager can reuse this connection.
    But I think, there is no way for something like this, or not:
    @Resource
    private Connection connection;

  • How can i open a PDF bank statement in numbers so that the rows and columns contain properly aligned data from statement?

    how can i open a PDF bank statement in "numbers" so that the rows and columns contain properly aligned data from statement?

    Numbers can store pdfs pages or clippings but does not directly open pdf files.  To get the bank statement into Numbers as a table I would open the bank statment in Preview (or Skim) or some pdf viewer.
    Then hold the option key while selecting a column of data.
    Then copy
    Then switch to numbers and paste the column into a table
    Then repeat for the other columns in the pdf document
    It would be easier (in my opinion) to download the QFX or CSV version from your bank

  • Firefox 4.01 downloads files but the downloads windows greys out the "Open" and "Open containing folder" options and I can't trace the files

    Three days ago I upgraded to Firefox 4.01. I downloaded several files that were ok. Yesterday and today I downloaded one powerpoint file and a an apple *.dmg file.
    On the Download window these two files I can see with the total mb in size. However when I right click the file list in the Download window the "Open" and "Open containing folder" options are greyed out. What is more I cannot find these files anywhere on my computer when I use Windows Explorer to search.
    It seems that this happened after I tried to download a Firefox add on from http://releases.mozilla.org/pub/mozilla.org/addons/64761/amazonassist-0.7.2.6-fx.xpi and my antivirus picked up the JS/Kryptik.AK trojan and terminated the connection. Is there a link with the problem I am experiencing?
    I use Windows 7 professional, Firefox 4.01

    You're welcome

  • Consuming a webservice and attributes

    I'm trying to noodle my way thru consuming a webservice and
    it is not making sense when I'm trying to get attributes from a
    webservice. Can someone point me in the right direction. I've
    included what the xml output looks like and my cfinvoke and a
    cfdump of the invoke return variable. I just don't know how to
    bring back that array of course ids??
    The service returns course ids
    <?xml version="1.0" encoding="utf-8" ?>
    - <Courses>
    <Course CourseID="1167" CourseName="Human Performance
    Tools - Self Checking" />
    <Course CourseID="1168" CourseName="Human Perfomance
    Tools - 3 Way Communication" />
    <Course CourseID="1169" CourseName="Human Performance
    Tools - Phonetic Alphabet" />
    <Course CourseID="1170" CourseName="Human Performance
    Tools - Pre-Job Briefing" />
    <Course CourseID="1171" CourseName="Initial Plant Access
    Training" PadsCode="PAT034" />
    <Course CourseID="1172" CourseName="Initial Radiation
    Worker Training" PadsCode="RWT" />
    <Course CourseID="1224" CourseName="Plant Access Requal
    Training" PadsCode="PAT034" />
    <Course CourseID="1225" CourseName="RWT Requal Training"
    PadsCode="RWQ" />
    <Course CourseID="1226" CourseName="Proctoring
    Responsibilities" />
    <Course CourseID="1235" CourseName="Generic Confined
    Space" />
    <Course CourseID="1236" CourseName="Generic Fall
    Protection" />
    </Courses>
    object of
    org.tempuri.LMSWebSvc.LMS_Interface.GetCoursesResponseGetCoursesResult
    Methods hashCode (returns int)
    equals (returns boolean)
    getSerializer (returns interface
    org.apache.axis.encoding.Serializer)
    getDeserializer (returns interface
    org.apache.axis.encoding.Deserializer)
    getTypeDesc (returns org.apache.axis.description.TypeDesc)
    get_any (returns [Lorg.apache.axis.message.MessageElement;)
    set_any (returns void)
    getClass (returns java.lang.Class)
    wait (returns void)
    wait (returns void)
    wait (returns void)
    notify (returns void)
    notifyAll (returns void)
    toString (returns java.lang.String)

    I found a way to get the soap request into an xml document.
    It was not intuitive to me but works.
    Basically rereading this post:
    http://www.houseoffusion.com/cf_lists/messages.cfm/forumid:4/threadid:44797#233359
    gave me more insight. The tostring function appears to allow me to
    get the raw xml that CF is struggling to noodle out.

  • Webservice and BPM; connection AFW failed

    I have created the following integration process:
    1. Asynchronous receive step of a xml file;
    2. Synchronous send step to invoke webservice;
    3. Asynchronous send step of the response file.
    In this process XI will read a xml file from a directory on the server, convert this file to a SOAP request, call the webservice and convert the SOAP response to a xml file. This file is then sent to the same server directory.
    When I look in SXMB_MONI the whole process is set to ok. The response of the webservice is in the payload of the XI response message. (This is the message from my integration process to the inbound message interface.).
    But the response file never reached its destination.
    When I look at the file adapter monitor it reports: "Up and running - no message processing until now".
    And when I look at the message monitoring, there are the following messages:
    2005-07-29 11:30:55 Success The message was successfully received by the messaging system.
    Profile: XI URL: http://nthvsnw4:50000/MessagingSystem/receive/AFW/XI
    2005-07-29 11:30:55 Success Using connection AFW. Trying to put the message into the receive queue.
    2005-07-29 11:30:55 Success Message successfully put into the queue.
    2005-07-29 11:30:55 Success The message was successfully retrieved from the receive queue.
    2005-07-29 11:30:55 Success The message status set to DLNG.
    2005-07-29 11:30:55 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    2005-07-29 11:30:55 Success The asynchronous message was successfully scheduled to be delivered at Fri Jul 29 11:35:55 CEST 2005.
    2005-07-29 11:30:55 Success The message status set to WAIT.
    2005-07-29 11:35:55 Success The message was successfully retrieved from the receive queue.
    2005-07-29 11:35:55 Success The message status set to DLNG.
    2005-07-29 11:35:55 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    2005-07-29 11:35:55 Success The asynchronous message was successfully scheduled to be delivered at Fri Jul 29 11:40:55 CEST 2005.
    2005-07-29 11:35:55 Success The message status set to WAIT.
    2005-07-29 11:40:55 Success The message was successfully retrieved from the receive queue.
    2005-07-29 11:40:55 Success The message status set to DLNG.
    2005-07-29 11:40:55 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    2005-07-29 11:40:55 Success The asynchronous message was successfully scheduled to be delivered at Fri Jul 29 11:45:55 CEST 2005.
    2005-07-29 11:40:55 Success The message status set to WAIT.
    2005-07-29 11:45:55 Success The message was successfully retrieved from the receive queue.
    2005-07-29 11:45:55 Success The message status set to DLNG.
    2005-07-29 11:45:55 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    2005-07-29 11:45:55 Error The message status set to NDLV.
    I looked at several postings with the subject "Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException", but I could not find any which seems to meet my problem.
    I would highly appreciate any help on this.

    Sorry for my late response, but I did not look at this after it was solved and I did not receive any mail. So please let me know if you still need some support.
    I could send you a document with some screen shots. If so send me an email ([email protected])

  • I am facing issue when opening flash files in Flash CC. (error:- This file was created with a later release of Flash Professional and might contain new features that would be lost when saved in the current format.)

    I am facing issue when opening flash files in Flash CC. (error:- This file was created with a later release of Flash Professional and might contain new features that would be lost when saved in the current format.)

    Wow. Okay...
    I'll let the real veterans in this forum tackle your issues one after the other. But, I can tell you, all will be well.
    My only comment would be re: your computer specs:
    BJReis wrote:
    .  This may be due to somewhat older equipment:
    GHz Intel Core Duo MacBook Pro with a 4GB memory computer with Ddr3 running OSX 10.8.4
    To be completely honest, FCPX is a RAM hog. It just is. But, RAM is relatively cheap, and the pay-off is good.
    4GB is right on the edge, IMHO. 16G is ideal.
    I wish you luck, hang in there, and standby for more help.

  • IDoc to webservice and get the response back into another IDoc.

    Hi guys
    We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
    Questions:
    1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
    2. Is there a Async to Sync bridge in BPM?
    3. How do I use this bridge in my scenario and customize it?
    4. If not possible, provide me the related docs using BPM for the same scenario.
    Appreciate your quick response
    Regards
    Naidu

    Hi,
    this link may help u............,
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1134. [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403. [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Azeez khan.

  • What should I use  between JSE and JEE?

    Is it true that JSE can do only certain level, but JEE can do the same with JSE and specially beyound of JSE.? If i want to develop a web application, what should i install to my computer between JSE and JEE or i have to install its both?

    hi
    you dont get all the features of j2se when you have j2ee with you. they are 2 different things.
    j2ee mostly deals with things which are required for a enterprise application building which include EJBs, Servlets, JSPs etc. while the J2SE is more useful for application developement (using Swing e.g). this is only a crude differentiation.
    the choice betweeen the two depends on your requirement. e.g. if you are developing a web application, you will go for J2EE and proceed using the components available there.
    if you specify your requirements, then we can discuss the details may be.
    Parag

  • Differences  between webservice and proxy

    Hi guys.
    Which are the differences between webservices and proxys?
    If I have a XI adapter (proxy) or Soap Adapter in Pi in both a Proxy Abap is created in SEECC to consume the service so I cant see the differences...
    Regards

    If I wanted to consume a webservice exposed in Pi by a Sender SOAP Sender, what would I have to do?
    Nothing exceptional.....just define a message structure in PI....create a message interface....generate a WSDL for this Message Interface.....use the URL from this WSDL to send message.....it is a normal SOAP --> XI scenario.....many references are readily available on How to do this.
    Regards,
    Abhishek.

  • Query SAP BW via XMLA Webservice and save response to HD

    Hi,
    I´m currently working for an QM Project to create an Overview-page with figures from various BW-Querys. Unfortunatly the the BW-Performance isn´t fast enough to execute a lot of Querys in realtime, so I can´t use the Web App Designer.
    To improve performance I want to execute those querys once a day and save the result sets on hard disk. To get the data out of the BW I want to use the XMLA-Webservice which is already running.
    Is there a simple way or application to send my XMLA to the webservice and save the response on hard disk?

    You can use XMLA web service or the queryview web service to get the data in XML format. The queryview XML service is only available from BW 3.5, see attached documentation.
    http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542e10000000a1550b0/content.htm
    Ther is also an How to document available for XMLA under the BW 3.0B section.
    If you are looking at a report with no navigation you can use the pre-calculation of the web reports with reporting agent which will create a pre-calculated HTML output on the BW server. Everytime you access the web report the pre-calculated HTML output will be displayed and the performance is great as the data is not accessed at runtime.
    http://help.sap.com/saphelp_nw04/helpdata/en/9e/9f653ade969f4de10000000a114084/content.htm
    Thanks.

  • Can we wrap a RFC as webservice  and use from external java application ?

    Hi Friends ,
                         Our scenario is  call a webservice ( wrapped form of RFC)  from a external  java application  which will pass the input to that webservice and get back the result  .
                          How XI will play a role here ?
                          Can we wrap a rfc as web service  ?
                           Any blogs for that ?
                          Can you please give a brief details about this ?
                          Expecting yoour asap
    Best Regards .,
    V.Rangarajan

    Hi
    Can we wrap a rfc as web service ?
    Yes.
    <i>To use the SAP Web AS 6.40 you need to build a wrapper in the 6.40 system. This is a remote function call (RFC) enabled function module with the same interface or a similar interface that internally calls the required RFC-enabled function module in the old 4.6x system via RFC. The wrapper then can be exposed to the outside world as a Web service. Another option is to use the Integration Broker capabilities for calling Web services in an older system.</i>
    How XI will play a role here ?
    XI will pass the input to the external java application and get back the result to the webservice
    regards
    krishna

  • How to use Adaptive WebService Model with CAF WebService and Complex Type

    Hi All,
    I am trying to use the Adaptive Web Service Model and call a WebService generated by the CAF. The return type of the WebService is a Complex Type.. I receive an exception when trying to instantiate the Model Node.
    Does anybody know how to use the Adpative Web Service Model with CAF WebServices and Complex Types as return type?
    Help is appreciated..
    Thanks, Johannes

    Thanks Mukesh.
    It is not possible to apply the Service Controller Template on Enterprise Java Bean Models as described in the Document. When I try to aply the template on the EJB Model, NWDS says: Only Webservice Models and RFC Models are supported...???
    I did not find any information about how to return complex types in AWS.. in this document???
    Is there such information available? Has anybody ever done that? There must be a way to do that.. Is is the standard approach, isn't it...? Please help me out there.. I need to get this running..
    Thanks, Johannes

Maybe you are looking for

  • Oracle.jbo.RowAlreadyDeletedException with outer join

    Hi, I have created a VO, based on an EO, with an outer join present. The first time I query my data (search) everything goes well, but when I perform a search the second time, I receive the error message: "oracle.apps.fnd.framework.OAException: oracl

  • How do i get firefox to allow cinema now login to work?

    i tried to login on cinema now website and it said i had be logged in on firefox or ie first and i was on firefox! i am using a toshiba thrive tablet! what do i do?

  • Can anybody please help me regarding :CAFFindException

    Hi, I am new to Composite Applications. Can anybody help me to resolve "CAFFindException" exception. Steps i have followed: I have desinged the EXTERNAL service with RFC, I have wrapping my external service with ENTITY service in NWDS and deployed it

  • Retrieving lost data

    Hi,      i recently upgraded to the iphone 5s, i plugged it in to my mac for the first time today. Only for it to restore to my old iphones back-up, deleting the photos etc i had already taken on the 5s to date. I do not have my photo stream on, or i

  • Contribute CS4 Install error - ccmenu.xml

    Hi, Trying to get Contribute CS4 installed for a user here at Notre Dame. It keeps telling us that: "Contribute encountered problems while constructing the menus from the current ccmenus.xml file. Please delete the current ccmenus.xml file and rename