Is necessary a JAVA Server to create an Web Service in ABAP?

Hi!
I am trying to create a ABAP Web Service, but I dont know if I need a JAVA Server to create the same.
Somebody can help me, please?
Thanks and Regards!

Yes, I find this Re: Activate abap proxy withou java stack on ECC side but my question is not answered.

Similar Messages

  • How to create a Web Service in ABAP 4.7E

    Dear Experts,
            We are on SAP R/3 4.7E. Can anybody tell me what are the Pre-requisites or steps to exposed an existing BAPI / RFC's as Web Services. Kindly explain me in detailed. or if any link is available.
    Regards,
    Umesh

    Hi Umesh,,
    Follow these Steps:---  They may help you...
    +Configuring Web Service Security in AS-ABAP
    Use
    To configure Web service security in SAP NetWeaver usage type AS-ABAP, you have to do the following:
    · Configure the RFC destination for the Web service security services
    · Configure the logical port for the Web service security services
    Configuring the RFC Destination
    Perform the following steps to configure the RFC destination for the Web service security services:
    1. Use transaction SM59 to create a new RFC destination of type HTTP Connections to Ext. Server.
    2. Specify connection type G and enter an arbitrary description.
    3. Specify the following technical settings:
    ¡ Target Host: Host name of the Integration Server (AS-Java)
    ¡ Service No.: Port number of the Integration Server (AS-Java)
    ¡ Path Prefix: Path prefix of the Integration Server (AS-Java)
    Depending on the logon procedure or security settings you are going to specify in Step 4, you must set the path prefix as follows:
    § If the logon procedure is Basic Authentication and the SSL option is inactive, enter the path prefix /wssproc/plain?style=document.
    § If the logon procedure is Basic Authentication or Send SAP logon ticket, and the SSL option is active, enter the path prefix /wssproc/ssl?style=document.
    § If the logon procedure is SSL Client Certificate or Send SAP logon ticket, and the SSL option is active, enter the path prefix /wssproc/cert?style=document.
    4. Select the logon/security settings that correspond to the path prefix specified in Step3..
    Configuring the Logical Port
    Perform the following steps to configure the logical port for the Web service security services:
    1. Use transaction LPCONFIG to configure the logical port by specifying the following attributes.
    Settings for the Logical Port:
    Attribute
    Value
    Proxy class
    CO_WSSEWSSPROCESSOR_VI_DOCUMEN
    Logical port
    BASIC
    Description
    Any description
    Default port
    Select the check box
    Runtime
    Select Web Service Infrastructure
    Call parameter: HTTP Destination
    Enter the RFC destination you configured above
    2. Save and activate the logical port.+
    +Wizard-Based Basic Configuration
    After full installation and before manual configuration, you can run the wizard-based basic configuration for SAP NetWeaver usage type PI. The configuration wizard saves you time and manual steps.
    Only carry out the wizard-based configuration if your system has never been configured before. If you have modified the system already or if you have upgraded from an older release, do not use the configuration wizard. Instead, use the manual steps as required.
    To carry out the wizard-based configuration steps required for your PI system, perform the following steps:
    1. Call the wizard-based configuration tool as described in Configuration Wizard.
    2. Select the scenario PI and the task PIPostInstallProcess.
    3. Choose Execute.
    A list of the steps to be executed by the wizard is displayed.
    4. Choose Install.
    The steps are executed one after the other (some steps may take some time).
    The wizard-based configuration for usage type PI performs the following post-installation steps:
    ● Checking sap.com services
    ● Performing automatic customizing
    ● Assigning application roles to user groups
    ● Maintaining a product for the technical system
    ● Maintaining a business system for the Integration Server
    ● Creating RFC destinations in the ABAP environment
    ● Creating RFC destinations in the ABAP and Java environments
    ● Creating the HTTP destination pmistore
    ● Configuring the role of the Integration Server
    ● Registering queues used by the Integration Server
    ● Triggering the Self-Registration of the Adapter Engine
    If you do not want to use the configuration wizard to perform the basic configuration steps required for usage type PI, you have to carry out these steps manually as outlined in the step descriptions you access by following the hyperlinks above.
    Afterwards, perform the following checks:
    Ensure that
    See
    You have installed the XI add-on in each involved business system that is based on SAP Web Application Server (AS) 6.20.
    Use SAP Web AS 6.20 kernel patch level 1253 if you want to generate new ABAP proxies in your business systems based on SAP Web AS 6.20.
    SAP Note 439915; if you generate ABAP proxies, see SAP Notes 675441 and 721160.
    You have imported the content of software component SAP_BASIS into the Integration Repository (interfaces, mappings, and so on).
    For more information, see Importing Process Integration Content.
    The connection between the Integration Server and the SLD has been established by calling transaction SLDCHECK.
    The system displays a log that lists the current configuration data, the function test results, errors, and notes for checking.
    Installation Guide SAP NetWeaver 2004s on SAP Service Marketplace at service.sap.com/installNW2004s.
    SAP System Landscape Directory
    System Landscape Directory in SAP Exchange Infrastructure.
    If you want to use a central SLD, further manual steps are required. For more information, see SAP Note 939592.
    If you want to use an Integration Server client other than 001, further manual steps are required. For more information, see SAP Note 940309.
    +
    +Optional Additional Configuration Steps
    The following additional configuration steps are optional:
    · Configuring the Change Management Service (CMS)
    · Configuring message archiving for the Adapter Engine
    · Configuring the Integration Builder documentation editor
    +
    And then you may goto Link->:http://help.sap.com/saphelp_nw04s/helpdata/en/b8/cb1141e109ef6fe10000000a1550b0/frameset.htm
    This will give you complete description ...
    "Plz Dnt forget to reward points"</b></u> 
    Regards,
    Mandeep.

  • Creating A Web Service from a Function Module in ERP2004

    I have searched for documentation on this without success.
    I would be grateful if anyone could point me in the direction of any documentation on this subject, how to do it and what infrastructure needs to be in place for it to work.
    Many Thanks
    David

    WAS640 makes the creation and consumption of web services very easy. Here is a help document to give you a step-by-step of how to create a web service in ABAP.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/37/01a7408f031414e10000000a1550b0/frameset.htm
    Hope this helps.
    Sudha

  • Parse errors while creating a Web service from Java class!

    Can anybody tell me please, is it possible to create a Web Service from java class where the input from user is required ?
    I have the following program, which is successfully compiled, but when I'm trying to make a web service in JDeveloper, the following error occurs:
    "Validation failed.
    The implementation class primePackage.isPrime ofport type MyWebService contains parse errors."
    import java.io.*;
    import java.util.*;
    class isPrime
    public static void main (String args[])
    Scanner reader = new Scanner(System.in);
    int n;
    System.out.println ("Enter a number you want to know is it prime or not");
    n=reader.nextInt();
    if (isPrime(n))
    System.out.println ("True");
    else
    System.out.println ("False");
    static boolean isPrime (int n)
    int i=2;
    while (i<=n-1)
    if (n%i==0)
    return false;
    i++;
    return true;
    }

    Hi,
    Can anybody tell me please, is it possible to create
    a Web Service from java class where the input from
    user is required ?Yes, the parameters of your method will be mapped in WSDL.
    But i've some considerations about your code.
    I suggest you change the name of isPrime do Prime, its a good code convention to put the name of class starting with Upper case. and isn't good the name of class equals to name of method.
    I suggest you to change the "static boolean isPrime (int n)" to "public boolean isPrime(int n)" to publish a method as a WebService method it's must be public and not static. After this change try to generate your Web Service.
    Regards.

  • Any difference in creating a web service from a java class or session bean?

    Hi,
    The JDeveloper tutorial at http://www.oracle.com/technology/obe/obe1013jdev/10131/devdepandmanagingws/devdepandmanagingws.htm demonstrates creating a web service from a plain java class. I'm wondering:
    - Is it possible to create a web service from a stateless session bean instead of a java class? If so, what's the proper way to do this in JDeveloper? When I tried doing so in JDeveloper 10.1.3.0.4 (SU5) using the J2EE Web Service wizard, the wizard did not list the session bean in the Component To Publish dropdown (it does list any java classes available in the project). I can proceed by manually typing in the name of the session bean. After the wizard completes though, the @Stateless annotation that had been in my session bean class code is removed and replaced by a @WebService annotation. The end result is that it looks like it made no difference whether I had tried to create the web service from a session bean or plain java class as the annotations in the resulting web service code are the same (although if I had started from a session bean, the class for the web service still implements the Local/Remote EJB interface that the session bean originally implemented).
    - Assuming it's possible to create a web service from a stateless session bean, is there any advantage/disadvantage creating a web service from a java class vs a stateless session bean? I'm creating the web service from scratch so I also need to either build the java class or stateless session bean the web service would be based on from scratch too.
    Thanks for any ideas about this.

    Hi,
    EJB Session beans (EJB 3.0) are deployed as WebServices by annotating the class with @WebService and the methds with @WebMethod (both tags require you to add the JSR-181 library to your project (available in the JDeveloper list of libraries)). Unlike the J2E WebService, the EJB session bean service is turned into a WebService upon deployment. This means you obtain teh WSDL file after deployment
    - Assuming it's possible to create a web service from a stateless session bean, is there any advantage/disadvantage creating a web service from a java class vs a stateless session bean?
    The difference is that EJB Session bean based web services are integrated with the J2EE container, which means that they can leverage container services like transaction handling, data sources, security, JMS etc.
    Frank

  • Creating a Web Service From an existing Java Project

    Hi folks,
    I'm new to web services and SAP Netweaver so I need to know if I can use my exisiting Java codes (not EJB's though) for creating web services and the WSDL. I've already gotten the codes working and all and just need to make them into web services and deploy them (plus give my WSDL).
    I've noticed in some samples that they used EJB's for creating new web services and I've been trying to find samples/steps on just creating webservices from exisitng java codes. I've been using AXIS but I've been told that creating web services using the Netweaver Developer Studio is rather easy.
    Thanks in advance!

    Hi Amol!
    Thanks for the link
    I was trying it out, but could you see if this was correct:
    I just made one simple java project (with one class file) and using the link you sent me and did just the step for using the web service Creation Wizard. I made it say Test service and got into the Web Services Explorer but it says it couldn't open my wsdl:
    IWAB0379E Unable to open http://localhost:50000/HelloBeanService/HelloBean?wsdl.
    IWAB0135E An unexpected error has occurred.
    WSDLException
    WSDLException: faultCode=OTHER_ERROR: http://localhost:50000/HelloBeanService/HelloBean?wsdl
    Did I miss a step?
    Thanks again!

  • Creating a Web Service from EJB 3.0 - J2SE 5.0 Collection mapping problem

    Hi,
    Apologies if this is the wrong forum, I'm not quite sure where it fits in.
    I have some Toplink JPA entity beans that I access through a session bean. I am then trying to create a web service based on the session bean by deploying it to a 10.1.3 application server. This is based on the documentation at http://download.oracle.com/docs/cd/B31017_01/core.1013/b28764/web_services002.htm#CHDJEDDH
    The two entity beans are like:
    public class Event {
    private java.util.List<EventDetail> eventDetailList;
    public Event() {
    public void setEventDetails(java.util.List<EventDetail> eventDetailList) {
    this.eventDetailList = eventDetailList;
    public java.util.List<EventDetail> getEventDetails() {
    return eventDetailList;
    public void addEventDetail(EventDetail eventDetail) {
    this.eventDetailList.add(eventDetail);
    public class EventDetail {
    public EventDetail() {
    The session bean has a method like:
    List<Event> listParents();
    When this is deployed to the application server I expected a complex type like ListOfEventDetail to be generated in the WSDL, as shown in http://download.oracle.com/docs/cd/B32110_01/web.1013/b28975/apptypemapping.htm#sthref966, and the Event complex type would have an element of ListOfEventDetail. Instead the Event complex type looks like this:
    <complexType name="Event">
    <sequence>
    <element name="eventDetails" type="ns1:list" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="EventDetail">
    <sequence/>
    </complexType>
    and ns1:list appears in a different schema:
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.oracle.com/webservices/internal/literal" targetNamespace="http://www.oracle.com/webservices/internal/literal" elementFormDefault="qualified">
    <import namespace="http://wsdl/"/>
    <complexType name="list">
    <complexContent>
    <extension base="tns:collection">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="collection">
    <sequence>
    <element name="item" type="anyType" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </schema>
    However, if I change the getters and setters for eventDetailList in Event to setDetails and getDetails like this:
    public void setDetails(java.util.List<EventDetail> eventDetailList) {
    this.eventDetailList = eventDetailList;
    public java.util.List<EventDetail> getDetails() {
    return eventDetailList;
    the WSDL is generated as I expected:
    <complexType name="EventDetail">
    <sequence/>
    </complexType>
    <complexType name="Event">
    <sequence>
    <element name="details" type="tns:ListOfEventDetail" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ListOfEventDetail">
    <sequence>
    <element name="item" type="tns:EventDetail" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    After messing around with various combinations of things, it seems that if the getters and setters have more than just the initial capital letter the (eg getTheThings instead of getThings) the WSDL gets messed up. Does anyone have any ideas what is going on here?

    Using <autotype> and <source2wsdd> to generate what I need. Now WL seems happy.

  • 'schema is missing for the component ' while creating a web service

    Hello,
    I am trying to create a web service in Application Explorer on my dev server as described in:
    http://download-east.oracle.com/docs/cd/B31017_01/integrate.1013/b28996/config.htm#BABBJHHF
    I use an adapter for JDE Edwards EnterpriseOne. After supplying the parameters (service, license, method name) I get: com.ibi.bse.AddWSWorker:java.lang.Exception: schema is missing for the component.
    I think the environment (JDE system, GenJava files) is configured correctly as I am able to communicate using J2CA.
    Debug mode produces ibse_log.txt with some errors (below) but this does not give me a clue to the solution. Could you point me in the right direction?
    20070507-16:54:04 DEBUG com.iwaysoftware.ibse.iwse.XDSOAPAdapterFactory:adapter factory method: [GETCOMPONENT]
    20070507-16:54:04 DEBUG com.iwaysoftware.ibse.iwse.XDSOAPAdapterFactory:iwae method: [GETCOMPONENT] with idx [4]
    20070507-16:54:05 DEBUG com.iwaysoftware.ibse.edaqm.XDClassLoader:com/jdedwards/application/interop/jdejava_cfin/D0100033.class found as url jar:file:///C:\oracle\product\10.1.2\as_1\adapters\application\lib\JDEJAVA_CFINInterop.jar!/com/jdedwards/application/interop/jdejava_cfin/D0100033.class
    20070507-16:54:05 ERROR com.iwaysoftware.ibse.iwse.SimpleConfig:Error, properties generation
    20070507-16:54:05 DEBUG com.iwaysoftware.ibse.iwse.IBSEServlet:output:<?xml version="1.0" encoding="UTF-8" ?>
    <SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <GETCOMPONENTResponse xmlns="urn:schemas-iwaysoftware-com:dec2002:iwse:af">
    <sid>2FDCA46F4D0D87AEBB2EF26FDF3949B4</sid>
    </GETCOMPONENTResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    20070507-16:54:05 INFO com.iwaysoftware.ibse.iwse.IBSEServlet:Received connection from host [10.1.1.27] with ip [10.1.1.27] and user [null]
    20070507-16:54:05 DEBUG com.iwaysoftware.ibse.iwse.IBSEServlet:Enter: doPost()...
    20070507-16:54:05 DEBUG com.iwaysoftware.ibse.iwse.IBSEServlet:request pathInfo [XDSOAPAdapterFactory]
    20070507-16:54:05 DEBUG com.iwaysoftware.ibse.iwse.IBSEServlet:request query [null]
    20070507-16:54:05 DEBUG com.iwaysoftware.ibse.iwse.IBSEServlet:soap action is []
    20070507-16:54:05 DEBUG com.iwaysoftware.ibse.iwse.XDSOAPAdapterFactory:<?xml version="1.0" encoding="UTF-8" ?>
    <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
    <ibsinfo xmlns="urn:schemas-iwaysoftware-com:dec2002:iwse:af">
    <service>iwae</service>
    <method>GETSCHEMA</method>
    <license>admin</license>
    <disposition/>
    <Username>ibseadmin</Username>
    <Password>1234512340023212232</Password>
    </ibsinfo>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <GETSCHEMA xmlns="urn:schemas-iwaysoftware-com:dec2002:iwse:af">
    <sid>2FDCA46F4D0D87AEBB2EF26FDF3949B4</sid>
    <component location="services/JDEJAVA_CFIN/B0100033/GetEffectiveAddress" name="GetEffectiveAddress"/>
    </GETSCHEMA>
    </SOAP-ENV:Body>
    <SOAPAction agentName="XDSOAPAdapterFactory" cid="1D90AB1A134EFDA81C656CA404EEC38D"></SOAPAction>
    </SOAP-ENV:Envelope>
    20070507-16:54:05 DEBUG com.iwaysoftware.ibse.iwse.XDSOAPAdapterFactory:adapter factory method: [GETSCHEMA]
    20070507-16:54:05 DEBUG com.iwaysoftware.ibse.iwse.XDSOAPAdapterFactory:iwae method: [GETSCHEMA] with idx [17]
    20070507-16:54:05 DEBUG com.iwaysoftware.ibse.edaqm.XDClassLoader:com/jdedwards/application/interop/jdejava_cfin/D0100033.class found as url jar:file:///C:\oracle\product\10.1.2\as_1\adapters\application\lib\JDEJAVA_CFINInterop.jar!/com/jdedwards/application/interop/jdejava_cfin/D0100033.class
    20070507-16:54:05 ERROR com.iwaysoftware.ibse.iwse.SimpleConfig:Error, schema generation
    20070507-16:54:05 DEBUG com.iwaysoftware.ibse.edaqm.XDClassLoader:com/jdedwards/application/interop/jdejava_cfin/D0100033.class found as url jar:file:///C:\oracle\product\10.1.2\as_1\adapters\application\lib\JDEJAVA_CFINInterop.jar!/com/jdedwards/application/interop/jdejava_cfin/D0100033.class
    20070507-16:54:05 ERROR com.iwaysoftware.ibse.iwse.SimpleConfig:Error, schema generation
    20070507-16:54:05 DEBUG com.iwaysoftware.ibse.iwse.IBSEServlet:output:<?xml version="1.0" encoding="UTF-8" ?>
    <SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <GETSCHEMAResponse xmlns="urn:schemas-iwaysoftware-com:dec2002:iwse:af"/>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    20070507-16:54:19 INFO com.iwaysoftware.ibse.iwse.IBSEServlet:Received connection from host [10.1.1.27] with ip [10.1.1.27] and user [null]
    20070507-16:54:19 DEBUG com.iwaysoftware.ibse.iwse.IBSEServlet:Enter: doPost()...
    20070507-16:54:19 DEBUG com.iwaysoftware.ibse.iwse.IBSEServlet:request pathInfo [XDSOAPAdapterFactory]
    20070507-16:54:19 DEBUG com.iwaysoftware.ibse.iwse.IBSEServlet:request query [null]
    20070507-16:54:19 DEBUG com.iwaysoftware.ibse.iwse.IBSEServlet:soap action is []
    20070507-16:54:19 DEBUG com.iwaysoftware.ibse.iwse.XDSOAPAdapterFactory:<?xml version="1.0" encoding="UTF-8" ?>
    <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
    <ibsinfo xmlns="urn:schemas-iwaysoftware-com:dec2002:iwse:af">
    <service>iwae</service>
    <method>ADDWS</method>
    <license>admin</license>
    <disposition/>
    <Username>ibseadmin</Username>
    <Password>1234512340023212232</Password>
    </ibsinfo>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <ADDWS xmlns="urn:schemas-iwaysoftware-com:dec2002:iwse:af">
    <sid>2FDCA46F4D0D87AEBB2EF26FDF3949B4</sid>
    <component location="services/JDEJAVA_CFIN/B0100033/GetEffectiveAddress" name="GetEffectiveAddress"/>
    <svcname>test6</svcname>
    <svcdesc>test6</svcdesc>
    <licname>test</licname>
    <mthname>GetEffectiveAddress</mthname>
    <mthdesc>test6</mthdesc>
    </ADDWS>
    </SOAP-ENV:Body>
    <SOAPAction agentName="XDSOAPAdapterFactory" cid="FC73705AC1A76B30A602E68CCD627EC2"></SOAPAction>
    </SOAP-ENV:Envelope>
    20070507-16:54:19 DEBUG com.iwaysoftware.ibse.iwse.XDSOAPAdapterFactory:adapter factory method: [ADDWS]
    20070507-16:54:19 DEBUG com.iwaysoftware.ibse.iwse.XDSOAPAdapterFactory:iwae method: [ADDWS] with idx [9]
    20070507-16:54:19 DEBUG com.iwaysoftware.ibse.edaqm.XDClassLoader:com/jdedwards/application/interop/jdejava_cfin/D0100033.class found as url jar:file:///C:\oracle\product\10.1.2\as_1\adapters\application\lib\JDEJAVA_CFINInterop.jar!/com/jdedwards/application/interop/jdejava_cfin/D0100033.class
    20070507-16:54:19 ERROR com.iwaysoftware.ibse.iwse.SimpleConfig:Error, schema generation
    20070507-16:54:19 ERROR com.iwaysoftware.ibse.iwse.XDSOAPAdapterFactory:XD[FAIL] cause: 0 subcause: 0 message: schema is missing for the component
         at com.iwaysoftware.ibse.iwse.XDSOAPAdapterFactory.buildSchemaInfo(XDSOAPAdapterFactory.java:1556)
         at com.iwaysoftware.ibse.iwse.XDSOAPAdapterFactory.addMethod(XDSOAPAdapterFactory.java:1628)
         at com.iwaysoftware.ibse.iwse.XDSOAPAdapterFactory.addService(XDSOAPAdapterFactory.java:1492)
         at com.iwaysoftware.ibse.iwse.XDSOAPAdapterFactory.handleADDWS(XDSOAPAdapterFactory.java:1376)
         at com.iwaysoftware.ibse.iwse.XDSOAPAdapterFactory.processWithDB(XDSOAPAdapterFactory.java:1858)
         at com.iwaysoftware.ibse.iwse.XDSOAPAdapterFactory.process(XDSOAPAdapterFactory.java:186)
         at com.iwaysoftware.ibse.iwse.IBSEServlet.doPost(IBSEServlet.java:550)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    pawel

    There is a note 1818432 for this issue.

  • Error when calling Java Web Services from ABAP.

    Hello experts:
        In my project, I will call Java Web Services with ABAP coding. With WSDL, I generated a proxy class and created a HTTP connection (t-code: SM59) and a logical port (t-code:lpconfig) for this proxy class. But when running, I would receive the folllowing errors:
       SOAP:1.023 SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: HTTP COMMUNICATION FAILURE")
       If I used HTTPS, there is no problem.
    Regards
    Bob

    Hi Bob,
    It might be the possibility that your java web server is configured to listen only on HTTPS.
    If your HTTPS is working fine, then first check with your JAVA server for HTTP connectivity, then try it calling through ABAP.
    Regards,
    Piyush

  • Creating a web service for F4 help

    Hi All,
    I want to create a web service that I can consume using JavaScript and thus can integrate with normal HTML web site. I want to achieve this by two ways
    Pass table name and field name to the service and it will return the default search help
    In some cases search helps are collective search helps and they have search criteria to filter data
    How can I tackle with the 2nd point. First one looks straight. Pass table-field and the system will pick default DDIC search help and return values in table. However in case of collective help, I need to cater for the search parameters and I am not aware of any FM that will allow me to do  it.
    Any help appreciated .
    Regards
    Abhi

    Hi Marcin and everyone,
    Thanks for the precious explanations.
    I created a client and I have an exception.
    1) I made a portal service from wsdl - client side.
    2) I created a DynPage.
    3) Here is the code :
    IMyBAPI4Service client = (IMyBAPI4Service) PortalRuntime.getRuntimeResources().getService(
    IMyBAPI4Service.KEY);
    IMyBAPI4Service securedClient = (IMyBAPI4Service) client.getSecurisedServiceConnection(                 request.getUser());
    //this is null.
    if (securedClient.getURLEndPoint().getURL() == null) {      
    securedClient.setURLEndPoint(new URLEndpoint("http://<server>:<port>/irj/servlet/prt/soap/com.sap.portal.prt.soap.MyBAPI4Service?style=doc_lit"));
    Bapi_Companycode_Getdetail_Input importParams =     new Bapi_Companycode_Getdetail_Input();
    importParams.setCompanycodeid("0500");
    Bapi_Companycode_Getdetail_Output exportParams = null;
    securedClient.execute_BAPI_COMPANYCODE_GETDETAIL(importParams);                         
    Do I have to use a secured client ? What is it ?
    The exception is :
    Problem at execution: SOAP Fault Error (java.lang.NoClassDefFoundError) : java.lang.NoClassDefFoundError
    Thanks Marcin....
    Message was edited by: David Fryda

  • Create a web service in jdev from an EJBSessionBean

    Hi,
    can someone tell me how to create a web service from an EJBSessionBean.java in jdev?
    I do like the EJBSessionBean was a simple java class but the web service doesn't work
    thanks

    hi again,
    i m going to tell you what i ve done:
    1- i created an entity bean from existing table(table users)
    2- then i create the session bean (methods are just the CRUD ones)
    3- after that i add a java service facade wich i use to generate a web service(all is good, generation is done and deployement of the web service is done without errors)
    4- then i run my web service. for exemple if i invoke the queryusersfindall it should display the data on the table, but what i get is an error:
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="http://oracle.model/"
    xmlns:ns1="http://www.oracle.com/webservices/internal/literal">
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>Internal Server Error (Caught exception while handling request: java.lang.IllegalArgumentException: NamedQuery of name: Users.findAll not found.)</faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    ----------------------------------------------------------------------

  • How to refer to J2EE library server component from a web service?

    Hi,
    I need help!  I created a web service and it worked fine.  However, I started having problems when I tried to use java classes from my deployable J2EE library server component.  I got the NoClassDefFound error.
    I tried to include the library DC in the Used DC list and put the reference of it in the web service deployment descriptor xml (application.xml and application-j2ee-engine.xml), but it did not work.
    How do I refer and use java classes from my deployable J2EE library at run time from my web service application?  What should I do?
    Thanks,
    Giavinh Pham

    I would like to clarify more about the web service project.  I created a Java DC project and converted it into a web service as the SAP manual instructions.  It worked fine by itself, but I now want to use some of my classes that I deployed as a J2EE library server component. 
    It was compiled and built when I refer to my J2EE library server component DC in the UsedDC.  It was deployed fine as well.  However, it broke when I tested the web service calls.  The class declarations and usage from the J2EE server component could not be found (NoClassDefFound error.) 
    I thought it was because I did not have an application-j2ee-engine.xml in my META-INF folder so I created one and referred to the library in xml as type library and reference 'strong'.  I built and deployed again.  It still did not work. 
    I examined the EAR and noticed that there were two parts of the EAR.  One is the WSAR archive file that contains the META-INF folder from my project and other web service assemblies.  The other part is the META-INF folder generated by the SAP NetWeaver IDE. 
    The strange thing was that SAP NetWeaver IDE generated an application-j2ee-engine.xml without any reference to my J2EE library server component.  However, the nested application-j2ee-engine.xml in the WSAR archive file did contain the info. 
    Since I cannot control the application-j2ee-engine.xml generated by SAP NetWeaver IDE, what should I do?  Is it the cause for my problem?
    Please advice, anyone?
    Giavinh

  • Creating a WEB Service for SAP enterprise connector

    Hi,
    I am using the SAP enterprise connector plugin for Netweaver 04.
    It generated me all the classes that I need for the BAPI.
    It also generated me a Proxy class.
    I want to create a service.
    This is what I've done :
    1) create a portal service.
    2) create a methode in the service :
    public Bapi_Companycode_Getdetail_Output execute_BAPI_COMPANYCODE_GETDETAIL(
    Bapi_Companycode_Getdetail_Input arg1)
    try {
    return new MyProxy_PortType().bapi_Companycode_Getdetail (arg1);
    } catch (Exception e) {
    return null;
    3) after I created a web service from the portal service.
    Is it the right way ?
    Thanks a lot.

    Hi Marcin and everyone,
    Thanks for the precious explanations.
    I created a client and I have an exception.
    1) I made a portal service from wsdl - client side.
    2) I created a DynPage.
    3) Here is the code :
    IMyBAPI4Service client = (IMyBAPI4Service) PortalRuntime.getRuntimeResources().getService(
    IMyBAPI4Service.KEY);
    IMyBAPI4Service securedClient = (IMyBAPI4Service) client.getSecurisedServiceConnection(                 request.getUser());
    //this is null.
    if (securedClient.getURLEndPoint().getURL() == null) {      
    securedClient.setURLEndPoint(new URLEndpoint("http://<server>:<port>/irj/servlet/prt/soap/com.sap.portal.prt.soap.MyBAPI4Service?style=doc_lit"));
    Bapi_Companycode_Getdetail_Input importParams =     new Bapi_Companycode_Getdetail_Input();
    importParams.setCompanycodeid("0500");
    Bapi_Companycode_Getdetail_Output exportParams = null;
    securedClient.execute_BAPI_COMPANYCODE_GETDETAIL(importParams);                         
    Do I have to use a secured client ? What is it ?
    The exception is :
    Problem at execution: SOAP Fault Error (java.lang.NoClassDefFoundError) : java.lang.NoClassDefFoundError
    Thanks Marcin....
    Message was edited by: David Fryda

  • Really impossible to create a web service for JBoss using eclipse's WTP?

    I'm starting to get nuts!!!
    I'm an experienced J2SE and J2ME Java developer... but I have huge problems creating a web service using eclipse WTP!
    The tutorials I found are for tomcat... But I want to code for JBoss and not for tomcat...!!!
    There must be somebody out there with the same issues...
    This tutorial works fine for Tomcat...
    http://www.eclipse.org/webtools/community/tutorials/BottomUpWebService/BottomUpWebService.html
    But if I do the same with JBoss... it's not possible to incoke my web service method... ok, I thought... just need to check google... BUT I didn't find any solution in the whole WWW. Found a lot of questions of people with the same problems... but no solution! :(
    Still getting that:
    ERROR [EngineConfigurationFactoryServlet] Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd
    I know a little bit what a wsdd does... but isn't it the job of the WTP to create that file???
    I really hope you have some places for me to start, 'cause I don't know anymore places to ask for...
    Maybe this is a JBoss issue... I don't know...
    Or is there a tutorial on how to create a web Service using JBoss IDE?
    Sascha

    Hi Massimo,
    Quiet a few points here.
    1. Oracle Type objects do not map to XML Complex type
    2. Oracle Type objects do not map to Apex Page Item Types
    3. Apex Page Item types are substituted into the WS Request XML by a process which is part of the Web Service Reference creation through the Wizard in Apex.
    >
    After created the web service (without any errors), I click on test.
    - I can select the Operation --> CREATE_LINGUA
    - I can input data for Basic Authentication
    - I can't view Input Parameters --> Report returned no rows.
    I've tried with normal type like Varchar2 and all was ok.
    Is possible in Apex to use web services based on complex type, tipically an Array?
    >
    As you have guessed the Wizard driven Web Service Reference definition process cannot handle complex types of input parameters required by a Request. By definition the number of complex types possible are infinite, so they are not likely to come built in.
    Passing an array is no solution because finally the values passed have to be plugged into the right SimpleTypes inside a ComplexType in the Request.
    Based on your WSDL your Request will be
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cre="http://xmlns.oracle.com/orawsv/GRIMALDI/PKG_WEBSERVICES/CREATE_LINGUA">
       <soapenv:Header/>
       <soapenv:Body>
          <cre:SNUMBER-CREATE_LINGUAInput>
             <cre:PLINGUA-LINGUAT-CIN>
                <cre:LINGUAT>
                   <cre:CODICE>?</cre:CODICE>
                   <cre:DESCRIZIONE>?</cre:DESCRIZIONE>
                </cre:LINGUAT>
             </cre:PLINGUA-LINGUAT-CIN>
          </cre:SNUMBER-CREATE_LINGUAInput>
       </soapenv:Body>
    </soapenv:Envelope>However, all is not lost. You can always use the UTL_HTTP package API to construct your Request.
    Regards,

  • Create New Web Services

    Hello,
    Pardon my igonorance, however I am a .NET developer coming over to Java land. I downloaded Sun Java Studio (great!) and am able to do some things, bind controls to the db, consume Web services, etc. However, I need to create some Web services. First of all, can I do that in Studio Creator? Is there any clear, examples that will walk me through, step-by-step?
    Thanks in advance,
    Dan

    Theoretically, yes, you can build a service in.NET
    and a UI in JSC. There is a problem that cropped up.
    I have posted the problem earlier. To create a web
    service in .NET is a breeze. However, it does not
    come over to JSC as a UI. May be there is some
    tweeking to do. Web Services should be platform
    independent, right now they do not seem to be so.You are correct that web services (generated in .NET or anywhere else) do not get exported "as a UI". However, all web services should provide a way to get the Web Services Description Language (WSDL) description of that web service. If you can find the URL for that WSDL file (or get a copy onto your local disk), you can add a corresponding web service to Creator, by going to the Server Navigator, right clicking on Web Services, and selecting the "Add Web Service" dialog.
    This will cause a client proxy library to be created and added to your Server Navigator list, just like the examples that are pre-installed. Then, you can import and use those web services to construct a web user interface for them.
    See the online help for the Add Web Service dialog for more information, as well as the "Accessing Web Services" tutorial on the Creator web site.
    Craig

Maybe you are looking for