SAP ME SDK - WebServices Deployment to a Production Environment

Hello all,
I was wondering if anyone else out there was having the same problems that I was having while developing a Web Service through the SDK Eclipse environment?
I followed the tutorials within the "SDK Training.pdf";; that came with taking the SDK class and was able to create the Web Service (page 264) without any problems on my development server. Deployed through the Eclipse environment. However when performing an actual build to be deployed on a Production server the Web Services were not carried over cleanly.
I did manage to get it all working after a lot of trial and error as well as creating a new directory structure to place the wsdl files in, which ironically is the same directory structure on the development server (a good thing that I have a D: on both the dev and prod server). Not a very pretty situation. It should come all nice and neat for a production build similar to deploying the SAPME.sca file.
I was just wondering if anyone else in the community had the same problems that I did?
Also, was wondering if there was any future enhancements to the SDK to make this process more streamlined?
Thanks,
Mike

Hi Troy,
I have already done exactly as you suggested, which is also documented in the training information for a production build. I am able to get all of my custom code/activities/jsp pages working within ME without any issues. However, I was not able to get to my web services through the JSP pages that I wrote. Following the example in the Training Documentation given to us from the SAP Trainer.
To get this to work I had to take the <vendor>Web.sda.ear file and move that to my Production server to install and run. That is the part that I was dicussing it not being a clean install.
I will take another look at the SDK Implementation Guide, however the Training Doc has examples, which many people, including myself learn best from.
My question was really has anyone else in the community run into this same issue? As well as, are there any improvements?
You have answered the second question with regards to ME 6.1. I appreciate and thank you for that.
I am looking forward to the ME 6.1 ramp up and release.
Thanks,
Mike

