Webservices Interface

Hello,
I want to develop a Webservice Interface to connect to ICT_SERVICE_DESK_API.
When I set up the interface, sap told me that the transactions wsadmin, wsconfig and so on are all obsolete. I should use soamanage instead.
Does this mean that the whole ICT_SERVICE_DESK_API is obsolete (and if so, what's the alternative?), or is it only the method to set it up?
Many thanks in advance and Best Regards,
Wolfgang

Hello,
SAP recommends not to use Transactions WSCONFIG/LPCONFIG/WSADMIN but use the SOAMANAGER.                              
For the administration of new service definitions use transaction SOAMANAGER (SOA = Service Oriented Architecture).                
You can test a web service involving a proxy object in SE80 by pressing the test button and giving the input as xml. It returns back the result also as xml. It is very close to web service Navigator tool in Java but not identical. This test even works without configuring the service in configuration tools (soamanager/wsconfig,wsadmin). This test tool does not expect endpoints to be available for the web service.     
Best regards,
Fernando

Similar Messages

  • Problem to deploy to a WebService interface for ADF Business Components to Weblogic Server

    Hi,
      I'm trying to deploy a custom application ,in which i have exposed ADF Business Components through a WebService interface, to a standalone weblogic server.
    Application Module is configured with a Service Interface for ordinary ViewObjects.
    Now I want to create a EAR file of this application to deploy it on the weblogic server.
    But I got an error while deploying it.The error i am getting is shown below.
    ERROR: No Java EE modules detected in EAR archive. Deployment aborted. == (oracle.jdevimpl.deploy.ear.WeblogicAssembler)
    I have followed the steps mention in the below link :
    http://technology.amis.nl/2010/12/29/quickly-creating-reploying-and-testing-a-webservice-interface-for-adf-business-components/
    I'm using Jdeveloper 11.1.2.4 on windows.
    Please suggest what i could be doing wrong.
    Regards,
    Himanshu

    Does the deployment profile include Java EE modules?
    Refer
    Java EE Developer: ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.Veto…

  • Invoke BPEL process with the webservice interface

    I'm using Oracle BPEL PM 10.1.2.x.
    Follow the example comes with the BPEL PM, i can invoke the BPEL process in a J2EE project (with the webservice interface). The example named "UseStockReviewSheet".
    Then i tried to invoke the BPEL process i designed with Eclipse BPEL Designer. The version of BPEL designer for Eclipse is 0.9.13.
    I failed and got following errors:
    09/03/17 16:55:53 com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.
    xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {null}
    parts: {{summary=<summary>变量/表达式结果为空.
    尝试读取/复制第 50 行的 xpath 变量/表达式 "bpws:getVariableData('input','payload
    ','/tns:CreditFlowRequest/tns:input')" 时, 发现为空。.
    请确保变量/表达式结果 "bpws:getVariableData('input','payload','/tns:CreditFlowRe
    quest/tns:input')" 非空。.
    </summary>}}
    09/03/17 16:55:53 at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.checkEx
    pressionFromValue(BPELAssignWMP.java:972)
    09/03/17 16:55:53 at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.evalFro
    mValue(BPELAssignWMP.java:504)
    09/03/17 16:55:53 at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__execu
    teStatements(BPELAssignWMP.java:122)
    09/03/17 16:55:53 at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perfo
    rm(BPELActivityWMP.java:188)
    09/03/17 16:55:53 at com.collaxa.cube.engine.CubeEngine.performActivity(Cu
    beEngine.java:3408)
    09/03/17 16:55:53 at com.collaxa.cube.engine.CubeEngine.handleWorkItem(Cub
    eEngine.java:1836)
    09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.message.instance.Per
    formMessageHandler.handleLocal(PerformMessageHandler.java:75)
    09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.DispatchHelper.handl
    eLocalMessage(DispatchHelper.java:166)
    09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.DispatchHelper.sendM
    emory(DispatchHelper.java:252)
    09/03/17 16:55:53 at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEng
    ine.java:5438)
    09/03/17 16:55:53 at com.collaxa.cube.engine.CubeEngine.createAndInvoke(Cu
    beEngine.java:1217)
    09/03/17 16:55:53 at com.collaxa.cube.engine.delivery.DeliveryService.hand
    leInvoke(DeliveryService.java:511)
    09/03/17 16:55:53 at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.han
    dleInvoke(CubeDeliveryBean.java:335)
    09/03/17 16:55:53 at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.
    handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796)
    09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.message.invoke.Invok
    eInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
    09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.DispatchHelper.handl
    eMessage(DispatchHelper.java:125)
    09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.
    process(BaseScheduledWorker.java:70)
    09/03/17 16:55:53 at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage
    (WorkerBean.java:86)
    09/03/17 16:55:53 at com.evermind.server.ejb.MessageDrivenBeanInvocation.r
    un(MessageDrivenBeanInvocation.java:123)
    09/03/17 16:55:53 at com.evermind.server.ejb.MessageDrivenHome.onMessage(M
    essageDrivenHome.java:755)
    09/03/17 16:55:53 at com.evermind.server.ejb.MessageDrivenHome.run(Message
    DrivenHome.java:928)
    09/03/17 16:55:53 at com.evermind.util.ReleasableResourcePooledExecutor$My
    Worker.run(ReleasableResourcePooledExecutor.java:186)
    09/03/17 16:55:53 at java.lang.Thread.run(Thread.java:534)
    <2009-03-17 16:55:53,640> <ERROR> <default.collaxa.cube.xml> com.oracle.bpel.cli
    ent.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-proce
    ss/}selectionFailure}
    messageType: {null}
    parts: {{summary=<summary>变量/表达式结果为空.
    尝试读取/复制第 50 行的 xpath 变量/表达式 "bpws:getVariableData('input','payload
    ','/tns:CreditFlowRequest/tns:input')" 时, 发现为空。.
    请确保变量/表达式结果 "bpws:getVariableData('input','payload','/tns:CreditFlowRe
    quest/tns:input')" 非空。.
    </summary>}}
    I can invoke my BPEL process in BPEL console, not in J2EE project. bpws:getVariableData('input','payload','/tns:CreditFlowRequest/tns:input')" is null.
    The error message contains some Chineses word. I'm new to BPEL, hope someone can give me a hint on how to solve this problem.
    Thanks a billion!
    --Sunny 2009-3-18

    Following is the java class invoking BPEL process with the webservice interface.
    package com.otn.samples;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.JAXRPCException;
    import javax.xml.rpc.ParameterMode;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.ServiceException;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.encoding.XMLType;
    import javax.xml.rpc.soap.SOAPFaultException;
    import org.apache.axis.client.Call;
    * @version 2.0 $Date: 07-mar-2005.05:07:45 $
    * @author Copyright (c) 2004 by Oracle. All Rights Reserved.
    public class CreditFlowClient
    private static QName SERVICE_NAME;
    private static QName PORT_TYPE;
    private static QName OPERATION_NAME;
    private static String SOAP_ACTION;
    private static String STYLE;
    private static String THIS_NAMESPACE = "http://samples.otn.com";
    private static String PARAMETER_NAMESPACE = "http://samples.otn.com";
    private String location;
    static
    SERVICE_NAME = new QName(THIS_NAMESPACE,"CreditFlow");
    PORT_TYPE = new QName(THIS_NAMESPACE,"CreditFlow") ;
    OPERATION_NAME = new QName(THIS_NAMESPACE,"creditFlowRequest");
    SOAP_ACTION = "initiate";
    STYLE = "wrapped";
    public void setLocation(String location)
    this.location = location;
    public void initiate(String ssn)
    try
    /* Create Service and Call object */
    ServiceFactory serviceFactory = ServiceFactory.newInstance();
    Service service = serviceFactory.createService( SERVICE_NAME );
    Call call = (Call)service.createCall( PORT_TYPE );
    /* Set all of the stuff that would normally come from WSDL */
    call.setTargetEndpointAddress( location );
    call.setProperty(Call.SOAPACTION_USE_PROPERTY, Boolean.TRUE);
    call.setProperty(Call.SOAPACTION_URI_PROPERTY, SOAP_ACTION);
    call.setProperty( Call.OPERATION_STYLE_PROPERTY , STYLE );
    call.setOperationName(OPERATION_NAME);
    call.addParameter(new QName(PARAMETER_NAMESPACE,"ssn"), XMLType.XSD_STRING, ParameterMode.IN);
    Object[] params = new Object[1];
    params[0] = ssn;
    /* Invoke the service */
    call.invokeOneWay(params);
    System.out.println( "CreditFlow BPEL process initiated" );
    catch (SOAPFaultException e)
    System.err.println("Generated fault: ");
    System.out.println (" Fault Code = " + e.getFaultCode());
    System.out.println (" Fault String = " + e.getFaultString());
    catch (JAXRPCException e)
    System.err.println("JAXRPC Exception: " + e.getMessage());
    catch (ServiceException e)
    System.err.println("Service Exception: " + e.getMessage());
    public static void main(String[] args)
    String ssn = "12-123-126";
    String location = "http://localhost:9700/orabpel/default/CreditFlow";
    CreditFlowClient client = new CreditFlowClient();
    if(args.length == 1)
         ssn = args[0];
    else if(args.length ==2)
    location = args[0];
    ssn = args[1];
    client.setLocation( location );
    client.initiate( ssn );
    -------------------------------------------------------------------

  • Webservice interface failed, sapstartsrv stopped

    Hi,
    in our SRM production (abap+java) system's syslog we get following error -->
    webservice interface failed, sapstartsrv stopped
    =================
    We are not sure what error is this.
    Can somebody help in this?
    Thanks in Advance,
    Akki.

    Hi
    Please see related links ->
    Note 1081201 SAP Start Service may crash when fetching a Java callstack
    Note 927637 Web service authentication in sapstartsrv as of Release 7.00
    Note  936273 sapstartsrv for all platforms
    Note 897933 Start and stop sequence for SAP Systems
    Note 867892 MMC shows current SAP processes as being stopped
    Note  877795 Problems w/ sapstartsrv as of Release 7.00 & 6.40 patch 169
    Re: How to stop sapstartsrv and sapstart processes ?
    https://forums.sdn.sap.com/click.jspa?searchID=7502269&messageID=3661396
    https://forums.sdn.sap.com/click.jspa?searchID=7502269&messageID=9957
    Regards
    - Atul

  • Using BAPI as WebService Interface in SAP PI

    Hello,
    Situation is:
    BAPI is imported in SAP PI from SAP R/3 system.
    The BAPI will be used for R/3 as Sync.Receiver.
    A Web Application should connect to SAP PI with the same message structure for request and response.
    So the idea is to publish the BAPI interface as a WSDL for this partner.
    But when doing this in Directory SAP PI does not offer BAPIs as Interfaces for WSDL, only message interfaces created
    in Repository are offered.
    BAPIs are interfaces per definition. So we dont need a message interface to add the BAPI to it.
    Maybe this woin t work anyhow with a SAP system.
    But how to use the BAPI for a WSDL?
    Is it required to create an interface for this purpose and add this one in the Directory WSDL create function?
    Best regards
    Dirk

    Hi Meinhard,
    There are more ways to get where you want to go, some are mentioned above.
    You can also do the following:
    1) From the BAPI you create the Webservice in R3 (as described in the link from pavan kumar)
    2) Go to trx SOAMANGER (in R3)  and get the URL for the WSDL
    3) Import the WSDL in PI as an External Definition (ED)
    4) Now you create an INBOUND, synchronous, service interface with the external definition.
    5) After saving the SI you can create a matching Outbound service interface (it's a menu option)
    Now you can use these service interfaces in the Integration directory.
    You can even create an ICO (integrated configuration) provided you use SOAP communication channels.
    kr
    Robert

  • Cannot use user classes in webservices interface of appmodule custom method

    Hi,
    I need to expose an application module's custom method that uses user defined classes as parameters and return types as a web service interface. I have not been able to do that. Below are more details.
    In particular, I have an app module that has a client interface with a custom method that takes and returns a serializable Emp object (user defined classes/objects). I need to expose this app module as a web service through the use of a service interface.
    When i run the "Create Service Interface" wizard, under service custom methods (Create Service Interface Step 2 of 4 wizard), i don't see my custom method under "Available."
    In addition, the JDev message log says: Business Components: Method "yourCustomMethod(Emp):Emp" cannot be exposed via service interface because the return type "com.mypackage.Emp" is not supported.
    From what i understand by reading the docs below, it seems that in an application module's service interface (Webservice) you only can use simple data type or java.util.list or AttributeList (which is a wrapper for any viewRow). In other words, i cannot use my user defined object in the custom method parameters and return types.
    This seems to be an artificial limitation of webservice creation through the use of app module because one can use complex/user defined objects in methods of a java class and expose them through a webservice.
    I would appreciate if of the tooling PMs can make a well thought out comment.
    11.2.3 What You May Need to Know About Method Signatures on the Service Interface
    http://docs.oracle.com/cd/E12839_01/web.1111/b31974/bcextservices.htm#CJAEHFJD
    9.8.4 What You May Need to Know About Method Signatures on the Client Interface
    http://docs.oracle.com/cd/E12839_01/web.1111/b31974/bcservices.htm#CHDFHGII
    Thanks,
    AJ
    ps: I am using Build JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013.

    Hi,
    question 2 doesn't apply as the client interface is for Java access to public methods. For the Service Interface, the document lists the supported data types you can use in arguments and return values. To expose a custom methods, what about using a POJO that accesses ADF BC (using create root application module) and then expose your POJO as a JAWS service. This will allow you to expose the data queried from ADF BC through your custom classes.
    Frank

  • Problem in testing the Webservice interface?

    Hello All,
    I created and deployed one webservice in the Xi system and SAP communication done using the RFC.
    same like below link.
    http://www.riyaz.net/blog/xipi-consuming-xi-web-services-using-web-dynpro-part-i/technology/sap/6/
    but now problem is the external system is not ready to test the interface, i need to test the interface from the XI end.
    How to test the scenario using other then XMLspy and SOAPUI?
    Thanks and Regards,
    Chinna

    Dear Chinna,
    Is your requirement to make full end-to-end test or make a simulation?
    If you need simulation only, then PI's functionality available in Runtime Workbench and Test Confiuration tool available in Integration Builder and mentioned by Abhishek is OK.
    In case the requirement is to make end-to-end test, I would suggest to use external SOAP client software in order to generate SOAP requests and send them to PI. Please advise why XML Spy and soapUI do not suit you? Actually, you can use any software which can generate SOAP request, send it to the specific endpoint and handle response.
    My regards,
    Vadim

  • Defining input message Type for webservice interface with out input

    Hi all,
    I am configuring a scenario RFC -> XI -> Webservice. My sync webservice doesnot need any input. it genrates a random number which needs to be sent back to the RFC. How can i define an input message data type with out any data? As the interface requires both input and output data types in XI?
    I tried a dummy data type with a single string input and didn't map it. but its not working because of name space issues. i specified a seperate XML name space in Message Type but i get a Target URL as the name space in the request which i provided in the SOAP reciever adapter.
    Any help will be appriciated
    Thanks and best regards,
    Kulwant Singh

    Hi
    Can u chk the webservice request using test tools like stylus studio or xml spy and ensure that the same request is going out of XI .
    make sure that you have changed the default xml namesapce in the target MT.
    rgds
    Arun

  • Webservice Interface - Soap Adapter

    Hi,
    Is there a way to put an XML payload into one field?
    Our scenario is the following:
    XI receives a request and is then sent to a 3rd party web service using SOAP adapter.  The web service expects the XML payload to be put into the field, strRequest.
    In the example below the XML payload,
    "<ns0:Request xmlns:ns0="XXXXXX"> <name>John</name></ns0:Request>"
    would go into the field, strRequest.
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
        <Request xmlns="http://XXXXXX">
          <strRequest>
    "<ns0:Request xmlns:ns0="XXXXXX"> <name>John</name></ns0:Request>"
    </strRequest>
          <strID>string</strID>
        </Request>
      </soap:Body>
    </soap:Envelope>
    Thanks.

    Duke,
    Yes you can do it. Using CDATA you can do it.
    Check this weblog:
    /people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping
    Also the same issue is discussed here:
    Printint XML string using  XSLT mapping
    Regards,
    ---Satish

  • XML not well formed - Java Mapping, Webservice to RFC Scenario

    Hello All Experts,
    I have facing a strange type of error. I have written a Java Mapping which implements a DOM parser to take a request from a Webservice and validate it on the basis of some prerequisites. i.e. If data in the incoming request is valid, it creates a message of the same structure type as the input. If the incoming data is incorrect or incomplete; It generates an Error response structure.
    When I run and test the same mapping program using Editplus Java editor for the error scenario; it executes perfectly and creates the correct error XML structure. (I checked it by importing the structure in the XI Message mapping test tab). But when I create jar of my java mapping program and test it in my interface mapping, it gives me "XML not well formed error" (Problem while building the tree).
    Any idea as to why is it behaving in such a way? There are 2 reasons which come to my mind as of now:
    1. The initilization of my input and output streams in the public static void main:
                InputStream in = new FileInputStream(new File("Input.xml"));
               OutputStream out = new FileOutputStream(new File("Output.xml"));
               validateXML myMapping = new ValidateXML();
                myMapping.execute(in, out);
    The Output.xml has the xml structure for the correct case, do I have to initialize my outputstream for the error file? say error.xml
    2. My Webservice interface is a sychronous interface (Request / Response) and output of the Java mapping program are two asynchronous interface. (I'll use a synch-asynch bridge when this works) - Is that causing a problem?
    Please help.
    Best regards,
    Varun

    Hello Varun,
    it gives me "XML not well formed error" (Problem while building the tree).
    I have come across the same error message while testing in interface mapping. My problem was when an exception occured in java mapping, the execution terminates with the messages XML not well formed error". In order to solve this issue what i did was catch the exception type TransformerException and in that catch block throw StreamTransformationException exception in main methos of mapping program i.e execute().
    eg:-                                                                               
    catch (TransformerException e) {
                   throw new StreamTransformationException("Can not write XML.", e);
    By doing this you will see the exception raised , because some times when you execute your mapping with mail() method, though it create the file, when you try to open it will give error if any exceptions occured in mapping. By using the above notation you can handle those in java mapping.
    Hope you have gone through this blog.
    [Handling and Tracing Exceptions in java mapping|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417700)ID1055371050DB01666765031379427182End?blog=/pub/wlg/15061]
    Regards,
    Prasanna

  • Getting started UCM webservice XML

    I am at a loss. I have this 400 and some page PDF as a guide for UCM and I do not remotely know how to successfully search for documents stored in UCM using the webservice interface.
    I can retrieve a document if I know the dID but my users won't know that value so I need to retrieve it in a search.
    Where can I find information on constructing the XML to do searches? The wsdl that you get from the UI menu on the UCM admin page doesn't seem correct.
    (yes, I have it in an envelope with security header)
    <soapenv:Body>
    <sear:QuickSearch>
    <sear:queryText>dDocTitle like 'Mytest'</sear:queryText>
    </sear:QuickSearch>
    </soapenv:Body>
    Throws:
    Cannot find dispatch method for {http://www.stellent.com/Search/}QuickSearch

    Ok, so let's start with a sanity check.
    Login to the Content Server web UI with the user login that you are using for the SOAP request. Once logged in, paste the following into the browser address bar, substituting the parts of the URL enclosed in brackets ("&lt;&gt;") with the correct values for your environment.
    http://<server>:<port>/<instance root>/idcplg?IdcService=COLLECTION_INFO&dCollectionPath=/Contribution Folders/CHUMS/Appraisals/AAAA/&hasCollectionPath=true&IsSoap=1
    What you should see is a XML response in the browser. One of the fields returned will be "dCollectionID", which is the field for which you are looking for in order to perform your original task stated in the opening of the thread. If you still get a "can't open the folder" response, verify the security applied to the folder.
    If you get a valid response in the web browser, then Content Server is capable of finding your folder and can return a response. The issue is then something within the SOAP request that is being issued.

  • Webservice migration from 8.x to 12c

    Hi all,
    I have a question regarding the Webservice migration from 8.x to 12c.
    In the 8.x, we use ant task wsdl2service to generate Webservice from WSDL, and 12c that ant task seems no longer exist. We have to use wsdlc instead. But there is a problem:
    Because of we generate Webservice interface from WSDL, and the WSDL defined binding SOAP header inside the input tag, our old wsdl file is RPC document literal wrapped style. Something like:
    <operation name="getData">
      <soap:operation soapAction="" style="document" />
      <input>
      <soap:header message="tns:UserAuthMessage" part="user-Auth-header" use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      <soap:body use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </input>
      <output>
      <soap:body use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </output>
    </operation>
    <portType name="AppPort">
      <operation name="getData">
      <input message="tns:GetDataRequest" />
      <output message="tns:GetDataResponse" />
      </operation>
    </portType>
    <message name="UserAuthMessage">
      <part name="user-auth-header" element="wsapi:user-auth-header" />
    </message>
    <message name="GetDataRequest">
      <part name="get-data-argument" element="wsapi:get-data-argument" />
    </message>
    <message name="GetDataResponse">
      <part name="get-data-response-argument" element="wsapi:get-data-response-argument" />
    </message>
    <xsd:element name="user-auth-header" type="wsapi:user-auth-header-wrapper" />
    <xsd:complexType name="user-auth-header-wrapper">
      <xsd:sequence>
      </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="get-data-argument" type="wsapi:get-data-argument-wrapper" />
    <xsd:complexType name="get-data-argument-wrapper">
      <xsd:sequence>
      </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="get-data-response-argument" type="wsapi:get-data-response-argument-wrapper" />
    <xsd:complexType name="get-data-response-argument-wrapper">
      <xsd:sequence>
      </xsd:sequence>
    </xsd:complexType>
    In Weblogic 8.x, the generation would include that soap header as the input premeter, but in 11g, or newer 12c, the wsdlc no longer generate it as input premeter, which impact client, our client have to re-generate all client jar again, because the interface complete changed.
    Just want to know, is there any way to generate soap header for auth as the same as we did in Weblogic 8.x ? Or anyway can don't need re-generate client jar and keep the old WSDL file.
    Thank you.

    The WebLogic Server 8.1 Web services stack has been removed in the WebLogic Server 12.1.1 release. Therefore, WebLogic Server 8.1 Web services applications will no longer work. Oracle recommends that you upgrade such applications to the WebLogic JAX-RPC or JAX-WS stacks, per the instructions in "Upgrading an 8.1 WebLogic Web Service to 12.1.x
    Thanks,
    Vijaya

  • [wscompile] error: invalid remote interface

    I have an interface I want to publish as a web service. This interface extends java.rmi.Remote and each of its methods throws a RemoteException. But when I run wscompile (via ant) against this interface in order to have the wsdl file generated it gives me:
    error: invalid remote interface; class manplan.j2ee.service.project.ProjectManager is not an interfacee
    I have searched the forum and the internet yet could not find an answer. Any hints are most welcome. Below you will find excerpts from the relevant files.
    Cheers,
    Olaf
    [interface]
    public interface ProjectManager extends java.rmi.Remote
         void createProject(final Project project) throws DuplicateProjectException,
                   ProjectManagementRuntimeException, RemoteException;
    [ant]
    <wscompile
         keep="true"
         define="true"
         base="${ws.build.classes.dir}"
         xPrintStackTrace="true"
         verbose="true"
         model="${ws.build.dir}/${ws.model.rpcenc.file}"
         config="${ws.conf.rpcenc.file}">
         <classpath>
              <path refid="ws.class.path"/>
         </classpath>
    </wscompile>
    [interface-config.xml]
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <service
    name="ProjectManagementService"
    targetNamespace="urn:manplan:Services"
    typeNamespace="urn:manplan:Types"
    packageName="manplan.j2ee.webservice">
    <interface name="manplan.j2ee.service.project.ProjectManager"/>
    </service>
    </configuration>

    OK. Found it: unlike Axis' java2wsdl does wscompile not support JavaBeans and so it gets confused by all those Project params and return types. So I guess wscompile is not the right tool for me in this situation?
    Cheers,
    Olaf

  • Web service interfaces for monitoring Hosts and instances with SAPHostControl, saphostexec and sapstartsrv

    Hi All,
    I need to develop a monitoring application for SAP system which will monitor both Host systems and instances.
    For this I need to collect Host data as well as instance data. In the below links I could find the SAP netweaver
    monitoring agents
    Monitoring Hosts with SAPHostControl and saphostexec - Infrastructure of the SAP NetWeaver Management Agents - SAP Libra…
    Central Monitoring with SAP NetWeaver Management Agents - Infrastructure of the SAP NetWeaver Management Agents - SAP Li…
    Administration/Monitoring of SAP Components with sapstartsrv - Infrastructure of the SAP NetWeaver Management Agents - S…
    These links tell that CCMS agent is replaced by these agents from SAP Netweaver 7.0 Eph 2.
    I found below doc which explains "How to use the SAPControl Web Service Interfaces" exposed by "sapstartsrv" to execute instance specific tasks,
    But it does not tells any methods/APIs/webservice interfaces specific to Host system or get OS data using "saposcol".
    SAP Control WebService
    Similar to this, Is there any API/webservice to retrieve the OS and Host related data??.
    Also, Is there any other doc for SAPHostControl or saphostexec similar to sapstartsrv ??
    Thanks,
    Swapnil

    Hi Swapnil,
    I too wanted this info and came across these.
    Take a look at these urls :-
    http://localhost:1128/SAPHostControl/?wsdl
    http://localhost:1128/SAPOscol/?wsdl
    grep saphost /etc/services
    saphostctrl     1128/tcp        # SAPHostControl over SOAP/HTTP
    saphostctrls    1129/tcp        # SAPHostControl over SOAP/HTTPS
    Hope this helps.
    Cheers
    Craig

  • Acknowledgements between SAP and Webservices systems

    Hi , I have integrated a SAP and legacy system ( with webservices ) . I woul dlike to know how i can enchance the integrations with acknowledgements . It would be nice if both the systems know what happened to their sent message. I have gone through the document 'how to handle IDOC acknowledgements' . It only talks about sender and receiver systems being sap systems.
    Any design ideas with acknowledgements ? The Syncronous calls are fine cos they get back a response. I would like to know how to deal with IDOC acknowledgemnts and the response from the webservice interface.
    Thank you
    Sudheer

    >>It only talks about sender and receiver systems being sap systems.
    No it doesn't talks only about SAP-SAP system.
    the last section(i guess last 2-3 pages) explain acknowledgment in case of legacy-SAP system
    Please check the last section of that .pdf
    Thanx
    aamir

Maybe you are looking for