SAP Connectivity in Netweaver developer studio...

Hi everyone,
I am trying to use the feature of "SAP connectivity" in the NDS.
I created a proxy for a simple RFC.
What I am trying to do is to call the RFC from a Java code.
Here is what I wrote :
          try {
          Z_Rfc_Ws_Test2_Input input = new Z_Rfc_Ws_Test2_Input();
          input.setInput("Salut la compagnie");
          SAPProxy_PortType proxy = new SAPProxy_PortType();
          Z_Rfc_Ws_Test2_Output output = proxy.z_Rfc_Ws_Test2(input);
          } catch (Exception e) {
               e.printStackTrace();
I get an exception because I didn't specify the username and its credentials. Of course, I have to specify the server and the client number.
Here is the exception :
com.sap.aii.proxy.framework.core.BaseProxyException: JCoClient connection missing
     at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
     at com.proxy.SAPProxy_PortType.z_Rfc_Ws_Test2(SAPProxy_PortType.java:16)
     at Client.main(Client.java:45)
Can someone help with this issue ?
Thanks in advance.

Hi David,
         In your below code the JCO configurations is missing I mean ur JCO client. Try some thing like this which is self explanatory.
(ur package name here if u have any)
import com.sap.mw.jco.*;
public class Jco {
     public static void main(String[] args) {
          // Necessary fields for Connection
          JCO.Client myConnection = null;
          JCO.Repository myRepository = null;
          JCO.Function myFunction = null;
          JCO.Field myHostName = null;
          // Establishing a connection
          try{
               // Defining the connection parameters
               myConnection = JCO.createClient("Client","User","Password","Lang","ServerIP","Sys Number");
               myConnection.connect();
               // Creating a repository
               myRepository = new JCO.Repository(attribute,myConnection);
          }catch(Exception e){
               System.out.println(e.toString());
               System.exit(1);
                    // Finally closing the connection
          finally{
               myConnection.disconnect();

Similar Messages

  • Regarding Connecting with oracle with sap netweaver developer studio

    hi
    i want to use oracle instead of max-db so can u
    please tell me the procedure how to connect to sap netweaver developer studio and was server
    bye

    Oscar,
    for WebDynpro-Projects you can create an .ear-archive in the context menu of your porject ("Create archive") that you have to deploy with SDM. BUT: webdynpro requires WebApplication Server 6.40! You cant use a webdynpro-project in your current ep60sp2-installation.
    for portal applications you can export a .par-arcive in the context menu of your project ("Export...", choose "PAR file") that you can import in your portal.
    you can't test your application without deploying it to a server. if you haven't got a connection to the server during developing, you have to install a portal or at least a WAS6.20(Java) & EP60SP2 or WAS640(java) & EP60SP>2 locally on your computer.
    if you choose to do that, i recommend the WAS6.40(Preview) because you can then develop webdynpros, too.
    kr, achim

  • How to configure oracle to SAP NETWEAVER DEVELOPER STUDIO STEP RAGARDING

    hi
    can u help me on this
    i got problem
    regarding configuring oracle to sap NetWeaver developer studio what i have deployed any thing studio
    that would reflected to database
    bye

    Hi,
    Check this,
    WebDynpro and Oracle Connection
    WebDynpro and Oracle Connection
    Regards,
    Vijayakhanna Raman

  • Getting an error in Java Project in SAP NetWeaver Developer Studio

    Hi,
    I am getting this error in my Java Project developed in SAP NetWeaver Developer Studio.
    Exception occurred during launch Reason: Source locator does not exist org.eclipse.jdt.debug.ui.javaSourceLocator
    Is this problem of not defining some External .jar file or problem with Eclipse?
    I am developing Java Project which connects with SAP Master Data Management.
    I am referring to a PDF named "How To identify identical master data records using SAP MDM 5.5
    Java APIu2019s".
    Regards
    Kaushik Banerjee

    This may be because of the metadata(registry) cache when it was written out by a second instance of NWDS.
    So the plug-in appears in the file system but NWDS doesn't see it in the metadata
    Delete the .metadata file from your workspace and then start up NWDS. It might work.
    Regards,
    PG
    Edited by: PG on Dec 16, 2008 3:18 PM

  • Sap Netweaver Developer Studio Error.....

    Hi guys.
    I have a problem with Sap Netweaver Developer Studio i have installed JDK and NDS in my pc and i try to make the examples, i have finished to develop the applications(without problems) but i couldn't deploy them, i have a portal server installed and running, i tried to configure the server name in the J2EE Engine Configuration but it had no effect.
    I have the next error 
    Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !

    Oscar,
    for WebDynpro-Projects you can create an .ear-archive in the context menu of your porject ("Create archive") that you have to deploy with SDM. BUT: webdynpro requires WebApplication Server 6.40! You cant use a webdynpro-project in your current ep60sp2-installation.
    for portal applications you can export a .par-arcive in the context menu of your project ("Export...", choose "PAR file") that you can import in your portal.
    you can't test your application without deploying it to a server. if you haven't got a connection to the server during developing, you have to install a portal or at least a WAS6.20(Java) & EP60SP2 or WAS640(java) & EP60SP>2 locally on your computer.
    if you choose to do that, i recommend the WAS6.40(Preview) because you can then develop webdynpros, too.
    kr, achim

  • How to access SAP netweaver development Studio and PDK?

    Hi All,
      I have access to EP server on my machine with super admin role .Is there any way I can acess SAP netweaver Developer Studio and PDK through EP server or I have to install in my local machine?
    Thanks in advance,
    Jasmine.

    You'd want to install the NWDS application locally no matter what (unless everyone has a thin client/citrix connection via dumb terminal). You can however, opt to install a local instance of EP or use a central instance. Here's how I see the two approaches:
    1-install the NWDS on developers' machines and deploy to a development instance of EP
    <b>PROS:</b>
    i-developers can develop locally and only connect to the EP server for deploying/testing
    ii-share development (although not very efficiently) and test each others' iViews etc.
    iii-demo your work online to business users directly
    iv-connect to the corporate SAP R/3 and other ERP systems
    <b>CONS:</b>
    i-you can only use this while connected to the network
    ii-could be slow over a slow/remote network connection
    iii-developers may not be able to do everything on the portal server (may not have super admin access)
    2-install the NWDS on the developers' PC along with a test EP environment
    <b>PROS:</b>
    i-develop and deploy locally, without a network connection, anywhere and anytime, fast and efficient
    ii-enjoy full access (super admin) to the Portal - to be able to test pretty much everything
    <b>CONS:</b>
    i-may not be able to connect to the company SAP R/3 and other ERP systems, unless you're connected to the network and have configured the connections
    ii-not able to get others to test or demo your development without having to port them to a central EP instance
    I think a developer needs every resource they can get, therefore I suggest a combination of the above two scenarios, an instance of EP locally and a central instance of EP for the best of both worlds

  • SAP Netweaver Developer Studio Updatesite problem

    Hi,
    I have installed SAP Netweaver Developer Studio CE 7.1 SP09 in my desktop. I am trying to connect to local update site.
    I am getting the below mentioned error.
        Network connection problems encountered during search.
        Unable to access "http://<host_name>:<port>/updatesite".
        Error parsing site stream. [The XML stream is not a valid default "site.xml" file. The root tag is not site.]
        The XML stream is not a valid default "site.xml" file. The root tag is not site.
        Error parsing site stream. [The XML stream is not a valid default "site.xml" file. The root tag is not site.]
        The XML stream is not a valid default "site.xml" file. The root tag is not site.
    I have updated the com.sap.ide.update.autostart.prefs file with the local update site. Also I have provided the proper network connection details in windows -> Preferences -> Network Connections.
    Please let me know the solution for this.
    Regards,
    Kalainila B

    Hello Kalainila 
    Are you able to access;
    https://nwds.sap.com/swdc/downloads/updates/netweaver/nwds/ce/710
    what error are you recieving?
    Thanks
    Kenny

  • Queries redg. SAP Netweaver Developer Studio Architecture :)

    Hello All,
    I was going through the help pages on SAP Developer Studio and have following queries.
    Have mentioned the links onto which I have few queries to ask:-
    1> link: http://help.sap.com/saphelp_webas630/helpdata/en/cb/f4bc3d42f46c33e10000000a11405a/frameset.htm and found a sentence saying:
    "Offers a highly flexible development process, since the Developer Studio can also be used as a local development environment".
    <u>Question</u> - Am confused with the word "also". what do they actualy mean by saying.."it can also be used as local development environment". Does it mean that I can use it by installing on my PC directly rather than on server?
    2> This is related to SAP Developer Studio Archtecture.
    link: http://help.sap.com/saphelp_webas630/helpdata/en/cb/f4bc3d42f46c33e10000000a11405a/frameset.htm
    The Model Abstraction Layer is a generic layer that provides the foundation for both the graphic connection and for representing design time objects at a logical level. This layer is thus an abstraction of the physical files and folders of the objects involved.
    <u>Question</u> - What do they mean by graphics connection & design time objects? Any examples please..?
    Thanks and Warm Regards,
    Ritu
    <i>Note: Please excuse me if this is not the right forum for such queries.</i>

    Hi Ritu ,
    Netweaver Developer Studio can be used to deploy in local as well as remote servers.
    Regarding the architecture Netweaver Developer Studio is based on open source Eclipse platform which SAP has developed its own plugins for its use.
    Whatever components like views,viewsets etc can be represented by means of Navigation modeller ,Data modeller etc
    Whatever design time objects are there they can be represented in such a manner that it explains the logical flow.
    Also see the presentation
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fb3eae90-0201-0010-4ca0-f75628416ff0
    Hope this helps you
    Regards
    Rohit

  • From Where can i install ABAP plug-in in SAP Netweaver Developer Studio 7.3?

    Hello,
    I have Installed SAP NetWeaver Developer Studio 7.3 and I was trying to install ABAP plug-in but i couldn't found the link to install.
    Later i found SAP Development Tools for Eclipse this link but its not working. As i came to know it will work only for Luna (4.4) or Kepler (4.3).
    Would you please let me know how to install ABAP plug-in in SAP NetWeaver Developer Studio 7.3.
    Thanks and Regards,
    Shaik Shabeer Ahmed.

    Hello Ahmed,
    Use the links in that page:
    NWDS Download Links - Java Development - SCN Wiki
    And here also an installation guide:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80a100d2-109f-2e10-e996-c2b80803740b?overridelayout=t…
    Best regards,
    Serhat

  • How to download project template into the SAP NetWeaver Developer Studio

    Hi,
          I want to download project template into the SAP NetWeaver Developer Studio related to invoice detail get detail,get list etc.
    How to do so?Actualy my requirement is to create an iView whcih contain the detail about the invoice.
    Thank,
    Kundan

    Hi
    If you have zip file of the project then unzip it into your project  location where all projects are there .then in NWDS go to file->import->multiple existing project into workspace->browse the file where you have saved it and select the comp folder inside the project folder->click finish.Now you are able to see the webdynpro project in the webdynpro explorer.If its not appearing then go to Navigatore and right click on project and click on open project, it will open the project in webDynpro explorer.
    Thanks
    Susmita

  • Is SAP NetWeaver Developer Studio  Version: 7.0.12 Compatable with JDK 1.5

    Hi
    I want to user Java SDK version 1.5 instead of 1.4.
    Is SAP NetWeaver Developer Studio Version: 7.0.12 compatible with this or not.
    Please let me know

    Hi
    If you are using EP 7.0, then NWDS 7.0.YY version need to be used. //YY depends on your  patch of EP7 .As you have mentioned your are using NWDS 7.0.12, that means your portal SP level is SP12.
    In my prject i am using JDK 1.4 for NWDS 7.0.15 and its works fine.I have asked two of my colleagues , they told that in their project they are using JDK 1.5 for EP 7.0 server and application is working fine for them.
    So
    Thanks
    Susmita

  • Error while installing the EHP 1 for SAP NetWeaver Developer Studio (NWDS)

    Dear All,
    I am trying to install the EHP 1 for SAP NetWeaver Developer Studio (NWDS) 7.1  .It got installed once but when i was trying to deploy the application i was getting an error sayind that we need to have JDK1.5 Update 14 or higher for the installation.
    Now i have JDK 1.5.0_14 installed in my system.So i Uninstalled the EHP 1 for SAP NetWeaver Developer Studio (NWDS)  and i am trying to reinstall it but i am getting the following error
    ERROR:
    Unable to complete action for feature "SAP NetWeaver Developer Studio Facades" due to errors.
        Execution failed! Commmand: "msiexec.exe /norestart /qb /i librfc32.msi /lvx C:\DOCUME1\NS46249\Local Settings\Temp\com.sap.netweaver.developerstudio.facades_librfc32.msi_install_standard.log ALLUSERS=2 REBOOT=ReallySuppress". Exit value: "1639". Working directory: "D:\Program Files\SAP\IDE\CE7.1.1\eclipse\features\com.sap.netweaver.developerstudio.facades_7.1.0.081112155351". Log file: "C:\DOCUME1\NS46249\Local Settings\Temp\com.sap.netweaver.developerstudio.facades_librfc32.msi_install_standard.log".
    Can anybody please help me in resolving this issue.Please help needed as early as possible.
    Thanks in Advance:)
    Regards,
    Nishita Salver

    Dear Nishita,
    I hope you have removed the older version of jdk before installing the new version of jdk. Also after un installation of NWDS, did you delete all the temp files and also the directories created during the original installation of NWDS. Also did you restart your system after the uninstallation of NWDS EHP1 and older jdk before reinstallation of the two softwares?
    Regards,
    Veera
    P.S. The first thing you can try is restarting the PC and try resuming the installation, if it doesnt succeed, please remove all traces of NWDS and JDK, restart pc and then resinstall both of them.

  • Error during installation SAP SAP NetWeaver Developer Studio

    Hello,
    Can somebody help installing SAP SAP NetWeaver Developer Studio?
    I get the message:
    SAP NetWeaver Developer Studio 2.0.0. Setup Wizard not Completed
    The SAP NetWeaver Developer Studio 2.0.0 Setup has not successfully installed all selected components on your computer, either because a component could not be installed or the process has been aborted.
    Click Finish to exit the wizard.
    The following program files could not be installed:
         c:\documents and settings\all users\documenten\sap\workspace\.metadata\.plugins\org.eclipse.jdt.launching\vmconfiguration.xml
    The installed applications may not function correctly until all program files are successfully installed. For detailed error descriptions, please open file://D:\IDE\setup\saplogvw.exe .
    The following program files could not be installed:
         c:\documents and settings\all users\documenten\sap\workspace\.metadata\.plugins\org.eclipse.jdt.launching\vmconfiguration.xml
    The installed applications may not function correctly until all program files are successfully installed. For detailed error descriptions, please open file://D:\IDE\setup\saplogvw.exe .
    It looks like a Windows XP problem, because manually I can't copy or create a file in de directory:
    C:\Documents and Settings\All Users\Documenten
    So the following directory doesn't exits:
    c:\documents and settings\all users\documenten\sap\workspace\.metadata\.plugins\org.eclipse.jdt.launching\
    It's weird that I don't have access to the "Documenten" directory (this is the dutch Shared-documents-directory) , because I never changed it.
    When I right-click the directory "Documenten", and I go to Properties, then I don't see a tab setting access groups.
    How can I get access again to the "Documenten"-directory?
    Kind regards,
    Alwin.

    Sunil,
         There is a NW-DS version on the NW4 test drive DVD given out at TechED which I believe was also posted on the ftp.sap.com before TechEd '04 for CeBit 2004. I personally would like to put my vote out there for getting preview versions to the hands of admins to install and kick the tires before we try to convince management to buyin to purchase a product. Another way SAP reduces TCO?
    Bill

  • Error while starting SAP NetWeaver Developer Studio

    Hi,
    I have installed Java SDK (v1.4.2_09) and Netwearver development
    studio (2.0.13) on my laptop.When i try to lanch the development studio
    i get an error, (!MESSAGE Exception launching the Eclipse Platform:).
    Please see the error log for the details.
    Please help!
    Regards
    Fatima
    !SESSION Aug 15, 2005 14:44:56.32 -
    java.version=1.4.2_09
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86 -feature com.sap.java.ide -consolelog -debug C:\j2sdk1.4.2_09\bin\java.exe
    -Xmx512m
    -Xms128m
    -XX:PermSize=32m
    -XX:MaxPermSize=128m
    -DallUserDir='C:\Documents and Settings\All Users\Application Data'
    -cp C:\Program Files\SAP\JDT\eclipse\SapStartup.jar com.sap.ide.eclipse.startup.Main
    -os win32
    -ws win32
    -arch x86
    -feature com.sap.java.ide
    -showsplash C:\Program Files\SAP\JDT\eclipse\SapIde.exe -showsplash 600
    -consolelog
    -debug  -data C:\Documents and Settings\shahpurf\Documents\SAP\workspace -install file:C:/Program Files/SAP/JDT/eclipse/
    !ENTRY Startup 1 0 Aug 15, 2005 14:44:56.32
    !MESSAGE Sap NetWeaver Developer Studio - Build: 200507190119
    !SESSION -
    !ENTRY org.eclipse.core.launcher 4 0 Aug 15, 2005 14:44:56.262
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.reflect.InvocationTargetException
         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:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:286)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:795)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
    Caused by: java.lang.reflect.InvocationTargetException
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:861)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         ... 7 more
    Caused by: java.lang.NumberFormatException: For input string: ""
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:489)
         at java.lang.Integer.parseInt(Integer.java:518)
         at com.tssap.config.ProxySettings.parse(ProxySettings.java:184)
         at com.tssap.config.ProxySettings.loadFromPreferences(ProxySettings.java:114)
         at com.tssap.config.Startup.runBeforeWBStartup(Startup.java:39)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:65)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         ... 8 more

    Hi,
    I got this solution from SAP and it worked.
    This is a known problem that appers due to an implementation bug,
    while trying to read the proxy information. The studio expects non-
    empty value for key com.tssap.config/proxy, located in
    [YourDevStudioInstallationPath]\eclipse\plugins\com.sap.java.ide\pl
    ugin_customization.ini file. During the installation no value is
    assigned to this key (as you mentioned - no proxy in your case). The
    problem will be fixed for SP14, however there is a workaround:
    1. Change the value for key com.tssap.config/proxy in
    plugin_customization.ini to something like this - proxy:80.
    2. After this change the DevStudio should start and you'll be able to
    configure your proxy settings from Menu Window->Preferences-
    >Workbench->Proxy Settings. (In your case - disable the proxy
    server)

  • Please tell me the location for SAP NetWeaver Developer Studio

    Hi,
    Please tell me the error log for SAP NetWeaver Developer Studio, Version: 7.0.16.
    Regards
    Kaushik Banerjee

    Hi,
    follow this,
    go to your workspace you finds textdocument open it you finds logs.
    ....\SAP\workspace\.metadata\textdocument.
    Regards,
    ramesh

