Using Third Party APIs with Tomcat and Axis

I'm experimenting with creating web services in Java. I'm using tomcat and axis for this. I have successfully created and deployed some basic web services and now I want to create one using a 3rd party API. I follow the same exact procedure and when I deploy the service I check my list of deployed services through the axis page, but all my services have disappearred. Commenting out all 3rd party related methods does successfully deploy the service. Is there anything special/extra I have to do to get 3rd Party classes to function correctly in a web service?
Thanks in advance

If you're using Tomcat, JARs in the /common/lib directory are available to all applications deployed on that instance of Tomcat.
I prefer putting them in the WEB-INF/lib of my web app, even if that means duplication. That way my app doesn't depend on having the server set up a certain way. I deploy them as a WAR file with everything they need enclosed within,no more and no less. They're completely portable to any servlet/J2EE engine that way.
%

Similar Messages

  • Third Party API with Tomcat and Axis

    I'm experimenting with creating web services in Java. I'm using tomcat and axis for this. I have successfully created and deployed some basic web services and now I want to create one using a 3rd party API. I follow the same exact procedure and when I deploy the service I check my list of deployed services through the axis page, but all my services have disappearred. Commenting out all 3rd party related methods does successfully deploy the service. Is there anything special/extra I have to do to get 3rd Party classes to function correctly in a web service?
    Thanks in advance

    what kind of third party API are using ?

  • How to use third party APIs with Sun J2ME Toolkit

    I've installed Sun J2ME Toolkit 2.1. If I intend to use other third party APIs with my existing toolkit, how do I do that. I can manage to get the jar file of the associated API classes, but how to integrate the same with the toolkit. Thanks in advance to all who support.

    if I remember right, it is enough, if you put the .jar of the api in the lib/ directory of your project (<WTK>/apps/<yourProject>/lib/ )
    hth
    Kay

  • How to use JMS with tomcat and Axis

    Hello
    I'm new in ii, so i'm still a little bit lost. I have been implementing web services with tomcat and Axis. However, these services are synchronous and I would like that some services were asynchronous.
    I've been reading about the topic and I've found that JMS is a good solution for it. I have already downloaded JMS in my computer but now I don't know what else to do. I've been trying to run the SimpleQueueSender.java example but I get the error:
    JNDI API lookup failed: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    But I have attached all .jar from F:\Sun\MessageQueue\lib
    In addition to this, for my first webservices I used the Java2WSDL, WSDL2Java and AdminClient (axis tool) to create my web services bindings, stubs and skeletons and to deploy the web service on the server. Do I have to use them now with JMS? or now the deployment must be performed in a different way?
    Thank you in advanced,

    The error means that you have to specify the type and location of your jndi store. You could create a jndi.properties file and put two properties in it:
    java.naming.provider.url=file\\\:////var/jndi
    java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
    for a file based jndi store. Then you have to make sure your jndi.properties file is in your CLASSPATH. Then you have to use something like imqadmin to create your jndi store and store in it your administrative objects like Queues and QueueConnectionFactories.

  • Using third party jars with Oracle Business Rules

    Hi
    I am working on Oracle AS 10g release 2.
    We are using Oracle Business Rules in integration with Oracle BPEL.
    While using third party jars however, Oracle Business Rules end is facing errors.
    Error during unmarshallingProvider com.sun.xml.bind.ContextFactory_1_0_1 not found
    oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: com.sun.xml.bind.ContextFactory_1_0_1
    Dependent class: javax.xml.bind.ContextFinder
    Loader: oracle.xml:10.1.0_2
    Code-Source: /D:/oracleasr3/lib/xml.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\oracleasr3\j2ee\home\oc4j.jar
    Can anybody help in figuring out where Jaxb jars(3rd party jars) are to be kept so that OAS access it?
    We tried using the applib folder to load the jars but we are getting class loading errors.
    When new instances are created, class loading is not happening.
    Pls help.
    Thanks
    Kavya

    Are you using Application Server Release 3 or Release 2? There are different versions listed in your mail.
    I think you probably want to add this as a shared library via EM and then import the shared library to your application with the application's xml config files.

  • How to use third party library (like .dll and .lib files) in flascc?

    I have a number of .dll and .lib files of the  third party library, which are generated from C++ code.
    I read about flascc on other web site says:
    "If you want to use third party library in your Flascc project,you must have either the source code or the linkable file which is compiled of the third party library   "
    Dose the linkable file mean .dll file or .lib file?
    AND
    How can I use the fuctions in them in my flascc project.?

    Native code is not interchangeable between platform.
    It means that you can't use library that wasn't build specifically for flascc.
    And when they say linkable files they mean libraries compiled for flascc, not any libraries.
    So if your libs are for windows, no luck, you have to recompile everything

  • ICM Third party softphone with voice and video.

    Hi all,
    My customer requested to implement video call on the company's web page, directly to the ICM.
    I'm thinking of using a third party softphone API to acomplish this, making the CTI OS login transparent to the agent regardless of being a third party softphone.
    Anybody knows if this could be done - login in third party softphone?
    Thanks in advance.

    Russ H wrote:
    And taking it a step further, it's also a good idea to avoid manually updating anything mid-project.
    You are absolutely right Russ.
    I've mistakenly updated FCPX thanks to this nasty little "update all" App Store button I've mechanically reached under the wrong user account, in the middle of a long night. My bad. (Who could be stupid enough to update its Software, on purpose, stuck in the middle of a huge project with approaching deadlines? Nobody I've ever heard of... except me).
    Nonetheless Apple update/upgrade soft-warning policy on its pro software is a bit bold, to say the less,
    especially since its QA and beta-testing processes seem pretty weak these days.
    In my opinion, an update should never manipulate the user data in a destructive way but rather propose to work on a copy of it (as I've explained on another post: part of your libraries backups seem to have been upgraded as well with this update. Regarding the size of video files and complexity of video projects, the number of hard-drives involved, backups is not always as simple as having a time-machine running on the background even though we'd like to).

  • How to use third party plugin with FCP, I'm lost...

    Hello,
    I need informations about how to use plugins with FCP.
    I do edit mostly classical concerts. I'd like to do basic audio post prod, without swaping between Soundtrack and FCP.
    I need two simple things : add reverb (the built in reverb is really bad), and enhancer. So I looked for specialised third party audio plugins, but I couldn't manage to find something that work for me...
    - Do FCP support VST plugins ? How to install them ?
    - I tried a few audio units plugins. It works, but I couldn't get a friendly visual interface, like VST effects racks. Is it possible in FCP ?
    - does anybody know a good reverb plugin with a friendly interface compatible with FCP ?
    Please help, I'm lost !
    Emmanuel

    I need two simple things : add reverb (the built in reverb is really bad), and enhancer.< </div>
    What you NEED is a better recordist at the concert, someone who understands the peculiarities of your specific video deliver plans.
    Soundtrack Pro is right up there with Motion in its impossible-to-understand interface paradigm shift away from industry standard tools. However, if you are in the position of being a sound editor, you must find a tool that works for you. STP might not be the one, certainly isn't for me. You could always try Logic. Yeah, good luck with THAT.
    bogiesan

  • Using third party headset with Retina Macbook Pro (microphone issue)

    Good day, everyone!
    I have very strange issue with my Retina Macbook Pro (Late 2013) OS X 10.9.3
    When I plug in my Steel Series Headset, its microphone not recognised by system and only "Internal microphone" available in Settings - Sound - Input.
    Headset itself works perfectly fine, because when I plug it to my iPhone, its microphone works without any problems.
    Macbook's headphone port also works fine — when I plug in my iPhone original headset to Macbook, its mic works good and I can see "External microphone" in Settings - Sound - Input.
    So headset is ok and headphone port is ok. What is the problem?
    How to force macbook to use headset microphone instead of built-in one?
    Thanks in advance

    Either contact the sales staff at the store where you ordered your Mac from or contact the speaker manufacturer & ask them.

  • Problems using third-party JDBC with JDeveloper

    Hi:
    I've tried to use an Informix's JDBC to access an Informix Online Workgroup v. 7.22 under Win NT 4.0, using JDeveloper. I tried Informix JDBC Driver V. 2.1 successfully with old-fashioned code using Connect, Statement and ResultSet objects, coding connections directly, but I couldn't define a connection so I can use wizards, 'cause I got an "Unable to find server: com.informix.jdbc.IfxDriver" error when I tried to test connection. I've probed this:
    * Create a library for Informix JDBC in my project. This step allowed me to make run my old-fashioned code.
    * When I created connection, I defined correct login, password and role parameters, then I selected "Other JDBC" on the JDBC Driver's combo, as classname I defined "com.informix.jdbc.IfxDriver" and as URL "jdbc:informix-sqli://127.0.0.1:1526/atlas:INFORMIXSERVER=produc_shm;".
    Classname I used is equals to classname I used in Class.forName method. URL use same format than DriverManager.getConnection method, adding pair user-password to it, and those parameters work ok coding connection directly using Connection method. By the other side, looking at Informix JDBC's Manual, it says Informix's JDBC supports connection using Datasource also.
    Which are steps I must follow?
    Omar Muqoz.
    null

    Hi,
    Unfortunately there was a regression bug around using the Generic JDBC connector to a Foreign Database in this Technology Preview (3). I'm not able to give you good news as I don't have a workaround for you either.
    You could use SQLDeveloper to connect to the database for live work, unfortunately that will not help if you wanted to create offline objects of some sort using JDeveloper.
    regards
    Susan
    http://www.susanduncan.blogspot.com

  • Integrate third party libraries with JBuilder 2005

    Hi,
    Does any body know how to integrate any third party APIs with JBuilder 2005. It would be of great help if anybody of you could jot down the steps to integrate third party APIs with JBuilder.I've got to use the JDIC API(https://jdic.dev.java.net) and the PDFBox APIs(www.pdfbox.org) with in JBuilder.
    Thanks & Regards,
    DT

    Yep got it. Shoud have refered the docs before asking this question. I used the following menu item to add a third party .jar file
    Project->Project Properties: select the Paths option and add the required jar file by selecting the "Required Libraries" tab.
    Regards,
    DT

  • Precompiled third party API usage

    Hi,
    I have a question related to the compile and run time behavior of the java objects.
    I have written a class which is using third party API classes. The third party API is compiled using the older version (say JDK1.2) version of java. Now I compile my developed class with JDK 1.6.
    When we compile a java file which is using the third party API classes, does the byte code hence generated contains the references of the API classes used or somehow it include the byte code of these classes in the newly compiled classes' bytecode? If the byte code of the API classes gets inserted into the newly generated class, does the third party class will also be compiled with the JDK1.6.
    Actually I am trying to migrate my application from weblogic 8.1 to weblogic 10.0. The higher version of weblogic require the java files compiled using JDK 1.5 or higher versions. Since the third party APIs are compiled using the previous versions of JDK so I am getting a bit skeptical whether this will work or not. If at all, this will work (with the old API classes) than how?
    Thanks in advance,
    Amit Singhal

    I would say to (at least attempt) to get new versions of the librarires.
    In any case, the only byte code that shows up in a classfile is created from the code in that class definition (excpet for some references to static final variables, but that can be overlooked for now). Nothing from those "libraries" will be inserted into your newly compiled classes.
    Now, as far as those libraries functioning under a new JVM (with such a large version disparity) is questionable. Technically they should, but I would neither count on this, nor expect them to be effecient even if they do function.

  • Third Party APIs in Java Language which doesnot use JavaMail APIs

    Hi Pals,
    Is there any third party java mail APIs available which doesnot using Sun JavaMail APIs? The third party would have its own APIs which does not use javax.mail. I have to code in Java Platform so if the APIs are java based its nice and useful to me.....
    Thanks & Regards,
    Prakash

    ksp wrote:
    Hi,
    I am using Javamail APIs to send mails. Sometimes Mcafee blocks the mails and its not allowing javax.mail package. Thats why i would like to go for some other third pary which uses their own APIs......What makes you think a third party API would be less prone to interference by McAfee?
    Edited by: sabre150 on Jun 18, 2009 10:39 AM
    :-)

  • Webinar- Connect Third Party Systems with SAP B1 – DI API, DI Server, B1WS

    Webinar happened on 21st August.
    Get the Presentation, Video recording and answers of all the questions asked in the webinar through the below link.
    Webinar- Connect Third Party Systems with SAP B1 - DI API, DI Server, B1WS

    Hi Oleksiy,
    I don't see anything strange in your code. You should receive an error message but it shoudn't loop without end ;o(
    The only thing I can propose you is to create a message for support, they will have a deepest look into your problem.
    Regards
    Trinidad.

  • Can I use third party DAQ boards with Labview real time?

    I have an Adlink DAQ 2010 card that I curently use with labview. Will this card also work with Labview real time? What requironments are there for 3rd party cards to work with Labview real time?
    Thanks!

    Hello George,
         Here is a great link for you to take a look at: Can I Use a Third-Party Device with LabVIEW RT?
    Have a great day,
    NathanT

Maybe you are looking for