Similar Messages

  • Create a new portlet  in Deployed Portal in production environment

    are there any ways to import or create a new portlet in Deployed Portal in production environment?
    Edited by: user8322798 on May 1, 2011 7:26 AM

    This can done via WSRP proxy portlets and streaming desktops. First, you'll need to have a WSRP producer setup somewhere. This could be another WLP webapp with portlets, or another server altogether. Or, you can use the JSR 286 WSRP import tool from within the Portal Administration Console (I think it's under Services | WSRP | Import Tool) -- this will allow you upload .war(s) of JSR 168 or 286 portlets, which will be turned into WSRP producer(s).
    Then, you can use the Portal Administration Console to register a WSRP Producer, and then add portlets from the producer to your desktop (http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14235/chap_fed_books_pages.htm#FPGWP690). Additionally, once the producer has been registered in Portal Adminstration Console, an adminstrator user can use the Dynamic Visitor Tools from within the streaming desktop itself to add wsrp proxy portlets to the desktop (http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14243/dvt.htm#PDGWP691).
    It is not possible to add new local .portlet files to a deployed application in production mode. This requires adding the file artifacts to the .ear/.war and redeploy the application.
    Greg

  • Error Deploying Mapping in Production Environment

    All,
    I have 3 locations: APPS (source,) STAGING (target,) and SALES_DM (target.)
    I am trying to deploy a mapping, via deployment manager, to my PRODUCTION runtime environment. The mapping is part of the STAGING schema, has two source tables from the STAGING schema, and after a simple join performs a lookup to APPS, STAGING, and SALES_DM tables, and eventually loads to another table in the STAGING schema after various transformations (it is a complicated mapping that deals with invoices and orders for a Sales DataMart.)
    I have deployed and executed this exact mapping in several test instances. I have also deployed and executed many other mappings in the STAGING schema in PRODUCTION. However, I am encountering an error when I try to deploy this specific mapping: “PL/SQL: ORA-00942: table or view does not exist.”
    This error occurs 4 times (there are 4 warnings with different line numbers.) When I go to the lines in the code (using the line number + line number where the ‘/’ in the main is found trick) the same STAGING table is in every line. Since this mapping executes as STAGING, it is a little weird that the error message is indicating a permission issue with one of its own tables. Is it possible that this specific table is not the real issue?
    Here is the main difference I can see between my PROD and TEST environments. In TEST, the APPS location is registered to APPS, where as in PROD it is registered to STAGING. However, in both instances I am positive that the appropriate grants on source APPS tables have been given to STAGING, and in PROD I have created synonyms for the source APPS tables in STAGING (i.e. for the Applications order headers table I have created the synonym oe_order_headers_all.)
    I have had to do a lot of troubleshooting with apparent permission issues before, but am completely baffled on this one.
    Any thoughts or ideas are much appreciated.
    Regards,
    Ryan

    Hello,
    Since you have one PRODUCTION runtime, the targets STAGING and SALES_DM runs in the same instance. If you register both locations properly in Deployment Manager, OWB will figure out that you deploy to the same instance and will use schema.table naming in your mapping PL/SQL package for efficiency, not any DB link.
    Because of this you/SALES_DM must (manually) GRANT SELECT on SALES_DM.lookup_table TO STAGING in the PRODUCTION instance (you must grant directly to the STAGING user, not to any role held by the user).
    I presume you have checked that your lookup tables have been deployed, as reminded by another forum participant earlier...
    Regards, Hans Henrik

  • How to manage a debug deployment in a production environment

    One of the advantages of the Base Deployment is that the test station is locked down, for example operators cannot open and edit LabVIEW VIs. AFAIK a debug test station is wide open like a development machine, except for TestStand User Manager restrictions.
    How can I have a test station that is locked down, and then open it up for debug as needed? Dual booting the computer seems like a solution. Or maybe just have an open debug station and trust the trained operators to not mess with it. Can anyone share their solutions? Thanks.
    cc

    Hi,
    You make a good point about TestStand editing. That really leaves only the issue of LabVIEW development environment allowing uncontrolled editing of VIs.
    Personally I'm good debugging with base deployment, however I have worked with many companies who want full debug capability.
    Here’s my refined questions,
    1. Can I create one deployment image that works both with TestStand Base Deployment license and Debug license? Do I have to add anything special other than the Sequence Editor to get TestStand to run as debug?
    2. If I install LabVIEW development environment onto the same machine as the deployment image in 1, will I be able to step into and edit LabVIEW VIs? (As long as I set the LabVIEW adapter to development.)
    Then the debug station would be locked down with TestStand User Manager and LabVIEW adapter set to runtime. And it would have the same TestStand and LabVIEW and support files as all the base deployment machines. Does that sound logical to you? Thanks
    cc

  • Best practice for a deplomyent (EAR containing WAR/EJB) in a productive environment

    Hi there,
    I'm looking for some hints regarding to the best practice deployment in a productive
    environment (currently we are not using a WLS-cluster);
    We are using ANT for buildung, packaging and (dynamic) deployment (via weblogic.Deployer)
    on the development environment and this works fine (in the meantime);
    For my point of view, I would like to prefere this kind of Deploment not only
    for the development, also for the productive system.
    But I found some hints in some books, and this guys prefere the static deployment
    for the p-system.
    My question now:
    Could anybody provide me with some links to some whitepapers regarding best practice
    for a deployment into a p-system ??
    What is your experiance with the new two-phase-deploment coming up with WLS 7.0
    Is it really a good idea to use the static deployment (what is the advantage of
    this kind of deployment ???
    THX in advanced
    -Martin

    Hi Siva,
    What best practise are you looking for ? If you can be specific on your question we could provide appropriate response.
    From my basis experience some of the best practices.
    1) Productive landscape should have high availability to business. For this you may setup DR or HA or both.
    2) It should have backup configured for which restore has been already tested
    3) It should have all the monitoring setup viz application, OS and DB
    4) Productive client should not be modifiable
    5) Users in Production landscape should have appropriate authorization based on SOD. There should not be any SOD conflicts
    6) Transport to Production should be highly controlled. Any transport to Production should be moved only with appropriate Change Board approvals.
    7) Relevant Database and OS security parameters should be tested before golive and enabled
    8) Pre-Golive , Post Golive should have been performed on Production system
    9) EWA should be configured atleast for Production system
    10) Production system availability using DR should have been tested
    Hope this helps.
    Regards,
    Deepak Kori

  • NullPointerException in JHSLov in Production Environment

    Hi,
    I am using Jdeveloper 11.1.1.2.0 and JHeadstart 11.1.1.2.29 and I am facing the following problem:
    A java.lang.NullPointerException is occured in a jhs lov only in the deployment in a production environment, despite the fact that locally the same lov works flawlessly.
    Specifically, I have an updatable VO (through an entity) that has reference in another entity. The VO has access in two attributes of the referential entity and the lov is based on one of them, while the other has its returned value.
    The lov is a single jhs lov based on a vo from a readonly query and is appeared in a table (being placed in a tab region). The specific lov is used and tested in the local wls without any malfunctions.
    The real problem starts when I deployed the application in another wls. Following the same case as locally, when I try to access this specific lov, I get the following exception on pressing the ok button in lov pop-up:
    oracle.jbo.JboException: java.lang.NullPointerException, message=null
    at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:405)
    at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:467)
    at oracle.adf.model.binding.DCControlBinding.reportException(DCControlBinding.java:202)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:739)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttribute(JUCtrlValueBinding.java:1314)
    at oracle.jheadstart.controller.jsf.bean.LovItemBean.getLovFieldValueInTable(LovItemBean.java:698)
    at sun.reflect.GeneratedMethodAccessor961.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    You should also take into consideration that almost the same jhs lov is used in another region in the jsf page without this problem, neither locally, nor on the deployment.
    Moreover, the version of the wls on which the application is deployed is *10.3.3.0* (different from the local wls of v.10.3.2.0)
    This matter is of high importance to me so I am really looking forward for a reply.
    Thank you in advance

    Zelda,
    To see what is going wrong, it is probably easiest to create a subclass of LovItemBean, override method getLovFieldValueInTable, and add some debugging statements.
    The method looks like this:
    public Object getLovFieldValueInTable()
    if (getLovFieldValueExpr() != null)
    return JsfUtils.getExpressionValue(getLovFieldValueExpr());
    JUCtrlValueBinding rowData =
    (JUCtrlValueBinding) getTableBean().getBindingCollectionModel().getRowData();
    String attribute = getLovFieldBinding().getAttributeDef().getName();
    Object value = rowData.getAttribute(attribute);
    return value;
    So, maybe the attribute variable is null, or has an invalid value.
    Steven Davelaar,
    Jheadstart team,

  • About SAP ME SDK Deploy ME

    Hi :
        I copy "MEClient_Base_5.2.5.19.13_netweaver-71_Update.zip" and "ME_Base_5.2.5.19.13_netweaver-71_Update.zip"  to
         "C:\SAP\SAPME\SDK\IDE\import" folder.
       I run the following step in Ant
        1. import
        2.run.production.build
        3.package.sca
       But I don't find the SAPME.sca in Project.
    help me ....please.
    thx.....

    I know the cause.
    thx....

  • Changing Database connection on webservice deployment

    Hi All,
    I am having a problem changing the Database connection when deploying a PL/SQL generated webservice.
    What I have done is to use the WebService wizard to create a webservice based on a database Pl/SQL procedure. During this you have to specify the database connection (which initially is our dev server).
    When I come to deploy the service to our production platform I want to change the database descriptor name to point to an existing App Server data source.
    This is the problem - the Database Connection information is protected in the properties of the webservice - which means I cannot deploy to our production platform with the connection names I need.
    I can change the names of the Connections defined in the Connections tab - but then I cannot access the webservice in JDev.
    Everytime I deploy to our production platform I keep getting the development data sources created.
    Basically I need to develop a PL/SQL webservice using a Development connection (with a unique connection name), and then deploy to a production application server (10g AS) with a different connection name that points at our production env.
    I could create generic names, but that then would make my development system very confusing with the potential of messing up the production platform.
    Anyone got any ideas????
    Thanks and Regards
    Neil

    When you deploy the web service to the app server, if the connection to the other database is available from JDev at deployment time, the data sources xml file should be set up correctly with the db connection info. Otherwise this will have to be modified by hand on the app server to contain the connection details for the other DB.
    There are 3 files that will also have to be hand modified to reflect the different db connection details. 2 deployment descriptors, web.xml and oracle-webservices.xml which have references to the connection's jndi name, and also one of the JPublisher generated classes (the one whose name ends in 'Base') also has references to the jndi name (to look up the connection from the data source file) which will have to be modified, recompiled and redeployed.
    The simplest way to change the connection would actually be to leave everything alone and just modify the data sources xml file on the server such that the same jndi lookup points to a new connection, but it looks like the customer wants to change the name as well.
    An alternative to all this hand editing is to regenerate the service against the producion DB connection, test & then deploy the service.
    dai
    JDev devt. team

  • Regarding SAP NW SDK,

    Hi Gurus,
    I have requirement like , Non SAP System ( VB.Net ) need to call the SAP sytem through a particular DLL and get the result from the SAP. I have Downloaded the SAP NW SDK 7.1
    1) Now should i unzip this SDK on the SAP side or the Non SAP side.
    2) Now where should I code the C++ Programs, should i use any external compilers.
    I am totally confused, please get me the right direction to achieve this requirement.
    Regards
    Vikranth

    Sounds to me like you are in a completely wrong forum. Note that the header of this forum says;
    This forum is dedicated to all other development-related questions which are not directly addressed by other forums. This includes Business Objects SDKs, products, or technologies which do not fall under BusinessObjects Enterprise, BusinessObjects Edge, Crystal Reports Server, or Crystal Reports (for example Desktop Intelligence SDK, Universe Designer SDK, Portal Integration Kits, Java User Function Libraries, and other third party technologies or development languages).
    I believe you will have to find the appropriate SAP product forum and ask there.
    Ludek

  • Update Business Partner via SAP Business One Webservices

    Dear all,
    We use the SAP Business One Webservices to add/update businesspartners and items.
    We can add/update items without any problem.
    We can also add businesspartners without any problem.
    But when we try to update a businesspartner.
    We always get the error message : "Entry already exists in following tables:"
    This is the code we use to update BusinessPartner:
    Dim bpsService As BP.BusinessPartnersService = New BP.BusinessPartnersService()
    Dim msgheader As BP.MsgHeader = New BP.MsgHeader()
    msgheader.SessionID = sSessionID
        msgheader.ServiceName = Global.BP.MsgHeaderServiceName.BusinessPartnersService
        msgheader.ServiceNameSpecified = True
        bpsService.MsgHeaderValue = msgheader
                ' fill business partner class
                Dim oBp As BP.BusinessPartner = Nothing
                Dim myBPParams As BP.BusinessPartnerParams = New BP.BusinessPartnerParams()
                myBPParams.CardCode = sCardCode
                ' Call GetByParams command
                oBp = bpsService.GetByParams(myBPParams)
    oBp.CardName = "Test update BP"
    Can someone tell me what is going wrong when I call this function :
      bpsService.Update(oBp)
    Kind regards
    Bart

    Hi Bart,
    I think the problem is because you are using the BPService twice without initializing it one more time in the middle.
    You call first GetByParams and then Update.
    The following code works for me:
            myBPService = New BusinessPartnersService()
            Dim myBP As BusinessPartner = New BusinessPartner()
            Dim myBPParams As BusinessPartnerParams = New BusinessPartnerParams()
            ' Create Header
            Dim msgHeader As MsgHeader = New MsgHeader()
            msgHeader.SessionID = B1WS_WindowsSample.GlbData.sessionID
            msgHeader.ServiceName = MsgHeaderServiceName.BusinessPartnersService
            msgHeader.ServiceNameSpecified = True
            myBPService.MsgHeaderValue = msgHeader
            myBPParams.CardCode = MainForm.CardCodeTextBox.Text
            myBP = myBPService.GetByParams(myBPParams)
            myBPService = New BusinessPartnersService()
            ' Create Header
            msgHeader = New MsgHeader()
            msgHeader.SessionID = B1WS_WindowsSample.GlbData.sessionID
            msgHeader.ServiceName = MsgHeaderServiceName.BusinessPartnersService
            msgHeader.ServiceNameSpecified = True
            myBPService.MsgHeaderValue = msgHeader
            System.Console.Out.WriteLine("Update a BP")
            myBP.CardName = "CardName MOD"
            '/ call Asyncronous Add
            myBPService.Update(myBP)
    Hope it works also for you
    Regards
    Trinidad.

  • How to create interactive map in SAP Visual Business using SAP UI5 SDK

    Hi,
    Please tell me,
    How to create interactive map in SAP Visual Business using SAP UI5 SDK.
    Is it possible to create interactive map using VB Control in SAP UI5 SDK..?
    if possible please any one let me know.

    Hi folks, one question:
    We have our development close moved and now it is earlier than originally planned. 
    That means that we maybe can't finish our convenient API and you have to wait till we will release it - early 2015 is planned.
    But there is another option:
    Currently we have a API based on json. The developer has to create json and  to transfer it to the Visual Business control.
    This interface is more used as a low level API and we are developing on top the more convenient one. So all the features are the same.
    It will stay stable & compatible in the future and you can build on it.
    Do you want to use this interface?  
    Then I will publish the documentation.
    Let me know.
    Thanks

  • Com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException

    I get the below error in Develope trace and see all the process are in status :"Inprogress" from many days and the task's related to them are inactive.How can i rectify?
    process()
    [EXCEPTION]
    com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Invalid char #0x0 (:main:, row:328, col:0)).
    at com.sap.engine.services.webservices.espbase.server.additions.StreamEngine.deserializeJEE(StreamEngine.java:386)

    Hi,
    You get this error when null value is passed when the webservice is triggerred. Check for null values and pass any default value when triggering the webservice. This will solve. At the end of the error trace the exact cause for the exception will be mentioned.
    Regards,
    Shilpa

  • SAP RFC SDK 7.10 Compilation Issues

    Hello ,
    We have a Pro*C program that is using the RFC SDK 7.10
    When we are compiling our program with Pro*C Compiler in HP UX 11iv2 os we are getting the following errors:
    SAP_U16_PROTOTYPE_STDC(mkstemp)..1 PCC-S-02201, Encountered the symbol "mkstemp" when expecting one of the following: Error at line 1895, column 1 in file /home/psoni/rfcsdk-710/orgseclib/sapuc.h  SAP_U16_PROTOTYPE_UO(dirname) 1 
    PCC-S-02201, Encountered the symbol "SAP_U16_PROTOTYPE_UO_HLP" when expecting on
    e of the following: ; , = ( [ * ? | & < > + - / % . ^ *= /= %= += -= <<= >>= &&=
       ||= ^= | & == != <= >= << >> ++ -- ->
    The symbol ";" was substituted for "SAP_U16_PROTOTYPE_UO_HLP" to continue.
    Syntax error at line 1901, column 1, file /home/psoni/rfcsdk-710/orgseclib/sapuc.h:
    Error at line 1901, column 1 in file /home/psoni/rfcsdk-710/orgseclib/sapuc.h
    SAP_U16_PROTOTYPE(ecvt) 1
    PCC-S-02201, Encountered the symbol "extern" when expecting one of the following
    :   ; , = ( [ * ? | & < > + - / % . ^ *= /= %= += -= <<= >>= &&=
       ||= ^= | & == != <= >= << >> ++ -- ->
    I had checked the files sapuc.h and sapucx.h are correctly included in my program.
    Also I checked for the errors : that the reference of some constants like 
    SAP_U16_PROTOTYPE is present is sapuc.h - However I am not able to
    identify the cause of compilation issues.
    Please can anyone guide me - or give any hints as to how this compilation issues can be resolved.
    On sap rfc sdk version 6.20 with HPUnix 11iV1  we did not face such problems. Post that release  we have tried all libraries including 6.40  and all of them are giving the above errors.
    Thanks for the help.
    Regards,
    Shivani

    This compiler error looks really strange.
    Without your sources (of the affected file) and the full command line it's impossible to suggest something.
    Markus

  • How do you test any SAP objects before a transport to the production server

    How do you test any SAP objects before a transport to the production server?

    Hi Rama Krishna,
       The actual process is develop the object in development system and unit test there with the available data.
      Then move it to Quality server where the data will be the actual replica of production and where the integration testing and ened to end testing happens and also the user acceptance testing  happens there.
    and once everything is found fine there then it is moved to production system.
    Award points if this is helpful.
    Regards,
    Ravi G

  • Webservice deployment in Oracle e-Business Suite

    Oracle e-Business Suite R12 contains Oracle AS 10.1.3.0.
    My question is: Is it possible to deploy webservices build in JDeveloper to this application server version?
    Iam not talking about BPEL, just a custom build webservice or a webservice generated by Jdeveloper based on an existing PL/SQL procedure.
    The Rapid Install of Oracle e-Business Suite (R12) creates an Oracle AS 10.1.3.0 without a metadata repository. Do you need this for webservice deployment?
    Regards,
    Gertjan.

    When the JRE was installed/configured on the workstations was the jar cache placed on a LAN drive instead of the local drive? We have experienced poor performance with both the JRE and Jinitiator when the Workstation Sysadmins configured the jar cache to be located on a LAN drive. Also is the size of the jar cache on the workstation sufficient to hold all of your required jar files. It could be downloading the jar files all the time.
    Overall our performance with the JRE is comparible to the Jinitiator.
    Sorry I have not experienced the problem that you are having with you pdf reports so I can't provide any comments on it.

Maybe you are looking for