How to provide a (web)service which delivers a process context?

Hi folks,
i have designed a process with Process Composer so far.
Several tasks read and write data into the process context.
What i want to do now is providing a (web)service which gets an process instance number as input and delivers the data from the corresponding process context as output.
Maybe someone can explain me the steps that are needed to implement that?
TIA
Michael

Hi Michael,
In case you want to have an 'instant view' on the process data context that might be an option.
Nevertheless I would not recommend doing so / be careful if there is no other possibility. Maybe it makes sense to define specific check points where data could be synchronized. You would benefit of a more clean process model and a reduced number of outgoing web service calls which in fact would also speed up process execution.
I am somehow curious what you are planning to achieve. Could you elaborate on that?
Best regards,
Martin

Similar Messages

  • How to run a web service which is using https server

    hi all.
    i am tring to send an xml tag to an https server. but get this exception "http_communication_failure"
    in the method "http_client->receive" some say that i need an ssl sertificate but i dont know how to get .
    here is my code any suggestions will be very helpful.
    REPORT  ZEM_SOAPTEST1.
    DATA: rlength TYPE i,
            txlen TYPE string.
    DATA: http_client TYPE REF TO if_http_client.
    DATA: wf_string TYPE string .
    DATA:zstring TYPE string.
    data : tab like zstring occurs 10 with header line.
    CONCATENATE
    ' 0.
    ENDIF.

    Either Tomcat is down (check to see if you can access it with a browser) or wsdeploy is not authenticating properly in which case I think you can set user and password properties in build.properties.
    An alternative to wsdeploy is to drop the .war file in webapps and restart Tomcat for autmatic deployment.

  • How to consume a web service provided by third party system from SAP system

    Hi Friends,
    Could any of you provide me a clear picture on how to consume a web service from SAP system and is provided by a third party system?
    Do we get an URL to create a client proxy for consuming the web service?
    Thanx in advance,
    Ram

    Hi Ram,
    of course you cannot supply the WSDL URL. Inside the WSDL (just view it in your browser) you find (usually but not necessary) towards the end something like
    <soap:address location="http://www.weather.gov/forecasts/xml/SOAP_server/ndfdXMLserver.php"/>
    which is the actual adress of the service.
    An example service can be found here:
    <a href="http://www.weather.gov/xml/">National Digital Forecast Database</a>
    containing the WSDL URL at
    <a href="http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl">this address</a>.
    You might also want to browse for the amazon webservices which allow you to embed queries against amazon into your application.
    have fun,
    anton

  • How to consume/access web services in forefront identity manager 2010 r2

    Hi,
    I have one web service  in c# for authentication  so i want to integrate this web service in my FIM 2010 R2.I want to ask one more question how to consume/access web service of FIM 2010 R2,so please tell me how is it possible in FIM 2010 R2 and
    anybody have any example for consuming/accessing web service step by step in FIM 2010 R2.
    Regards
    Anil Kumar

    Here is some C# code that accesses FIM resource attributes from the web services via the FIM 2010 Resource Management Client which I mentioned in an earlier post:
    using System;
    using System.Collections.Generic;
    using Microsoft.ResourceManagement.Client;
    using Microsoft.ResourceManagement.ObjectModel;
    namespace MyTest
    public partial class ResourceAttribute
    public ResourceAttribute()
    public string GetTypeAndDisplayName(string objectID)
    String ReturnValue = String.Empty;
    using (Microsoft.ResourceManagement.Client.DefaultClient client = new DefaultClient())
    client.ClientCredential = CredentialCache.DefaultNetworkCredentials;
    client.RefreshSchema();
    string query = String.Format("/*[ObjectId={0}]", objectID);
    foreach (RmResource res in client.Enumerate(query))
    String displayName = res.DisplayName;
    String objectType = res.ObjectType;
    ReturnValue = displayName + " (" + objectType + ")";
    break;
    return ReturnValue;
    You would just need to define your bindings and endpoints in your web.config. This method will return the DisplayName and ObjectType for the resource with the ObjectId matching the objectID argument. If you need more information, please provide more specifics
    for what you are trying to accomplish.
    There are many code examples for this library on its CodePlex home:
    http://fim2010client.codeplex.com/

  • How to integrate deployed Web Services and Portlets

    Hi All,
    I am able to deploy Web Services and Portlets in the Application Server, which is in the network system.Now, I want to know how to integrate the Web Services and Portlets.I dont have any idea about this and i didn't got any good material..
    Please, provide some useful links or material, if anybody has any idea about this.
    Thanks in advance.
    Praphul

    You can consume a Web service from a JSF page for example using the ADF Web service data control:
    http://www.oracle.com/technology/obe/obe11jdev/bulldog/webservices/ws.html
    http://www.oracle.com/technology/obe/obe11jdev/11/wsdc/wsdc.htm
    You can turn these JSF pages into portlets using WebCenter's JSF to Portlet bridge.
    http://www.oracle.com/technology/products/jdev/11/cuecards111/jps_set_62/ccset62_ALL.html

  • How To Access HTTPS Web Service  in Application Module

    I need to know how to access HTTPS web service in application module.
    If you can provide the tutorial or guidance to achieve this really appreciate.
    Thanks
    Sameera

    Use the Web Service Proxy wizard in JDeveloper to create a class that calls your Web service, and then call this class from code in your AM.
    http://docs.oracle.com/cd/E16340_01/web.1111/b31974/web_services.htm#CJAHGIEF

  • How can I use web service call for edit a report with SSRS in Java Struts2 web application

    Hello im new in SSRS technologie and I would like make web service call at my SSRS server. Is sombody can help me ?
    - What API should I import in my project ? I use Maven can I found this API on Maven repository ?
    - I would like have an sample of code which initialize the ReportingService, do the call and process result.
    We use the SQL Server ReportingService 2008 R2 and currently we made HTTP call like this : http://<ssr_server>/ReportServer/Pages/ReportViewer.aspx?%2fSSRS_OMB%2fMyReport&rs:Command=Render&MyParam=<value>
    Regards

    Hi ombinte,
    SQL Server Reporting Services provides access to the full functionality of the report server through the Report Server Web service. Because the Report Server Web service is an XML Web service which uses Simple Object Access Protocol (SOAP) over Hypertext Transfer
    Protocol (HTTP), any SOAP-aware application or development tool can communicate with the SSRS web service.
    There are three primary ways to develop Reporting Services applications based on the Web service, please see:
    Develop applications using Microsoft Visual Studio and the Microsoft .NET Framework SDK.
    Develop applications using the rs utility (RS.exe), the Reporting Services script environment.
    Develop applications using any SOAP-enabled set of development tools.
    For more information about Report Server Web Service, you can refer to the following document:
    http://technet.microsoft.com/en-us/library/ms152787.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to Authenticate the Web Service from my Java Client?

    Hi All,
    I am a newbie. I am working in Microsoft Technology. But due to a critical requirement, I am suppose to write a Java Web Service Client application. I some how managed to create the Client Application. The application works fine if the Authentication is turned off in the web service level itself. I am unable to or unaware of authentication in Java World. I have written a .NET Client application where I am able to set the Credentials but in Java world no property or method allows me to set it.
    Anybody knows how to solve this problem?
    My configuration is,
    JDK - JDK 1.5.0.16
    IDE - Netbeans 6.1
    Web Server - Tomcat 6.0
    SOAP - Native C++ SOAP
    How do I did?
    - Created a Java Web Service Client Application.
    - Added the Web Reference to the SOAP WSDL url.
    - Initialized the class object using the WSDL generated SOAP classes (Reference classes)
    My code look like,
    String result = "";
                try {
                    QName name = new QName("http://eaglesuite20/eaglesoap.wsdl", "eaglesoap");
                    eaglesuite20.eaglesoap.Eaglesoap service = new eaglesuite20.eaglesoap.Eaglesoap(new URL("http://phobos:1011/?wsdl"), name);
                    eaglesuite20.eaglesoap.EaglesoapPortType port = service.getEaglesoap();               
                    // TODO initialize WS operation arguments here
                    eagle.Request submitRequest = new eagle.Request();
                    submitRequest.setRequestType(eagle.RequestType.E_B_SCHEDULE_DEF);
                    submitRequest.setOperation(eagle.Operation.READ);
                    eagle.FilterDefinition filter = new eagle.FilterDefinition();
                    filter.setField(new JAXBElement<String>(new QName("urn:eagle", "Field"), String.class, "SHOW_SCHEDULED"));
                    filter.setValue(new JAXBElement<String>(new QName("urn:eagle", "Value"), String.class, "SHOW_SCHEDULED"));
                    filter.setOperator(eagle.EOperators.EQUAL);
                    eagle.FilterDefinitions filDefs = new eagle.FilterDefinitions();
                    filDefs.getFilterDefinition().add(filter);
                    submitRequest.setFilterDefinitions(new JAXBElement<eagle.FilterDefinitions>(new QName("urn:eagle", "FilterDefinitions"), eagle.FilterDefinitions.class, filDefs));
                    // TODO process result here
                    result = port.submitData(submitRequest);
                //out.println("Result = " + result);
                } catch (Exception ex) {
                    // TODO handle custom exceptions here
                    out.println(ex.getMessage());
                }Thanks in Advance.

    Hi
    Did you get your problem solved? Can you please help as I am getting null pointer exception when I invoke a call to web service which is secured/
    Please help!!!!!!!!! this is urgent.

  • How do i call web services from SAP ABAP

    Hello,
    Ian working with .net team. they are using sap .net Connector to connect SAP. But my job is In SAP side when Purchase Requisition is created, I have to call web services from ABAP and i have to pass the Purchase Requisition number to web service(.net Program). Please help me how to call web services from ABAP and how to pass value. Any one help me with example.
    Thanks
    RaviKumar

    Hi Ravi,
    If you can call EJB from ABAP and from EJB call Web service which you want to call. I am giving code to write in EJB business method processFunction.
    public void processFunction(Function function) {
       IRepository repository;
       repository = new Repository("TestRepository");
       JCO.MetaData fmeta = new JCO.MetaData("ZTEST_EJB");
       fmeta.addInfo("REQUTEXT", JCO.TYPE_CHAR, 255,   0,  0,  
       JCO.IMPORT_PARAMETER, null);
       fmeta.addInfo("ECHOTEXT", JCO.TYPE_CHAR, 255,   0,  0,
       JCO.EXPORT_PARAMETER, null);
       fmeta.addInfo("RESPTEXT", JCO.TYPE_CHAR, 255,   0,  0,
       JCO.EXPORT_PARAMETER, null);
       repository.addFunctionInterfaceToCache(fmeta);
       JCO.ParameterList input  =
       function.getImportParameterList();
       JCO.ParameterList output =
       function.getExportParameterList();          
       JCO.ParameterList tables =
       function.getTableParameterList();
      if (function.getName().equals("ZTEST_EJB")) {
                        output.setValue(input.getCharArray("REQUTEXT"),"ECHOTEXT");
    output.setValue("This is a response " + table.getString("E_NAME") +" " + output.getName(1), "RESPTEXT");
      else if (function.getName().equals("STFC_STRUCTURE")) {
      JCO.Structure sin  = input.getStructure("IMPORTSTRUCT");
      JCO.Structure sout = (JCO.Structure)sin.clone();
      try {
          System.out.println(sin);
       catch (Exception ex) {
           System.out.println(ex);
                        output.setValue(sout,"ECHOSTRUCT");
    output.setValue("This is a response from Example5.java","RESPTEXT");
    }//if
    Here REQUTEXT, ECHOTEXT are import parameter and RESPTEXT is the Export parameter of Function module ZTEST_EJB in SAP.
    Here from this bisuness method you can call web service which you want and give back the result of webservice to ABAP F.M.
    Regards,
    Bhavik

  • How to debug ABAP Web services from Microsoft Visual Studio

    When developing .NET based Web services clients using Visual Studio that call Web services in SAP NetWeaver .NET developers would like to be able to debug inside SAP. In my blog <a href="/people/andre.fischer/blog/2007/02/07/how-to-debug-abap-web-services-from-microsoft-visual-studio to debug ABAP Web services from Microsoft Visual Studio</a> I would like to point .NET developers to the fact that SAP NetWeaver offers the option of external debugging to perform this task. Though the steps that have to be performed are described in the SAP Online Help I am sure that this option is not well known amongst the .NET developer community.

    Hello WilliamIV,
    >>How can I "configure" Visual Studio debugger to allow validation to work?
    Since I do not have a VS2012 environment, according to your provided link, I created a test demo with VS2013, however, both ways catch the validation error:
    If possible, you could have a try with VS2013 to see if it works or run the example on other machine with VS2012 to see if this is caused by the VS environment, in my side, I do not change any configuration, all are default.
    If I misunderstood this issue, please feel free to let me know.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Want to find out how much data a Web Service is sending to client (JWSDP)

    Well, the subject line didn't fit what I was intended to say, so if you don't get what I am saying in the subject line, I am sorry.
    My question is... I have a Web Service client that uses stub classes generated by wscompile in JWSDP. I am wondering, it there a way to find out how much data the Web Service is sending back to my client.
    The reason I asked is this, I used WebLogic 7.0 workshop to create a Web Service and also used JWSDP to create the same Web Service which deploys to Tomcat. The generated WSDL files from WebLogic workshop and JWSDP that expose the same functionalities have differences. The WSDL from WebLogic workshop is 1.5 times the size of the WSDL from JWSDP. When I tested both with client programs, calling the Web Service in Tomcat (which uses JWSDP to built) is much quicker than calling the Web Service in WebLogic.
    For this reason, I would liked find out if the Web Service from WebLogic is sending more data than the one created with JWSDP.
    Thanks.

    I've used the TcpTunnelGui utility to see the HTTP flowing up and down the wire, that might help you.

  • Can universe connect to restful web service which is not soap based

    Can universe connect to restful webservice? I know it is allowed to connect to SOAP webservice. Currently is using WSDL1.1.
    How about restful web service which does not have any wsdl file?

    Hi,
    there is a chapter - Security Configuration at Message Level
    in XI config guide which specifies everything you need - this is what you need
    so I hope no further explanations are necessary
    Regards,
    Michal Krawczyk

  • How to time a web service at back-end?

    I implemented a web service using Axis. This service is to receive an upload file and process it. Since it is a long process, I want to know and log how much time was used for each service call at the server side.
    The web service code is like:
    public class CTSService implements ICTSService, ServiceLifecycle {
    public String processUpload(byte[] zippedData, int zipSourceLength) {
    In the service method processUpload(), it receives byte array zippedData, which can be hundred of MBs. I want to log the time processUpload() receives and processes zippedData. The problem is that, when processUpload() is invoked at the back-end, the server has already received the zippedData, so we can't correctly compute the time of upload of zippedData.
    Does anyone have a good idea of how to time the web service call processUpload() at server side?
    Thanks!

    You can include below method in your code and call it.
    private void UpdateConfig(string key, string value, string fileName)
    var cFile = ConfigurationManager.OpenExeConfiguration(fileName);
    cFile.AppSettings.Settings[key].Value = value;
    cFile.Save();
    Here fileName is the full path + application name (eg: c:\project\WinApp.exe)
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :)

  • How to wrap a Web Service around an EJB ?

    Hi all!
    I need to generate a WSDL file for my EJB because I need to expose them as service on the Enterprise Service Bus.
    Does anybody know how to wrap a Web Service on an EJB so that I have a WSDL file for the EJB ?
    Hoep I was clear
    Thanks
    Francesco

    >>Please can someone suggest if an empty SOAP request can be processed
    When you are creating your Message interface,you would be using Input/Output Messages.
    These are either Message Types which you would have defined or you would have got WSDL from sender system,right.
    Now in these message type or WSDL if you have described your elements as occurence from 0-unbounded,it will let you pass an empty payload,but if any of the field is mandatory,it will throw an error.
    Yu can not leave Input/Output Message type empty when creating Message Interface,there should be some message structure there,could be a dummy one
    Thanks
    Aamir

  • How to debugg a Web Service ? Any T-code Available?

    Hi all,
    I developed a ZRFC enabled function module that creates a Sales Order in CRM for both Normal Materials and Configurable materials.
    The RFC works perfect and if I test it in SE37 t-code I am able to generate the Sales order with all the Characteristic values for the VC material.
    Now I exposed that RFC as a Web Service by calling the web service creation wizard u2026.. and I am testing the Web Service in SOAMANGER T-code.
    Now the Web Service generates the Sales Order but the configuration data is missing..i.e if I go and check the Sales order in SAP GUI..i find that the Characteristic Values are missing for the variant configurable material.
    So now I created another Web Service for this RFC function module and still I encounter the same problemu2026..........
    If any thing is wrong with the RFC..i know that I can debug it using the ABAP debuggeru2026but everything is perfect at RFC end u2026u2026u2026the problem is with web serviceu2026
    How can I debug the web service?....can I call ABAP debugger for monitoring what is happening while I test web service in SOAMANGER t-codeu2026if so how should I do it?
    Did anybody encounter this problemu2026please help me. I encountered this for the first time and I am not finding any relevant posts for this behavior of web service which is bit funny and weirdu2026
    Please helpu2026.if some one has some thought on this ..as I need to figure it as as soon as possible.
    Any help will be highly appreciated..
    Thanks in advance
    Regard,
    Jessica

    Hey Bhanu...Thanks a lot..
    I could solve my problem...ur suggestion of seting an external break point helped me ....as from ABAP debugger i could track what was going wrong..
    Once again thanks..u deserve full 10 points...
    Regards,
    Jessica

Maybe you are looking for

  • I am able to generate PDF from Framemaker file but not able to generate pdf from book in robohelp

    Hi, Using robo help i am able to generate pdf  from a single framemaker file. but when i am importing whole book then i am not able to make it. And also it is not showing any error on console It goes to hang like situation and i have to close it from

  • Difference between  Oracle 9i and 10 g

    What is the difference between Oracle 9i and 10g and also what is Grid Computing ?

  • Anyone having problems with pop up windows?

    Very recently (roughly just after performing the most recent Security Update) I have had trouble with pop up windows in Safari. Haven't had the problem before and the strange part is that my setting to block pop up windows keeps becoming unchecked in

  • Satellite L30 PSL33E won't start at all - LED flashes six times

    Hello, My poor mother is quite distraught! Her Satellite L30 PSL33E has just died. It completely shut down and now won't start at all. Orange light flashes six times when the power button is pressed. No hard drive, fan, screen or any other noise / ac

  • Export Corruption Issues

    Ok so I am on the verge of ripping out my hair. I spent a good 2 hours trying to recreate the SIMPLEST Andrew Kramer tutorial, bought his plug ins and all that. I finally finished and it (in my opinion) looked great but when i make a movie the file b