Web service in Kava without Axis

Hi,
I need to build a web service in Java.
I tried Axis API (version 1.3) from Apache foundation. It works but I fear that web service managed by Axis are slow.
So I maybe can write my web service without Axis. How can I do this ? Is it possible ? Will it be very difficult ?
I know there are other open source APIs for web services, but they are too young, aren't they ?
Nico

Hi,
Follow this link.
Mobilize ALV Reports - Part 1 Create RESTful service

Similar Messages

  • How to call "https" web service from Oracle without certification.

    The reuirement is to call a secured web service (*https web service*) from Oracle9i without involving any additional cost.
    Initialy I tried with UTL_HTTP package but in vain as it is needed some certification. As per the requirement no additional cost should be involved with the implementation.
    So is there any way to achieve the above mentioned problem?
    Please let me know the responses with the sample code/steps.

    Please try not to double post. You have the ability to edit your original thread.
    Oh, BTW, try searching the forum. A quick search turned up this: HTTPS request signed by client certificate from PL/SQL procedure
    Check that out and maybe that will solve your problems.
    Thanks!

  • RESTful Web service in ECC without using netweaver gateway

    Can anyone explain how to create RESTful Web service in ECC without using netweaver gateway?

    Hi,
    Follow this link.
    Mobilize ALV Reports - Part 1 Create RESTful service

  • Calling a web service from BPM without using bridge S/A

    Hi Experts,
    I want to call a web service from a BPM and I want to call it asyncronously. That is by having my request and my response as a separate interface.
    I already did it by calling another BPM, this one with a bridge, but I don't like this solution.
    Any ideas?
    Regards
    Gonzalo

    Hi Sanjeev,
    EDIT: I was wrong, I have to reconsider your scenario.
    Leela,
    Watch this:
    http://img74.imageshack.us/img74/3536/presentacin2vm9.jpg
    The points of my scenario:
    -There's a BPM
    -Send and Receive in BPM have to be asynchronous
    -It have to comunicate with a WS wich is synchronous
    -I thought that, may be, playing with the receiver SOAP adapter modules I will achieve to send the response to another SOAP adapter, a sender one, and then have my ASYNC/SINC scenario as it's described here: File - RFC - File without a BPM - Possible from SP 19.
    Regards
    Gonzalo
    Edited by: Gonzalo del Castillo on Nov 20, 2008 11:29 AM

  • 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.

  • Web Service security with Apache Axis. 403 forbidden error

    Hello.
    I have to invoke a Web Service method via https. To achieve that, I have correctly added the server certificate to my truststore.
    When I invoke the method, I obtain this error:
    AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (403)Forbidden
    This is because the server requests me for a client certificate.
    I have the certificate, but I don't know how to use it in the java client.
    Does anybody know how to do that? Any kind of help will be very useful.
    Thank you very much in advance.
    NOTE: If I write the url of the web service in a web browser, the server requests me for a client cert. When I chose the appropiate certficate, the web browser shows me this message from the web service: "Hello, this is a Web Service"

    Finally my problem has been solved.
    I added the necesary properties to the system and everything went well.
    This is the code:
    String trustStore = System.getProperty("java.home") + "/lib/security/cacerts".replace('/', File.separatorChar);
    String keyStore = System.getProperty("java.home") + "/lib/security/keystorePKCS12".replace('/', File.separatorChar);
    String tspasswd = "myTrustStorePassword";
    String kspasswd = "myKeyStorePassword";
    System.setProperty("javax.net.ssl.trustStore", trustStore);
    System.setProperty("javax.net.ssl.trustStorePassword", tspasswd );
    System.setProperty("javax.net.ssl.keyStore", keyStore);
    System.setProperty("javax.net.ssl.keyStoreType", "PKCS12");
    System.setProperty("javax.net.ssl.keyStorePassword", kspasswd );It's necesary to say that my keystore is PKCS12 type, and it stores only one pkcs certificate.
    Note that is also posible to set these system properties in the Tomcat start script.

  • Running a web services applicatio​n without time-run engine

    Is possible for my clients (without run-time engine) to run my web service aplikation?

    Thanks for all the responses I got,
    Martin, Thank you
    I tried the same advises on my static IP address and it works fine, and very quickly some times, thank you.
    My Appache function well and I test a sample webpage.
    The domain name did not succeed in my network, may be because its a fake one, I do not really know but I already have an active domain but want to use it when the things will work for sure in all the aspects, and finish the tests.
    Your advises were very useful for me.
    But I still get the TCP_Error with timeout, some times, I think, the issue is related to the network now (not sure, but the tests takes long time and I prefere to let you know the development for now) , I'm trying to fix the network, as much as I can to get the perfect performance. But I just wonder about the Listener , may be there is something we need to change, still testing
    Did you tried your applications onsite from multiple workstations at the same time in Oracle XE using your web server?
    Appriciate your help and all other attendants.
    Thanks

  • Creating Web Services in SAP without J2EE/XI Server

    I'm not sure if this is possible.  I'm hoping that maybe one of you can answer this.  Here's the scenario:
    I have a Function Module that's RFC enabled. I also went ahead and converted it to a Web Service. Now, what I'd like to know is, if I want to consume the service do I have to have XI and/or J2EE server running.  Or, is it possible to consume it by some other means.  Any help is much appreciated.

    Hi Eric,
    There are two ways to handle
    1. you can directly expose this webservice without the need of XI or J2EE server. The wsdl generated will have all the endpoint information, which in ur case will be tightly coupled to the current SAP system where RFC resides.
    2. Import the rfc into XI and create a scenario in XI. Expose this scenario as a webservice.
    Second option is the refered one as the consumer needn't know where the RFC resides.
    cheers,
    naveen

  • Creating Web Service in Eclipse with Axis and Tomcat

    Hi I'm quite new to web services. But I got a compiled class that i want to create a web service of. Since this class is compiled and lies in a package I can't just use the WTP and create a Buttom Up Web Service. So I created av wrapper class to this class to see if that would solve the problem, but i still get error messages that it's not JAX-RPC compliant. I've decompiled the class file I want to create a web service of and made a wrapper class with an interface around this class.
    package org.ejbca.core.protocol.ocsp;
    import org.bouncycastle.ocsp.*;
    public class OCSPResponse
    public OCSPResponse()
    resp = null;
    fnr = null;
    httpReturnCode = 200;
    errCode = 0;
    public OCSPResponse(OCSPResp ocspresp)
    resp = null;
    fnr = null;
    httpReturnCode = 200;
    errCode = 0;
    resp = ocspresp;
    public int getHttpReturnCode()
    return httpReturnCode;
    public void setHttpReturnCode(int code)
    httpReturnCode = code;
    public int getErrorCode()
    return errCode;
    public void setErrorCode(int code)
    errCode = code;
    public String getFnr()
    return fnr;
    public void setFnr(String fnr)
    this.fnr = fnr;
    public OCSPResp getResp()
    return resp;
    public void setResp(OCSPResp resp)
    this.resp = resp;
    public int getStatus()
    Something
    private OCSPResp resp;
    private String fnr;
    private int httpReturnCode;
    private int errCode;
    OCSPResp is an object from boncycastle, as i found out one of the problems is that OCSPResponse is a non Non-Built-In Data Type and don't just contain bulit-in datatypes.
    So can anybody give me a detaild input on how to solve this problem, including some hints on how to create a wrapper incase I've done something wrong.
    Tommy

    Try having a look at the following tutorial on how to create web services in PeopleSoft.
    Integration Broker basics for the PeopleSoft developer | Blogging About Oracle Applications

  • Axis Web Service SOAP Response without namespace

    Hi folks,
    I use the Axis Framework and eclipse to create a Webservice. I wrote a Method which returns a List of customers(complex Element). When I execute the method I get the following result:
    <soapenv:Body>
    <getAllCustomersResponse>
    <ns1:getAllCustomersReturn>
    <ns1:email>[email protected]</ns1:email>
    <ns1:id>5</ns1:id>
    <ns1:name>Hendrik</ns1:name>
    </ns1:getAllCustomersReturn>
    <ns2:getAllCustomersReturn>
    <ns2:email>[email protected]</ns1:email>
    <ns2:id>6</ns1:id>
    <ns2:name>Masen</ns1:name>
    </ns2:getAllCustomersReturn>
    </getAllCustomersResponse>
    </soapenv:Body>
    How can I configure Axis that I get the result without namespace  like this: ?
    <soapenv:Body>
    <getAllCustomersResponse>
    <getAllCustomersReturn>
    <email>[email protected]</ns1:email>
    <id>5</ns1:id>
    <name>Hendrik</ns1:name>
    </getAllCustomersReturn>
    <getAllCustomersReturn>
    <email>[email protected]</ns1:email>
    <id>6</ns1:id>
    <name>Masen</ns1:name>
    </getAllCustomersReturn>
    </getAllCustomersResponse>
    </soapenv:Body>
    Thanks for your help
    Edited by: Heno on Apr 27, 2009 1:28 AM

    I just had the same problem and solved it like this: I modified the WSDL slightly by removing the prefix from the reference to the element of the response message, as well as the "targetNamespace" in the xsd:schema segment of the WSDL. Like this, SAP is able to parse the response.
    Philippe

  • How to call Axis 2.0  web service without wsdl

    Hi,
    Is it possible that I can call Axis 2.0 asynchronous web service in orabpel without wsdl.? As Axis 2.0 is not generating wsdl file.
    Regds,
    Farooq

    A Web Service without a WSDL describing it??? Seems like a contradiction to me...
    Are you 100% sure about this? I am not an Axis expert, but this sounds strange.

  • Deploying Web Services in axis - Custom Deployment

    Hi,
    I'm trying to deploy a Web Service (Java) in Axis 1.2 using the Custom Deployment method. I have placed the Web Service class in the - <tomcat-home>/webapps/axis/WEB-INF/classes/<package-structure>/ folder structure and have placed the corresponding WSDD file at - <tomcat-home>/webapps/axis/WEB-INF . Now I'm trying to deploy the Web Service using the Axis org.apache.axis.client.AdminClient class from a command prompt. For this I have include the following JAR files in my CLASSPATH environment variable -  activation.jar, mail.jar, xalan.jar, jaxrpc.jar, saaj.jar, wsdl4j.jar, xmlsec-1.2.1.jar, commons-discovery.jar and commons-logging.jar.
    I'm using the following command to deploy the Web Service - java org.apache.axis.client.AdminClient HostWebService.wsdd .
    However I'm getting the following exception while I try to execute the above metioned command - Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException. Could anyone please tell me why I'am getting this exception and how can I resolve this.
    I have followed these steps for deployment  from the apache site URL - http://ws.apache.org/axis/java/user-guide.html#UsingWSDLWithAxis
    Looking forward to hear from you.
    Thanks,
    Pankaj Khandelwal
    SAP Labs India

    Harshad ,
    Thanks for pointing this issue, We will investigate and get back to you.

  • Web Services with Apache Axis plugin Weblogic

    Hi,
    I am a newbie to Web Services & Apache Axis. I have plugged in Apache Axis with
    Weblogic 6.1. I wanted to know whether an architecture of the following is possible.
    Web Services published on Apache Axis wrapped on SessionBeans on Weblogic 6.1.
    Also can I get some docs, samples that can help me.
    Any help is appreciated.
    Meghna

    Hi Meghna,
    hmmm...if you are going to start off with webservices, why not go with
    the very best available: WLS 8.1 has:
    - much better schema coverage,
    - rpc, doc-literal and doc-literal-wrapped style
    - async client
    - jms transport
    - security and RM
    - many new ant tasks
    See the full list: http://edocs.bea.com/wls/docs81/webservices.html
    All the features...plus outstanding performance and our award winning
    support.
    Bruce
    Meghna Sinha wrote:
    >
    Hi,
    I am a newbie to Web Services & Apache Axis. I have plugged in Apache Axis with
    Weblogic 6.1. I wanted to know whether an architecture of the following is possible.
    Web Services published on Apache Axis wrapped on SessionBeans on Weblogic 6.1.
    Also can I get some docs, samples that can help me.
    Any help is appreciated.
    Meghna

  • Calling a soap web service from a java desktop application

    Hi,
    Does anyone know how to call a soap web service from a java desktop application? I've seen examples using Apache Axis, but it sounds like Axis needs to run on a web server and we are trying to avoid that. My initial thought was that, "of course we need a web server", but I'm wondering if there is a way to do this without a web server.
    Any help is greatly appreciated.
    thank you,
    Julie

    If you are the consumer you don't need any web server. The web server is only needed in the provider end.
    In java 6 there is a built in framework to call web services without the need of third parties (such as apache axis)
    take a look at:
    https://jax-ws.dev.java.net/guide/Developing_client_application_with_locally_packaged_WSDL.html
    http://java.sun.com/webservices/technologies/index.jsp
    For the provider end there is also a built in http server to expose web service via HTTP without the need to
    use any external web server.
    take a look at:
    http://java.sun.com/javase/6/docs/api/javax/xml/ws/Endpoint.html

  • Invoking Asynchronous Web Service from BPEL Process

    Hi,
    I have been working on the BPEL Process Manager for some time and now facing problem in invoking asynchronous web service from a BPEL Process. I have implemented a web service in Java using Axis but wasn't able to invoke it.
    I have gone through all the meterial available on this site but couldn't get any great help.
    Can some one help me in resolving this issue. A pointer to any example or sample material/tutorial will be appreciated.
    thanks
    Farooq

    I do the same thing.
    Take wsdl from axis and save it somewhere.
    Then you can create a standard project in Oracle BPEL PM. Create partnerlink, give a name and click on first icon to take your wsdl. It will add some needed code, you answer always yes. Then you can create receive, assign, invoke, assign and callback or similar and deploy it.
    Try it through BPEL Console...
    Ema

Maybe you are looking for