Maybe you are looking for

  • PC no longer recognizes either iPod or iPhone

    From my PC, an HP, it used to recognize my devices (iPod and iPhone) but no longer does.  I cannot find any useful online help.  Anyone got any advice?

  • What is the best workflow for Final Cut Pro X across multiple computers?

    I travel on a team that is in a different location every week, so all of our video editing has to be fairly moble. We have 3 macbook pros and would like to use final cut X on all of them. What would be the best workflow for us all to work on the same

  • Having trouble downloading sql developer EA

    Can anyone confirm if the sqldeveloper EA edition server is having problems? I am having trouble downloading throughout the day, via FireFox with the download gring to a halt at about 3 or 4 MB out of 159MB. My machine is Win XP SP3 and DSL download

  • SAP Netweaver 7.1 Product License

    Hi, I need complete license information for SAP Netweaver 7.1 product from where I can get it. Actually, I need to know if an organization purchase full licensed product of SAP Netweaver 7.1 then they can use the same to develop and distribute their

  • Apple Mail clients not retrieving emails properly over IMAP

    I posted this in Tiger Mail but no responses; hopefully someone here has some knowledge of this issue. I'm testing an email server on 10.5 with IMAP. Here's my setup all using the same user IMAP account. 1 Outlook 2007 1 Thunderbird (on Vista Busines