Client Proxy--unable to edit Execute Asynchronous method !!!!

Hi All,
With Reference to the blog stated below
/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
I tried to write code inside the Execute Asynchronous method. But I was unable to edit the method and it comes as can not edit Proxy Objects. Is there any steps to do to make edit option available for this method.
Regards,
Sundar.

Hi,
you never write code in client proxies in the generated method
you can only do it for server proxies
if you want to use the client proxy you need to call it from your own
report (or function module)
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Similar Messages

  • ASDM Anyconnect client profile - unable to edit preferences

    Hi,
    I have a functioning vpn set up, my problem is that I'm trying to set up anyconnect start before login. I navigate to the anyconnect client profile section in the remote access vpn and create a profile xml file by clicking the add button. I can add a profile but as soon as I save the file I can no longer edit it. The edit button is greyed out and if I double click the file the asdm returns the error: "Input is not a well-formed, schema-compliant XML file."
    I'm running the following versions of software:
    asdm: 7.1(5)100
    anyconnect: 3.1.05152
    asa: 8.2(3) <----asa hardware doesn't support running a newer version.
    I have not been able to find any info on this particular problem but maybe someone here can help?

    Hello Ryan,
    Do you run into the same problem if you upload AnyConnect 2.5 and perform the same task?
    Also, have you tried this operation from a different machine with and old JAVA version like 1.6?
    HTH.

  • Execute-asynchronous

    Hi All,
      When I created the inbound proxy these are the objects generated.
    <b>Type       Name                Shorttext</b>
    Interface  ZJSII_IN_JS_MI      Proxy Interface
    Structure  ZJSSRC_DT           Proxy Structure
    Structure  ZJSSRC_DT_HEADER    Proxy Structure
    Structure  ZJSSRC_DT_DETAIL    Proxy Structure
    Structure  ZJSSRC_DT_RECORDSET Proxy Structure
    Structure  ZJSSRC_MT           Proxy Structure
    Table Type ZJSSRC_DT_DETAIL_TAB Proxy Table Type
    Table Type ZJSSRC_DT_HEADER_TAB Proxy Table Type
    Now I just need to edit the execute-asynchronous method so that I can view my data that has come from XI server.
    I have edited the method like
    method ZJSII_IN_JS_MI~EXECUTE_ASYNCHRONOUS.
    DATA : HTYPE TYPE ZJSSRC_DT_HEADER-KEYFIELD,
           DTYPE TYPE ZJSSRC_DT_DETAIL-KEYFIELD.
    HTYPE = INPUT-SRC_MT-RECORDSET-HEADER-KEYFIELD.
    DTYPE = INPUT-SRC_MT-RECORDSET-DETAIL-KEYFIELD.
    ENDMETHOD.
    But I am getting the error field
    "INPUT-SRC_MT-RECORDSET-HEADER-KEYFIELD" IS unknown.
    Any inputs on this will be of great help.
    Thanks & Regards,
    Jai Shankar.

    Hi,
    Check your message type and Message Interface. Because I think, there is no field in the message type. Check this once.
    Then if there is no fields etc then regenerate the proxy and activate again.
    Thanks,
    Moorthy

  • Not getting response from Client Proxy

    Hi,
    We are developing a scenario - File->PI->Proxy using ABAP Proxies.We are posting a file thru PI 7.0 to R/3 .In R/3 the server proxy(Inbound Asynchronous) will receive the message and BAPI will be called. The response from the BAPI will be reaching the server proxy and passed to the client proxy(Outbound Asynchronous).
       Server Proxy(request) --> BAPI --> Server Proxy(response) --> Client Proxy(response)
    The response from the client proxy has to be send to PI and a file will be generated as the output.
    Can anyone provide me suggestions to call client proxy from a server proxy by passing the response message to client proxy???
    Thanks in advance.
    Regards,
    Dibyajyoti

    Hi,
    I hope, you are done till the Implementation of Server Proxy, where you are calling a Bapi and passing the Input variables the Interface received and BAPI is giving a response back.
    Now your question, how to send the response back Asynchronously.
    I think, you have to do the same, what you do for a client proxy  and at last  call the method EXECUTE_ASYNCHRONOUS before the Final Commit Staement. I think this should work.
    But using Synchronous Interface in such cases is always a handy and easier option.
    Regards,
    Subhendu

  • ABAP Client proxy authentification

    Hi,
    I created a client proxy via SPROXY that executes a webservice on SAP XI.  I also created a logical port via LPCONFIG for the generated proxy class.
    In my report i execute the generated method but when execute the report i always get a popup to enter user and password to make the connection to XI.
    Is it possible to make a connection without having the popup to enter user and password?  Is it possible to use a default user and password?
    Thanks a lot,
    Vincent.

    Ravi,
    I created a RFC of type G with following data:
    Technical settings tab:
    Target host: my_server
    service no : my_serverno
    path prefif : /rep
    Logon & security tab:
    basic authentication
    ssl inactive
    user username
    password userpassword
    *Special options tab
    icm default timeout
    http 1.0
    compression inactive
    compressed response yes
    accept cookies no
    Is this correct or do i have to make additional settings?
    What is strange is that in SPROXY i can navigate thru the services on XI  without any popup for userdata, but when i'm testing the generated client proxy in SPROXY i also get the popop for userdata.
    Is it possible to give additional user data in the definition of the logical port?
    Regards,
    Vincent.

  • Client proxy.. passing internal table to output.

    Hi friends,
    I have created a proxy-JDBC scnario..
    For this i created a datatype with 2 fields..
    DT_Proxy_Outbound as complex type and 2 elements..and after that i have created a proxy class
    ZCO_MI_PROXY_OUTBOUND (Proxy class)
      ZMT_PROXY_OUTBOUND(structure)
    and i have writen a code in abap report to pass data to output parameter..
    but output parameter is of line type not a table type...
    so it is taking onley one value but not entire internal table to output parameter.
    i am including mycode here.
    REPORT  ZTEST_ABAP_PROXY.
    DATA PRXY TYPE REF TO ZCO_MI_PROXY_OUTBOUND.
    DATA: BEGIN OF I_MARA OCCURS 0,
      MATNR LIKE MARA-MATNR,
      ERNAM LIKE MARA-ERNAM,
      END OF I_MARA.
    CREATE OBJECT PRXY.
    DATA IT TYPE  ZMT_PROXY_OUTBOUND OCCURS 0 WITH HEADER LINE.
    TRY.
        SELECT MATNR ERNAM INTO TABLE I_MARA FROM MARA UP TO 10 ROWS.
        LOOP AT I_MARA.
          IT-MT_PROXY_OUTBOUND-MATNR = I_MARA-MATNR.
          IT-MT_PROXY_OUTBOUND-ERNAM = I_MARA-ERNAM.
          APPEND IT.
        ENDLOOP.
        CALL METHOD PRXY->EXECUTE_ASYNCHRONOUS
          EXPORTING
            OUTPUT = IT.
        COMMIT WORK.
      CATCH CX_AI_SYSTEM_FAULT .
        DATA FAULT TYPE REF TO CX_AI_SYSTEM_FAULT .
        CREATE OBJECT FAULT.
        WRITE :/ FAULT->ERRORTEXT.
    ENDTRY.
    where should i change structure so that output can accept total internal table rather than line item.
    Thnaks and Regards
    Vijay

    Hi Vijay,
    Try using the following code. I have used the variable ZDT_PROXY_OUTBOUND_TAB , which should appear in the zproxy transaction. The name may not be exactly correct, so please check and change accordingly. Check parameters of execute- asynchronous method. double click on associated type of output (ZMT..). You will get controller and Message type MT...Click on component type - ZDT.., you will get controller and a recordset( the name you have mentioned in your data type sender side). The corresponding component type would be the table ZDT_PROXY_OUTBOUND_TAB. Hope you understand and change accordingly.
    REPORT  ZTEST_ABAP_PROXY.
    TABLES : MARA.
    DATA PRXY TYPE REF TO ZCO_MI_PROXY_OUTBOUND.
    DATA: BEGIN OF I_MARA OCCURS 0,
      MATNR LIKE MARA-MATNR,
      ERNAM LIKE MARA-ERNAM,
      END OF I_MARA.
    DATA : REC_OUTPUT TYPE ZDT_PROXY_OUTBOUND_TAB,
         WA_REC_OUTPUT LIKE LINE OF REC_OUTPUT,
         MARA_OUTPUT TYPE ZMT_PROXY_OUTBOUND.
    CREATE OBJECT PRXY.
    TRY.
        SELECT MATNR ERNAM INTO TABLE I_MARA FROM MARA UP TO 10 ROWS.
        LOOP AT I_MARA.
          WA_REC_OUTPUT-MATNR = I_MARA-MATNR.
          WA_REC_OUTPUT-ERNAM = I_MARA-ERNAM.
          INSERT WA_REC_OUTPUT INTO TABLE REC_OUTPUT.
          CLEAR : WA_REC_OUTPUT, I_MARA.
        ENDLOOP.
         MARA_OUTPUT-MT_PROXY_OUTBOUND-RECORDSET = REC_OUTPUT.
        CALL METHOD PRXY->EXECUTE_ASYNCHRONOUS
          EXPORTING
            OUTPUT = MARA_OUTPUT.
        COMMIT WORK.
      CATCH CX_AI_SYSTEM_FAULT .
        DATA FAULT TYPE REF TO CX_AI_SYSTEM_FAULT .
        CREATE OBJECT FAULT.
        WRITE :/ FAULT->ERRORTEXT.
    ENDTRY.
    -Regards,
    Shamly

  • Can't get username and password into client proxy

    Hello all,
    I am creating a client proxy using class xem_measurementImport (the doMeasurementImport method). I call this from an ABAP program, and it pushes measurement data into the EC (Environmental Compliance) system, which runs in Java.  Everything has been running well, except for one thing.  When I run the program in the foreground, it prompts me for a username and password, and when I run it in the background (it will be run that way in production), it gets a SOAP/authentication fails error message from the method, since username & password could not be supplied.  I tried to recreate my client proxy, but when it is created, the wizard does not prompt me for my name & password, which it should do, so that it can supply it to the calling program via the logical port.  Is this a configuration issue that Basis needs to address?   Thanks for any help you can give.

    gauravjlj wrote:
    because client will install the mysql not me. and I need username and password for the further programming.
    there is any file in mysql installation which can give me the username and password.
    please tell me.
    thanks
    gaurav agrawalNo. If the "client" is installing the DB (and, I assume, administrating it, I.E. removing the large security holes that exist in the default installation), then why don't you simply ask the "client" for this info a dialog?
    Otherwise, you should be providing a script in your installation package that modifies the DB to your needs, and instruct the "client" to install a "default" root password until after the script has run, and then to change the "root" password again. A Java application should definately not be worried about this stuff.

  • ABAP Client Proxy without XI

    Hello
    I am stuggling with writing a client proxy in ABAP to call a Web Service without any use of XI.  The help says it is possible, as per the URL below.
    On the expanded tree structure on the left pane of the help, navigate to the heading "Programming with Client and Server Proxies" and then "Sending a message".
    I have been able to generate a proxy class by consuming a WSDL file and I have also defined a Logical Port.
    I have also copied the ABAP code shown on the same Help page, but have been stumped by the definition of ls_request and ls_response.  The next line of help goes on to explain that ls_request should be a structure for the Request Message.  In the scenario where XI is used, I can understand the concept of defining a structure that is the same as the Request message.
    In the scenario of only using ABAP and no XI, I don't understand what I should define the structures for ls_request and ls_response.
    Can anyone shed some light on my confusion?  Any suggestions gratefully received.
    Thanks in advance
    tony<a href="http://help.sap.com/saphelp_nw04/helpdata/en/d1/802cfc454211d189710000e8322d00/frameset.htm">SAP Help on ABAP Client Proxies</a>

    Welcome to SDN.
    check out this weblog.
    <a href="/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap">Consuming WebServices with ABAP</a>
    input and output structure are automatically generated when creating the client proxy.
    click on the structure tab (se80 client proxy definition) and expand the webservice method againt input in the type column you should see a structure name use this for ls_request
    ls_request         TYPE zxxx_soap_in,
    against exporting in types column you can see the type for ls_response.
    Hope this is clear.
    Regards
    Raja

  • Client Proxy - asynchronous

    HI Guys,
         While doing ABAP report as a client proxy.
    CALL METHOD PRXY->EXECUTE_ASYNCHRONOUS
    EXPORTING
    OUTPUT = FS_EMPLOYEE_MT.
    COMMIT WORK
    I am getting following error message. I have done XI data structures and activated in SPROXY in ECC.  Please reply back ...AM i need to activate any more things on this error.
    Error >>>>>>>>>>>>>>>
    Method u201CEXECUTED_ASYNCHRONOUSu201D is unknown or PROTECTED or PRIVATE.

    HI Guys,
         Now i am working on ECC6.0 & XI 7.0.   SP = 16 using
    so i have done like this ...
        create object prxy.
    try.
       CALL METHOD prxy->MI_WB_PRXY_SEND            ( instead of asynchronous???????????)
         exporting
            output = xi_data
       catch cx_ai_system_fault.
    endtry.
    Data is coming while debugging also.and executed. While checking in SXMB_MONI, no messages found in either ECC & XI . So May i know what could be the reason fore that.Thanks ....
    waiting for your reply.

  • Lync 2013 client - part of Office 2013 Pro Plus - unable to edit or remove picture, option is grayed out.

    Hi Team,
    Lync 2013 client - part of Office 2013 Pro Plus - unable to edit or remove picture, option is grayed out.
    Using Exchange 2010 Server and Lync 2010 Server at the back. To the best of my knowledge, this option is only available when using Exchange 2013 rather than Ex 2010.
    Can somebody confirm this as I am not 100% sure about it.
    Appreciate your help. Thanks
    Muhammad Nadeem Ahmed Sr System Support Engineer Premier Systems (Pvt) Ltd T. +9221-2429051 Ext-226 F. +9221-2428777 M. +92300-8262627 Web. www.premier.com.pk

    Hi,
    The photo precedence in Lync 2013 is high-resolution photo from Exchange 2013 -> Photo from web address -> Active Directory photo. The "Edit or Remove Picture" button is available if you integrate Lync Server 2013 with Exchange 2013.
    Since you are Lync server 2010 and Exchange 2010, you can choose the following two options:
    The thumbnailPhoto attribute on the user's object in Active Directory Domain Services
    A URL configured by the user
    More details:
    http://blogs.technet.com/b/nexthop/archive/2010/11/22/microsoft-lync-2010-photo-experience.aspx
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Error in CRM box after executing client proxy

    Hi ,
    I am executing client proxy program from CRM box.
    It is getting the following error in CRM sxmb_moni
    I checked the sm59 in CRM box. the  RFC connection ( type 3) is configured for XI box (XI1CLNT100_RFC).
    In SXMB_ADM of CRM box the correspoinding integration server is 'dest://XI1CLNT100_RFC'.
    I am not able to debug this.. any help please..
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">DESTINATION_NOT_FOUND</SAP:Code>
      <SAP:P1>XI1CLNT100_RFC</SAP:P1>
      <SAP:P2>CR1</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP destination XI1CLNT100_RFC missing (system , transaction SM59)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi Ashok,
    > I checked the sm59 in CRM box. the  RFC connection ( type 3) is configured for XI box (XI1CLNT100_RFC).
    > In SXMB_ADM of CRM box the correspoinding integration server is 'dest://XI1CLNT100_RFC'.
    XI adapter uses HTTP connection.So create RFC destination with Connection type H and following parameters
    1 Connection Type: H
    2 Target Host: System name
    3 Service Number: HTTP Port name
    4 Path Prefix: /sap/XI/engine/?type=entry
    On the Logon/Security tab page, enter the following logon data:
    1 User: XIAPPLUSER (for example); this user should represent the sending business system (see also the SAP XI Security Guide under Service Users for Message Exchange).
    2 Password: the password you have specified for this user
    3 Client: SAP XI Integration server
    4 Language: Language required
    and use this HTTP destination in TA - SXMB_ADM configuration.
    Cheers,
    Jag

  • Unable to invoke ADFBC based ws using client proxy

    Hie
    I created a custom am method and exposed it as a webservice and deployed it to my integrated wls.
    Then i generated the client proxy specifying the wsdl running at localhost.
    now when i am trying to call the service method from client proxy i get following exception. Not sure how to resolve..please advise..
    avax.xml.ws.WebServiceException: java.lang.IllegalArgumentException: prefix ns1 is not bound to a namespace
         at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:144)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
         at $Proxy43.storePost(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
         at $Proxy44.storePost(Unknown Source)
         at oracle.apps.crm.smm.view.service.proxy.SmmAMServiceSoapHttpPortClient.main(SmmAMServiceSoapHttpPortClient.java:42)
    Caused by: java.lang.IllegalArgumentException: prefix ns1 is not bound to a namespace
         at com.sun.xml.bind.DatatypeConverterImpl._parseQName(DatatypeConverterImpl.java:388)
         at com.sun.xml.bind.v2.runtime.unmarshaller.XsiTypeLoader.parseXsiType(XsiTypeLoader.java:92)
         at com.sun.xml.bind.v2.runtime.unmarshaller.XsiTypeLoader.startElement(XsiTypeLoader.java:70)
         at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:481)
         at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:459)
         at com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:71)
         at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:148)

    Hi Bora,
    I guess that you are having a username/password for directory manager on OUD proxy (let's say cn=proxymgr / proxypwd), and another username/password for directory manager your ODSEE servers (let's say cn=odseemgr / odseepwd).
    When you connect to OUD proxy using cn=proxymgr to perform a search on your backend, OUD proxy creates a connection to the ODSEE backend with the same credentials (because the proxy is configured in use-client-identity mode), i.e. cn=proxymgr / proxypwd. If this user does not exist on ODSEE (or has the same name with a different password), you get an error 49.
    To avoid this issue, OUD proxy offers configuration parameters in the proxy-workflow-element: the exclude-list and remote-ldap-server-bind-dn / remote-ldap-server-bind-password. You have to add cn=proxymgr to the exclude-list, and set remote-ldap-server-bind-dn to cn=odseemgr, remote-ldap-server-bind-password to odseepwd.
    This way, when connecting with cn=proxymgr, the proxy will know that he should not use the client credentials, but rather cn=odseemgr when discussing with ODSEE backend.
    This concept is explained in OUD admin guide, Configuring the Bind Mode.
    HTH,
    Flo.

  • Request Failed : Unable to execute service method 'getHistory'

    Content Server Request Failed
    csUnableToRetrieveHistory Unable to execute service method 'getHistory'. The error was caused by an internally generated issue. The error has been logged.

    As Fabian said, there should be more information in the Content Server logs.
    Jonathan
    http://jonathanhult.com

  • SharePoint Web Part: "Unable to Execute Service Method getLocaleStrings

    When using the UCM Web Part to promote content from SharePoint 2007 to UCM 11.1.1.3, I am getting an error: "Unable to Execute Service Method getLocaleStrings"
    Does this mean there is an incompatibility between the UCM web part and UCM 11.1.1.3, or is there a workaround?
    In my UCM logs, I am seeing:
    Unable to execute service method 'getLocaleStrings'. java.lang.NoSuchFieldError: m_locales. [ Details ]
    An error has occurred. The stack trace below shows more information.
    !csUserEventMessage,weblogic,10.2.20.96!$!csUnableToExecMethod,getLocaleStrings!syJavaExceptionWrapper,java.lang.NoSuchFieldError: m_locales
    intradoc.common.ServiceException: !csUnableToExecMethod,getLocaleStrings
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2071)
    at intradoc.server.Service.buildServiceException(Service.java:2207)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2201)
    at intradoc.server.Service.createServiceException(Service.java:2196)
    at intradoc.server.Service.doCodeEx(Service.java:583)
    at intradoc.server.Service.doCode(Service.java:504)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1622)
    at intradoc.server.Service.doAction(Service.java:476)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1439)
    at intradoc.server.Service.doActions(Service.java:471)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1371)
    at intradoc.server.Service.executeActions(Service.java:457)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:723)
    at intradoc.server.Service.doRequest(Service.java:1865)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NoSuchFieldError: m_locales
    at intradoc.custom.integrationsupport.services.LocaleStringsService.getLocaleStrings(LocaleStringsService.java:45)
    at sun.reflect.GeneratedMethodAccessor549.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    at intradoc.server.Service.doCodeEx(Service.java:549)
    ... 15 more

    did you solve the problem???

  • Unable to execute service method 'updateWorkflowAndDocState'

    Hi All,
    When i approve the content from workFlow, im getting the following erro. Anyone can help me
    Unable to execute service method 'updateWorkflowAndDocState'. (System Error: Runtime error: java.lang.NullPointerException
    at intradoc.server.workflow.WorkflowStates.updateStateForDocRevisions(WorkflowStates.java:997)
    at intradoc.server.workflow.WorkflowStates.advanceDocumentStateImplement(WorkflowStates.java:656)
    at intradoc.server.workflow.WorkflowStates.advanceDocumentState(WorkflowStates.java:518)
    at intradoc.server.DocStateTransition.advanceDocumentState(DocStateTransition.java:74)
    at intradoc.server.workflow.WorkflowHandler.updateWorkflowAndDocState(WorkflowHandler.java:513)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.workflow.WorkflowHandler.executeAction(WorkflowHandler.java:82)
    at intradoc.server.Service.doCodeEx(Service.java:490)
    at intradoc.server.Service.doCode(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
    at intradoc.server.Service.doAction(Service.java:452)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
    at intradoc.server.Service.doActions(Service.java:447)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1121)
    at intradoc.server.Service.executeActions(Service.java:433)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:635)
    at intradoc.server.Service.doRequest(Service.java:1707)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:359)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:197))

    Thanks for the reply.
    I have written a java componet to check in a file in to the content server. Im invoking this service from the work flow appoval step. Im getting the above error upon approval.
    I have given my full code here, any idea?
    public class SampleComponentSH extends ServiceHandler {
         @SuppressWarnings("deprecation")
         public void callSH(){
              String originaDocTitle = m_binder.getLocal("dDocTitle");
              SystemUtils.outln("dDocTitle ::" + originaDocTitle);
              String originalFileName = m_binder.getLocal("primaryFile");
              String originalFilePath = m_binder.getLocal("primaryFile:path");
              m_binder.putLocal("dSecurityGroup", "Public");
              m_binder.putLocal("primaryFile", "test1");
              m_binder.putLocal("primaryFile:path","D:\\checkIn\\test1");
              m_binder.putLocal("dDocTitle","test1");
              m_binder.putLocal("IdcService", "CHECKIN_NEW");
              try {
                   executeService(m_binder, "sysadmin", false);
                   m_binder.putLocal("primaryFile", originalFileName);
                   m_binder.putLocal("primaryFile:path",originalFilePath);
                   m_binder.putLocal("dDocTitle",originaDocTitle);
              } catch (DataException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (ServiceException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public void executeService(DataBinder binder, String userName,     boolean suppressServiceError)
         throws DataException, ServiceException{
         // obtain a connection to the database
         Workspace workspace = getSystemWorkspace();
         // check for an IdcService value
         String cmd = binder.getLocal("IdcService");
         if (cmd == null)
              throw new DataException("!csIdcServiceMissing");
         // obtain the service definition
         ServiceData serviceData = ServiceManager.getFullService(cmd);
         if (serviceData == null)
              throw new DataException(LocaleUtils.encodeMessage("!csNoServiceDefined", null, cmd));
         // create the service object for this service
         Service service = ServiceManager.createService(     serviceData.m_classID, workspace,null, binder, serviceData);
         // obtain the full user data for this user
         UserData fullUserData = getFullUserData(userName,service, workspace);
         service.setUserData(fullUserData);
         binder.m_environment.put("REMOTE_USER", userName);
         ServiceException error = null;
         try
              // init the service to not send HTML back
              service.setSendFlags(true, true);
              // create all the ServiceHandlers and implementors
              service.initDelegatedObjects();
              // do a security check
              service.globalSecurityCheck();
              // prepare for the service
              service.preActions();
              // execute the service
              service.doActions();
              // do any cleanup
              service.postActions();
              // store any new personalization data
              service.updateSubjectInformation(true);
              service.updateTopicInformation(binder);
         catch (ServiceException e)
              error = e;
         finally
              // Remove all the temp files.
              service.cleanUp(true);
              workspace.releaseConnection();
         // handle any error
         if (error != null){
              if (suppressServiceError){
                   error.printStackTrace();
                   if (binder.getLocal("StatusCode") == null){
                        binder.putLocal("StatusCode", String.valueOf(
                        error.m_errorCode));
                        binder.putLocal("StatusMessage",
                        error.getMessage());
              else{
                   throw new ServiceException(error.m_errorCode,
                   error.getMessage());
         public UserData getFullUserData(String userName,ExecutionContext cxt, Workspace ws)
         throws DataException, ServiceException {
              if (ws == null)
                   ws = getSystemWorkspace();
              UserData userData = UserStorage.
              retrieveUserDatabaseProfileDataFull(userName,ws, null, cxt, true, true);
              ws.releaseConnection();
              return userData;
         public Workspace getSystemWorkspace(){
              Workspace workspace = null;
              Provider wsProvider =
              Providers.getProvider("SystemDatabase");
              if (wsProvider != null)
                   workspace = (Workspace)wsProvider.getProvider();
              return workspace;
    }

Maybe you are looking for

  • Moving Avg Price - Delivery costs

    Hi,    Will the moving average price be influenced by the delivery costs incurred. It will be helpful if anyone could explain me with an example. Thanks Aparna

  • Value in MM01

    Hi, I heave request to put initial value 01 (division) first tab for field MARA-SPART in standard tr. MM01. main prog SAPLMGD1, screen 2001. what to do?

  • Organzing in I Photo 5

    I switched to Mac from PC about 18 mos ago and was turned ogg by I photo 4 because I had about 8000 digital photos organized into folders, subfolders, sub-subfolders etc. There was no way to keep that structure in I Photo 4. Now that version 5 is ava

  • Regarding OSB Installation

    Hi All, I created a weblogic domain and my admin and SOA server(SOA Suite 11gR1) are up and running there.Now,In the same domain, I want to install OSB11g also.Can somebody please suggest whether I can Installthe OSB now.?

  • Design a custom Storefront for iOS and Android

    Hi everybody, I'm currently designing a CS for iOS based on the barebone example by Derek Lu (http://www.adobe.com/devnet/digitalpublishingsuite/articles/getting-started-with-v2-librar y-and-store-api.html). So I tried the sample out on iOS and it wo