Error in Java Client proxy

Hi All,
    My scenario is JavaClient Proxy -
XI----
>RFC.
Here i generated JavaProxies for my Message interface and i imported that zip file into NWDS for my EjbModule project.
and also i added Jar files in libraries by saying add External Jars.
Here r the Jars:
aii_proxy_xirt.jar
aii_msg_runtime.jar
aii_utilxi_misc.jar
guidgenerator.jar
even i am getting an error saying com.sap can not be resolved or not a type
Any inputs
Is there any other jars i need to add ??
How to resolve this error.
Thanks,
Kalyan.

Hi Kalyan,
I think you have not set the classpath corectly.
For this :
1. Get the file aii_map_api.jar from XI server (if you have not done this already).
2. Create a new folder in the Java project you have created for mapping program. Name it as "lib"(any name would do..I just try to follow widely used naming conventions).
3.Copy the jar file aii_map_api.jar to this folder.(You can copy it in explorer and go to NWDS, select the lib folder and do a Ctrl + V).
4. Right click on the java project, select properties. Select Java build path. Go to Libraries tab. Click on the button "Add jars". In the dialog that pops up select your java project> lib> aii_map_api.jar.
5. Click apply / OK.
Rewards,
Vinod.

Similar Messages

  • Error while deploying Java Client Proxy

    Hi Experts,
    I developed a java client proxy.Since i do not have access to visual administrator, i uploaded the ear file to a folder in the XI box and asked the basis folks to deploy it.
    On trying to deploy it on to the server they got the following error.
    Details:
    ========
    1) Error loading archive
        /usr/sap/XS1/put/R3Ear.ear
        (server side name is: /usr/sap/XS1/put/R3Ear.ear)
        com.sap.sdm.util.sduread.IllFormattedSduFileException: Error during attribute reading: received exception: invalid stored block lengths
    What could be the reason for the error?

    Hi
      recreate your ear file and try to redeploy it.
    it could be a zipping problem
    Regards
    Vishnu

  • SOAP --XI ---RFC or Java Client  Proxy

    Hello Gurus,
    Need your adivce for a scenario in XI
    Scenario ---  To implement XI with SAP SCEM(Supply Chain Event Management).
    Client is sending data from Web Portal (JSP Page) and wants to integrate with R/3.
    (Request from client and Response from R/3 shown again at browser )
    Web Portal (JSP Page) is on server A and XI on server B
    Queries ---
    1. Can I use Java Client Proxy Approach ---  proxy --- xi -- rfc approach 
    If  Web Portal (JSP page) is working in server A and XI in server B then can I call xi server from jsp page by passing xi server credential (username,password,bus service) and using sync Interface I can show result back to browser.
    2. For SOAP Approach  -- SOAP -- XI --- RFC approach 
    Suppose I need to send two parameters from my Web Portal (JSP page) to xi to R/3 and it will return some result.
    Concept of Webservice --- any application (like BAPI ) exposed.
    a. Pls tell me all the steps required for IR and ID
    b.How can I invoke that generated webservice from my jsp page --- so that my request parameters values go to xi from my jsp page and to R/3 and then result from R/3 to xi and to my jsp page.
    Regards

    I think second approach is more appropriate ie. SOAP>XI>RFC
    Some of the blogs you can refer:
    /people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    Sender SOAP adapter config: http://help.sap.com/saphelp_nw04s/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    Hope this helps,
    Rgds,
    Moorthy

  • How to use Http test Client  for Java Client Proxy Scenario

    Hi,
    I build a scenario using Java Client Proxy where JSP as my FrontHand.
    Can I know that whether i can use Http Test Client in place of JSP for sending data and getting response back. If yes than how can i implement this ?
    Regards,
    Abhi

    Hi,
    with Http Test Client you post your messages
    directly to the Integration Engine (not using adapter framework)
    so you can use Http Test Client to simulate any message
    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>

  • Why java Client  Proxy is used?

    Hi all!
    I am using sudhir porumamill's scenario available at the following links:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    and
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    I am not getting which proxy he is referring to? whether it is java client proxy/server proxy?
    What to be given in SLD for client proxy and server proxy as well?
    Thanks

    Hi,
    Only the database name can be specified in JDBC communication channel. The table should given in receiver data type in Integration Repository.
    Refer these link for sql-xml data types to be followed for JDBC scenario.
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    Regards,
    Uma

  • Namespace Error when generating Client Proxy for Java Web Service

    Hi.Experts:
        When I want to generating a Client Proxy for my WSDL file created by JAVA,it seems that some namespace errors occur.
        The error like this:
        "Incorrect value: Unknown Namespace http://sql.java
        Exception of class CX_SLIB "
       I checked all the SOAP runtime,it seems no error.So do I need to create the objects in the Integration Repository??If it is the truth,then how can I do it.
    Best Regards
    Martin Xie

    Hi Martin
    I didn't find this options in SAP GUI Create -->Enterprise Service ->Consumer Service ->url/http
    Maybe my version is different.
    You say that you can select the file ou url.
    Did you select the file or url?
    If was file, open this file, find the tag that you have the wrong namespace and eliminate this tag.
    If was url, access this url, copy the xml and same in one file, then select this file in the step above.
    I don't know if works, its only a suggestion.
    regards
    Marcos

  • Java Client Proxy Debugging

    Hello Folks,
                        I am trying to implement the java client proxies for one of my requirements...
    i have used the guides provided for the java client proxies in SDN and trying to implemented the same (Mine is asynchronous..)
    so far I have been able to deploy the EJB into the PI system and able to acces the JSP pages...when i submit the request using jsps..i am not able to see the entry in PI Moni.....and also unable to pinpoint the error ...
    i have used the user role which consists of J2ee login crendetials also...
    My requirement is JSP->Java->Ejbs->XI->DB...  like shown in java proxies guide by sudhir......
    I am not able to see any logs related to errors in defaulttrace and applications log files also...
    Could someone help me in this regard...
    Regards
    Rajesh

    Provide a JSP error page and write the exceptions of the java proxy call to that screen.

  • JAVA CLIENT PROXY

    Hi All,
    I am working on java client proxies.
    Can anybody give me step by step approach for creating application java class using proxy and bean classes generated from my outbound interfaces?
    I want to create EJB module project and EAR project,I have created it using NWDS04,but I am getting error as it is not finding com.sap.aii.proxy.xiruntime.core.AbstractProxy this class.
    Please help me to reolve this problem.

    Hi,
    The EJB code that you write for creating client proxies uses many of the inbuilt JAVA classes...so it is dependent on those classes...you need to define these dependencies using an xml file .......   'application-j2ee-engine.xml'.
    you can find more information on this at
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d

  • Jws source file not found (Java client proxy)

    Hi,
    I created a web service in Workshop, and generated a Java proxy from it using the test console. I then wrote a stand-alone Java client to invoke an operation on the web service based on the workshop examples. I'm able to first get the service proxy fine.
    MyService_Impl proxy = new MyService_Impl("http://localhost:7001/MyProcesses/MyService.jws?WSDL=");
    Then, the following line fails.
    MyServiceSoap soapProxy = proxy.getMyServiceSoap();
    Error is a SoapFaultException with message "Source file MyService.jws not found". I don't know where it's looking for the file to begin with. Is there a place where I can control that?
    When I look at the WSDL in the workshop test browser, the soap:address location URL is different from the actual URL in the test browser address bar.
    I'm new to this stuff. Any ideas will help.
    Thanks

    hello folks,
    I have Windows XP home Firefox v1.0.6.
    removed old java in Add/Remove programs.
    cleared the "Temporary Internet Files" folder that contained C:\Documents and Settings\Greg\Local Settings\Temporary Internet Files\Content.IE5.
    tried to load jre-1_5_0_04-windows-i586-p-iftw.exe for the third time, and the install still hangs up.
    J2SE Runtime Environment 5.0 Update Installer Information : Error 1311. Scource file not found: C:\Documents and Settings\Greg\Local Settings\Temporary Internet Files\Content.IE5\2XFKL4VY\je150000[1].cab. Verify that the file exists and that you can access it.
    and,
    Error 1311. Scource file not found: C:\Documents and Settings\Greg\Local Settings\Temporary Internet Files\Content.IE5\EEIDPHGA\jp150040[1].cab. Verify that the file exists and that you can access it.
    here's the thing, I cannot surf to "Content.IE5" folder in my "Local Settings\Temporary Internet Files" folder, but I can plug in the directory in the address bar of Windows Explorer & see the "Content.IE5" folder.
    I do not see "je150000[1].cab" or "je150000[1].cab" in there.
    Am I using the wrong program to fresh install Java for Firefox in XP?
    Is there something wrong with my operating system?
    monitoring this thread.....
    thanx.

  • Error at creating Client Proxy of external webservice (WSDL)

    Hi Experts,
    I try to create a Client Proxy Object out of an external webservice. Here is the WSDL URL:
    [http://www.webservicex.net/CurrencyConvertor.asmx?wsdl]
    I try to create it with this URL and then I get the error message
    Not implemented
    Exception of class CX_SIDL_INTERNAL_ERROR
    I found two other threads with a similar problem:
    cunsuming external webservice in ABAP
    Problem while consuming external webservice
    But there is no solution that worked for me. In the first thread it is mentioned, that the code between
    <wsdl:binding name="XXXXHttpGet" type="tns:XXXHttpGet">
    and it's closing brackets should be removed in a local file. I tried that and was able to create a client proxy object out of this local wsdl-file. But then I called the webservice with the folling coding for testing:
    report  z_currency_converter.
    data: convert type ref to zzzco_currency_convertor_soap.
    try.
        create object convert
      exporting
        logical_port_name  = 'Z_LP'
      catch cx_ai_system_fault .
    endtry.
       data: output type zzzconversion_rate_soap_out  .
       data: input type zzzconversion_rate_soap_in .
       input-from_currency = 'EUR'.
       input-to_currency = 'USD'.
    try.
    call method convert->conversion_rate
      exporting
        input  = input
      importing
        output = output
    catch cx_ai_system_fault .
    catch cx_ai_application_fault .
    endtry.
    write output-conversion_rate_result.
    The same code worked fine in another system. In this "older" system could also create a client proxy, I think because it has a newer Support Pack version.
    SAP says the following:
    The problem is that this WSDL uses two bindings different from SOAP
    binding which is not in conformance with Basic Profile 1.1 -
    http://www.ws-i.org/Profiles/BasicProfile-1.1.html#WSDLBINDINGS .
    I looked in the document, but I do not know where the problem in the WSDL file exactly is. What have I to change? Or can somebody give me the URL of a free webservice, that you used for creating a client proxy with a new support pack standing? In the "old" system there is not yet the SOAMANAGER but in the one where it doesn't work.
    I hope you have an idea.
    Thanks a lot in advance!
    Best Regards,
    Ingmar

    I think it is the problem of version.U need to ask SAP to release some patch levels to correct it.
    Regards
    Snehasish

  • Error while creating Client Proxy from SE80

    Hi all,
    I am trying to create Client Proxy with WSDL through SE80. There is no involvement of XI to create the Proxy.
    I am using the option 'Local file' and uploading the wsdl file.
    But I am getting the following errors.
    "Proxy-Generierung: Fehler aufgetreten"
    "Exception occurred in library handler"
    "Illegal syntax: Element header has invalid enhancement attribute
    http://schemas.xmlsoap.org/wsdl/:required"
    If any one could understand them and worked in a similar scenario, pls help me out.
    regards,
    teja.

    hi,
    you might want to post the WSDL in question for us to have a look at.
    but actually, the error message tells a lot:
    http://schemas.xmlsoap.org/wsdl/:required
    the second colon(, the one between wsdl/ and required, makes this expression an illegal one in any kind of a URI-like meaning (namespace, ref-URL, ...)
    anton

  • Error  while generating client proxy

    Hi All,
    I have got a WSDL file for which I am generating the client proxy. It is giving me a dump saying that, memory is not sufficient while generating the proxy.
    I have also contacted the basis team, even after increasing the memory... we are facing the same issue. Can anyone suggest any solution or SAP Note if there are any???
    Thanks in advance.
    Bhargava.

    Hi,
    Please find the dump details below:
    ST22 DUMP:
    Short text
        No storage space available for FORM stack.
    What happened?
        Each transaction requires some main memory space to process
        application data. If the operating system cannot provide any more
        space, the transaction is terminated.
    What can you do?
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
        Try to find out (e.g. by targetted data selection) whether the
        transaction will run with less main memory.
        If there is a temporary bottleneck, execute the transaction again.
        If the error persists, ask your system administrator to check the
        following profile parameters:
        o  ztta/roll_area            (1.000.000 - 15.000.000)
               Classic roll area per user and internal mode
               usual amount of roll area per user and internal mode
        o  ztta/roll_extension       (10.000.000 - 500.000.000)
               Amount of memory per user in extended memory (EM)
        o  abap/heap_area_total      (100.000.000 - 1.500.000.000)
               Amount of memory (malloc) for all users of an application
               server. If several background processes are running on
               one server, temporary bottlenecks may occur.
               Of course, the amount of memory (in bytes) must also be
               available on the machine (main memory or file system swap).
               Caution:
               The operating system must be set up so that there is also
               enough memory for each process. Usually, the maximum address
               space is too small.
               Ask your hardware manufacturer or your competence center
               about this.
               In this case, consult your hardware vendor
        abap/heap_area_dia:        (10.000.000 - 1.000.000.000)
               Restriction of memory allocated to the heap with malloc
               for each dialog process.
        Parameters for background processes:
        abap/heap_area_nondia:        (10.000.000 - 1.000.000.000)
               Restriction of memory allocated to the heap with malloc
               for each background process.
        Other memory-relevant parameters are:
        em/initial_size_MB:         (35-1200)
               Extended memory area from which all users of an
               application server can satisfy their memory requirement
    Error analysis
        You attempted to extend a stack, but the required storage spac
        not available.
        Storage request..............: 8450048 bytes.
    How to correct the error
        Please check whether uncontrolled recursive calls caused this
        runtime error.
        Try to decide by analysis whether this request is
        reasonable or whether there is a program error. You should pay
        particular attention to the internal table entries listed belo
    System environment
        SAP-Release 701
        Application server... "dcr"
        Network address...... "10.1.105.112"
        Operating system..... "AIX"
        Release.............. "6.1"
        Hardware type........ "00C834224C00"
        Character length.... 16 Bits
        Pointer length....... 64 Bits
        Work process number.. 4

  • Error when create client proxy in ABAP

    hi all
        when I tried to create a client proxy through wsdl: http://www.webservicex.net/geoipservice.asmx?wsdl , I got and error message "Exception occurred in library handler", what's the really matter with this error ?
    thanks very much!

    You need to copy the WSDL file to a local file and edit it.  The WSDL file contains non-SOAP bindings and that's what the generator is choking on.  Use the 'Local file' option to generate the proxy class after editing the file.

  • Error in Synchronous client proxy

    Hi Gurus,
    I have created a scenario in which I am using client proxy at source side (ECC ) and soap at target side.
    Its a synchronous scenario for which I have written an abap report.This interface sends a company name and uses a webservice to fetch the stock value of that company.
    I am a beginner in abap, so I am unable to to know the reason why is it showing the following error when I am executing the code.
    Method "EXECUTE_SYNCHRONOUS" is unknown or PROTECTED or PRIVATE.
    This error is coming at line :
    CALL METHOD Proxy->execute_synchronous
    Following is the code :
    REPORT  ZSYNC_PROXY_STOCKQUOTE NO STANDARD PAGE HEADING.
    DATA Proxy TYPE REF TO ZCO_SI_SOURCE.
    CREATE OBJECT Proxy.
    DATA: t_company_name TYPE zsource_request_mt,
           t_stock_value TYPE zsource_response_mt.
    SELECTION-SCREEN: BEGIN OF BLOCK B1.
    PARAMETER: p_id TYPE String.
    SELECTION-SCREEN: END OF BLOCK B1.
      START-of-selection.
      TRY.
        t_company_name-Source_Request_MT-Company_name = p_id.
        CALL METHOD Proxy->execute_synchronous
        Exporting
          output = t_company_name
       IMPORTING
         input = t_stock_value.
       WRITE: t_stock_value-Source_Response_MT-stock_value.
       CATCH cx_ai_system_fault.
         DATA fault TYPE REF TO cx_ai_system_fault.
         CREATE OBJECT FAULT.
        WRITE:/ fault->errortext.
        ENDTRY.
        END-OF-SELECTION.

    Hi,
    You have wrongly assigned the method. It should not be pointing to Execute method.
    it should be something like below
    TRY.
               CREATE OBJECT proxy.
               CATCH cx_ai_system_fault.
      ENDTRY.
    TRY.
        CALL METHOD Proxy->  " GIVE THE OUTBOUND SERVICE INTERFACE NAME HERE"
        Exporting
          output = t_company_name
       IMPORTING
         input = t_stock_value.

  • Error With ABAP Client proxy

    Hi All,
       I am trying to use ABAP Client Proxy(Sync). I am getting the error.
    1. Message from SXMB_ADMIN on Business system.
    <b>  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <SAP:ErrorHeader xmlns:SAP="http://sap.com/exchange/MessageFormat">
      <SAP:Context />
      <SAP:Code p1="400" p2="ICM_HTTP_CONNECTION_FAILED" p3="" p4="">HTTP.HTTP_CLIENT_RECEIVE_FAILED</SAP:Code>
      <SAP:Text language="EN">Error during http receive: Error code: 400 Error text: ICM_HTTP_CONNECTION_FAILED</SAP:Text>
      </SAP:ErrorHeader></b>
    2. No message On XI server.
    3.Went through the Ravikumar Allampallam's blog
    on ABAP ClientProxy .
    4. Went through the  vijaya kumari's " How do you activate ABAP Proxies?"
    5. created connections (sld)and one http connections in SM59. Tested the connections.
    6. Went throught the Forms.
    Any help would be appriaciated.
    Thank you
    Ganges Leaves.

    Vijaya Kumari,
       1. I have checked it. For XI server these are the values.
        Business System Role  : Integration Server.
        Pipe Line url : http://server:8000/sap/xi/engine?type=entry.
    8000 is the http port which i see in the SMICM+shift F1.
    Thank you
    Ganges Leaves

Maybe you are looking for

  • Help would be appreciated!

    Hello there. I've had lots of issues with iPod in the past...I got my first one last April for my birthday, and I dropped it within the first two months. I went to the Apple store and they replaced it, and all was fine and dandy. Then repeat this exp

  • Deinstallation of Oracle E-business suite with demo vision demo on linux

    Hi all, I installed oracle ebs 12.1.1 on my server with demo vision database. Now I want to deinstall the ebs i previously installed. What is the procedure for the deinstallation? Thanks in advance.. Regards, Mike

  • VF04 - billing due list sort issue on print output

    We are having sort problem when printing SD billing using VF04.  Each month our staff creates or enters billing invoices in the system.  On a specific period they will print these invoices to distribute to our customers.  The problem they have is whe

  • How do i get english version of orcal database ?

    My computer default language setting is chinese because lotz of my software needs. But I like my oracle to be english cuz im studyin in canada. Anyone know how to change the language setting of oracle without change my computer language setting ?

  • Adobe Premiere Pro CS5.5 crashes after using "File"-Menu

    Adobe Premiere Pro CS5.5 Hello, As of yesterday, can the "File" menu no longer operate. Other submenus can not be done. The program crashes after. I have been three times the program is uninstalled and reinstalled. No improvement. Yesterday I drove d