EJB and Web Services

Hi,
I have created a EJB project with Stateless Session Bean having just one method, Java persitence (connnection to MS SQL). I have added this project to the Enterprise project as well.From the context menu when I select to create Web Service. The method is not selectable.
What is going wrong?
Can somebody please help?
Best regards,
Dharmi

Hi Dharmi,
How did you do that? Create an EJB which connects to MS SQL?
Are there specific jars or something that have to be added to the EJB?
Did you also have to install a SQL server driver and such?
Can you provide a step-by-step for the creation of an EJB which gathers data from MS SQL?
Kind regards
Allan

Similar Messages

  • Error during EAR deployment with EJB and web service

    I created a simple stateless EJB with one method called echo that returns a string.  I created a web service using the wizard, did a build and deployed.  The deployment did not report an error, but the logs in the visual administrator showed the follwoing message, and the web service did NOT deploy.
    Am I missing something related to EJB and web service security?
    PLEASE HELP ME.
    >>> Warning: delete security configuration [apps/com.areva/ear/ejb/security/com.areva~ejb.jar]
    [EXCEPTION]
    java.lang.Exception
         at com.sap.engine.services.security.server.PolicyConfigurations.unregisterPolicyConfiguration(PolicyConfigurations.java:153)
         at com.sap.engine.services.ejb.EJBAdmin.remove(EJBAdmin.java:2538)
         at com.sap.engine.services.deploy.server.application.RemoveTransaction.removeApplication(RemoveTransaction.java:294)
         at com.sap.engine.services.deploy.server.application.RemoveTransaction.prepare(RemoveTransaction.java:178)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:299)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:321)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3028)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.remove(DeployServiceImpl.java:820)
         at com.sap.engine.services.deploy.server.DeployRuntimeControlImpl.remove(DeployRuntimeControlImpl.java:271)
         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.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
         at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
         at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
         at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
         at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400)
         at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
         at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:157)
         at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:220)
         at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:803)
         at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:291)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

    I have the same message. I am running sp11.
    Does anyone have an answer for this?????
    >>> Warning: delete security configuration [apps/avalero.com/rtfa-ear/contextRoot]
    [EXCEPTION]
    java.lang.Exception
         at com.sap.engine.services.security.server.PolicyConfigurations.unregisterPolicyConfiguration(PolicyConfigurations.java:153)
         at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.removeSecurityResources(WebContainerHelper.java:905)
         at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.remove(WebContainerHelper.java:447)
         at com.sap.engine.services.servlets_jsp.server.container.RemoveAction.remove(RemoveAction.java:50)
         at com.sap.engine.services.servlets_jsp.server.container.WebContainer.remove(WebContainer.java:150)
         at com.sap.engine.services.deploy.server.application.RemoveTransaction.removeApplication(RemoveTransaction.java:294)
         at com.sap.engine.services.deploy.server.application.RemoveTransaction.prepare(RemoveTransaction.java:178)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:299)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3033)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.remove(DeployServiceImpl.java:821)
         at com.sap.engine.services.deploy.server.DeployRuntimeControlImpl.remove(DeployRuntimeControlImpl.java:271)
         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.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
         at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
         at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
         at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
         at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400)
         at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
         at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:255)
         at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
         at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:157)
         at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:220)
         at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:803)
         at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

  • EJBs and web services  in Application server  ??

    Hi all,
    I just wanted to ask for a help in a scenario that i am facing:
    I have a Application that relies on EJBs for Business Logic
    I basically use the Jboss A/s[4.2.2 GA] server for the same and now there is a need to Expose these bean methods through a web service
    so that our web team can make use of the same Business logic.
    Currently i have implemented a End point interface that my Bean class implements so that i can expose
    my bean methods to the web team
    Req:
    I want to create a separate Enterprise Bean which resides in the same JVM as my Application bean , and acts as a wrapper for my application bean
    Also,
    Further elaboration of the problem is as follows:
    THE existing Application beans Remote interface has all the business methods that i want to expose.
    The new bean should act as a delegate which intercepts the web clients call extracts the request from the call
    and passes it to the application bean methods.
    So this basically requires that new bean should be able to communicate with my application bean +(Which is BTW a stateless session bean)+
    and pass on clients requests to the same.
    Kindly provide suggestion for the same or any ideas as soon as possible
    thanks again
    veneet
    Edited by: RainaV on 14 May, 2009 6:49 PM
    Edited by: RainaV on 14 May, 2009 6:57 PM

    Let me make it more clear for everyone
    Let [A] be my application bean which has all the business Logic.
    is a new wrapper bean that needs to communicate to bean [A] for accessing the Business Logic
    The requirement for creating Bean[B] is two folds
    1) it will provide a wrapper class for breaking down the web client requests,
    which are in  XML format;
    into simpler data structure which can be passed as parameters to bean [A}.
    2)This bean [B] will send the response back to the web client who is in need of the service
    Now as pointed out by one of the guys why not create a Local interface that is not possible at this point as Most of the session bean methods have been declared to throw
    Remote Exceptions and i am faced with the issue that this Design mistake is irreversible due to the Size of the Code and other factors
    Now i have been looking and some Alternatives for the same .
    The problem is i have not been able to find any way to do the same and need suggestions and ideas if anyone has some on this issue
    i hope this clears the matter
    thanks again
    veneet

  • Deployment Aborted (EJB and Web Services)

    Hello All.
    In SAP Netweaber Developer Studio I created a Project with an Entity EJB and another Sesion EJB.
    The Sesion Bean uses the Entity Bean (persistence). After this, it generate a Web Services.
    After building the project ejb and project EAP. Within the Project EAP I took file Persistent_EAP.ear and to make respective deploy on the Server, in the Deploy out View I get the message 'Deploy Aborted'.
    The log of the message say,
    ++Sep 30, 2011 5:43:05 PM  Info: - Starting deployment -++
    ++Sep 30, 2011 5:43:05 PM  Info: Error handling strategy: OnErrorStop++
    ++Sep 30, 2011 5:43:05 PM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop++
    Sep 30, 2011 5:43:05 PM  Info: Update strategy: UpdateAllVersions
    Sep 30, 2011 5:43:05 PM  Info: Starting deployment prerequisites:
    Sep 30, 2011 5:43:10 PM  Info: Loading selected archives...
    Sep 30, 2011 5:43:10 PM  Info: Loading archive 'C:\usr\sap\J2E\JC01\SDM\program\temp\temp38292Persistencia_Mod_EAP.ear'
    Sep 30, 2011 5:43:16 PM  Info: Selected archives successfully loaded.
    Sep 30, 2011 5:43:16 PM  Info: Actions per selected component:
    Sep 30, 2011 5:43:16 PM  Info: Update: Selected development component 'Persistencia_Mod_EAP'/'sap.com'/'localhost'/'2011.09.30.16.03.19'/'1' updates currently deployed development component 'Persistencia_Mod_EAP'/'sap.com'/'localhost'/'2011.09.30.16.03.19'/'0'.
    Sep 30, 2011 5:43:16 PM  Info: Ending deployment prerequisites. All items are correct.
    Sep 30, 2011 5:43:16 PM  Info: Saved current Engine state.
    Sep 30, 2011 5:43:16 PM  Info: Starting: Update: Selected development component 'Persistencia_Mod_EAP'/'sap.com'/'localhost'/'2011.09.30.16.03.19'/'1' updates currently deployed development component 'Persistencia_Mod_EAP'/'sap.com'/'localhost'/'2011.09.30.16.03.19'/'0'.
    Sep 30, 2011 5:43:16 PM  Info: SDA to be deployed: C:\usr\sap\J2E\JC01\SDM\root\origin\sap.com\Persistencia_Mod_EAP\localhost\1\2011.09.30.16.03.19\temp38292Persistencia_Mod_EAP.ear
    Sep 30, 2011 5:43:16 PM  Info: Software type of SDA: J2EE
    Sep 30, 2011 5:43:16 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Sep 30, 2011 5:46:13 PM  Info: Begin of log messages of the target system:
    11/09/30 17:43:16 -  ***********************************************************
    11/09/30 17:43:21 -  Start updating EAR file...
    11/09/30 17:43:21 -  start-up mode is lazy
    11/09/30 17:43:22 -  EAR file updated successfully for 922ms.
    11/09/30 17:43:22 -  Start updating...
    11/09/30 17:43:25 -  EAR file uploaded to server for 1594ms.
    11/09/30 17:46:13 -  ERROR: Not updated. Deploy Service returned ERROR:
                         java.rmi.RemoteException: Cannot deploy application sap.com/Persistencia_Mod_EAP..
                         Reason: Webservices common deployment exception! The reason is: Error occurred, trying to update web services for application sap.com/Persistencia_Mod_EAP. . Additional info: none; nested exception is:
                         +     java.lang.Exception: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, trying to update web services for application sap.com/Persistencia_Mod_EAP. . Additional info: none+
    I don't know what is wrong, when say: Error occurred, trying to update web services for application...
    Could someone please help me?
    Thanks in advanced,
    Esther

    Dear Esther,
    This exception usually happens when the application is not packaged properly.
    It seems that the J2EE engine web services deployment processor is looking for a descriptor which is absent in the jar file.
    This could happen for instance if you forget to save all the modified files before rebuilding.
    Unfortunately I cannot tell you which web service descriptor is missing, without looking at the packaged application.
    Try the following:
    1) Regenerate your virtual interfaces
    2) Save all modified files
    3) Rebuild the application
    4) Deploy the application again.
    Best Regards,
    Abhishek

  • Injecting both SessionContext & WebServiceContext in an EJB 3 Web Service

    Hi,
    Is it valid/legal to inject both of WebServiceContext and SessionContext in an EJB 3 Web Service, e.g.:
    @WebService
    @Stateless
    public class MyService
    @Resource private SessionContext sessionContext;
    @Resource private WebServiceContext webServiceContext;
    }Thanks in advance.

    Hello Bhupesh,
    A Classpath has to be defined for a server process to avoid the exception "NoClassDefFoundError"
    Refer to the below url for more clarity
    http://help.sap.com/saphelp_erp2005/helpdata/en/06/24d17099f2f245822fce0ba1ab4065/frameset.htm
    Thanks,
    Preethika

  • J2EE and Web Services

    Hi forummates,
    In the traditional architecture, the communication between EJB is RMI/IIOP. Web Services can be looked as a communication between classes on SOAP/HTTP.
    How should we use Web Services in J2EE in the maximum effeciency? Is there any good example of using Web Services in J2EE (1.4 is a must?) ? Please advise.
    Lawrence.

    Hi Lawrence,
    I would look at the J2EE blueprints on web services to get started. You may also want to take a look at the J2EE tutorial and web services tutorial. Links below:
    http://java.sun.com/blueprints/guidelines/designing_webservices/
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
    http://java.sun.com/webservices/docs/ea1/tutorial/

  • XML and Web Service Data Source Missing in Crystal Reports for VS

    I would like to use a Web Service as the data source for a Crystal Report that will be running outside of my Visual Studio application.  So setting the data source to the web service in code is not possible.  My understanding is Crystal Reports has a connection (in the Database Expert under New Connection) named XML and Web Service.  Here you can select web service and enter the WSDL URL for the web service.  However it does not appear in the list for Crystal Reports for Visual Studio.  Does this connection type come with the Visual Studio version of Crystal Reports and if not is their a way to obtain it? 
    Thank you for your assistance.

    None of the bundled versions of CR have the driver. Reason is that the driver responsible for these connections requires the Java framework and I suspect MS would not be too pleased if we installed the Java framework. The stand alone versions, since they are not part of any bundle can and do install the Java framework and the driver. Note that even the latest release of CR - CRVS2010 does not have the driver as it essentially becomes a bundle or a VS2010 plug-in.
    So, the short of it is; you have to obtain a stand-alone version of CR. I'd recommend CR 2008 (12.x) as CRXI R2 will run out of support in June of this year.
    - Ludek

  • Can't run wiki and web services at the same time?

    I'm a newbie with Lion Server, but I've been running several web sites successfully for about 6 months.  I'm up to Server 10.7.4.
    I've been trying ever since the first installation of Server to get the wiki service running.  I had absolutely no luck until I turned OFF the web service (always got the "URL does not exist" error when I tried to create a group wiki from inside the Server app).  With the web service off, it all starts up fine and I created my first wiki (woohoo).  Turning web service back on kills access to the wiki.  I don't find reference to this in any of the dicussions, and especially not in Apple's documentation.
    Are the Wiki and Web services mutually exclusive?  Or is there a way around this?
    I'm using Dyndns to provide me with sub-domains to use, and I've dedicated one of them to the wiki service.  Traffic comes in on port 8080, where my web sites are on port 80.
    Thanks for any pointers...
    edbok

    LR supports tethering using a Canon DLL and EOS Utility probably also supports tethering or at least uses something from a similar Canon DLL.  You probably cannot have two different versions of that DLL loaded at the same time, so it makes sense there are problems.

  • Message Monitoring and Web services Sequences  .. SOAMANAGER

    When can I use Mesage Monitoring and Sequence Monitoring .
    We are making a proof a concept and we are the following.
    1. A program which executes a proxy and with this proxy we are consuming a web services.
    2. The proxy and web services were implemented in the same Abap Machine .
    3. We execute the test and everything works very well and we consume the webservice and the program displays the expected result.
    Now want to know How can we use the Message Monitoring and the Sequence Monitoring . Is this posible ? Do we have to make any previous configuration?
    We don´t have any XI installation and for that we wonder if we can monitorize the  webservices  sequences ?
    Any idea about if we can realize such king of actions ..
    Many Thanks

    Hi
    I assumes u have dual stack.
    You can do the sequence monitoring with or without PI. But without PI you would achieve that thing on the local machine.
    You have to do those things at Java End using SAP NWA.
    Please see this link
    http://help.sap.com/saphelp_nwce10/helpdata/en/46/b00c2a99930764e10000000a1553f6/content.htm
    http://help.sap.com/saphelp_nwce10/helpdata/en/46/9cb2b57ded371ae10000000a11466f/content.htm

  • SSL certificates and Web Services Usage inside Oracle Database Questions!

    We have implemented a specific business logic using PL/SQL for our client, so we open a file and process each line of this, doing something in the Database and also call a Web Services (Service1) using UTL_HTTP package. Service1 runs in a Windows 2008 Server in the DMZ as Database server.
    Service1 is already working, and we can call the service from PL/SQL without troubles.
    However, according with security client's policies they requires all Web services be consumed via https including Service1, so we must to follow the procedure established for Oracle in order to enable the calling of service1 via https from the Database.
    Our client's DBA and IT Team are concerned about two subjects before to continue to follow the certificate installation:
         - SSL Certificates:
    1- Can installed certificates in the Database put in risk the stability of the database?
              2- Can installed certificates in the Database generate performance issues?
              3- Can installed certificates reloading the Databases?
              2- Can installed certificates in the Database generate security issues?
         - Web services:
    1- Can web services calling from the Database put in risk the stability of the database?
    2- Can web services calling from the Database generate performance issues?
    3- Can web services calling from the Database generate security issues in the DMZ?
    Could you please give us any clues, about the possible negative impact related with the SSL certificates and Web Services Usage inside Oracle Database, if it’s the case this impact exists?.
    Those are the links describing the procedure mentioned above.
    1 -http://www.kotti.es/2009/11/oracle-wallet/
    DB: Oracle 9i.
    Average number of lines in file: 300
    Periodicity: Twice at day.

    Thiago:
    You are correct in that there should be no problem interacting with a Web service that has an HTTPS endpoint as long as you create a wallet and specify it when you make your UTL_HTTP calls, like the PayPal example.
    I am not aware of a PL/SQL utility to create a XMLDsig Standard message, but if you find some Java source out there that does it, you may be able to follow a technique I used for a similar use case:
    http://jastraub.blogspot.com/2009/07/hmacsha256-in-plsql.html
    Regards,
    Jason

  • Custom Portal Services and Web services

    Can you please tell me what exactly are "custom portal services" and "web services" with a business like/ real life example?
    How do you go about developing deploying and utilizing these services in Portal?
    Thanks.

    Hi navin,
    Thanks for the par file.
    Duly awarded points.
    I need your help again.
    I wish to use the method
    public String getWelcomeString(String name)
    in my own portal application to test usage of portal services.
    So I uploaded your par file on my server.
    Then I added the api and core jar files which came along with your par in my project as external jar files.
    I imported com.wickes.WickesService.*;
    Next, to use the service I coded:
    IPortalRuntimeResources rs =
    PortalRuntime.getRuntimeResources();
         IWickesService ws = (IWickesService) rs.getService(IWickesService.KEY);
    But now I am stuck and I dont know how to proceed.
    Please help.

  • Enterprise services and Web services

    Hi Everyone
         I need documents about Invoking enterprise services from Netweaver PI and web services from Netweaver PI, I can find only NetWeaver CE, but not PI. So help, any links?? or pdfs?? or ideal would be some demo example of invoking a web service using PI.
    Thank you
        Vijay

    Hi,
    Since you would need to wet your hands by playing with webservice and PI. Please consider the following links.
    SOAP scenario
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    https://weblogs.sdn.sap.com/pub/wlg/1334 [original link is broken] [original link is broken] [original link is broken]
    https://weblogs.sdn.sap.com/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
    https://weblogs.sdn.sap.com/pub/wlg/1442 [original link is broken] [original link is broken] [original link is broken]
    Regards
    joel
    Edited by: joel trinidade on Mar 25, 2009 10:41 AM
    Edited by: joel trinidade on Mar 25, 2009 10:43 AM

  • GTC Connector using SPML Format Provider and Web Services Transport Provide

    Hello All,
    Did any body create a GTC connector which uses SPML Format for Format Provider and Web Services format for Transport Provider?
    Is there any doc which talks about the same?
    I need to provision to a system over web services and I thought GTC using the above formats should be an easy approach. Am I right?
    I was trying to follow:
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14309/devgtc.htm#BABDFDFE
    But Iam getting lost in the immerse details.
    Thanks in advance.

    Hi ,
    I tried creating one and am getting the following error while provisioning:
    SPML Response failed V2 schema validation
    Th eoracle document says :Ensure that the SPML response returned by the target system conforms to the SPML V2 standard specification
    Please help me with the same. What is it that needs to be done here.
    Thanks
    WIP

  • Messages Monitoring and Web Services Sequences .... SOAMANAGER

    When can I use Mesage Monitoring and Sequence Monitoring .
    We are making a proof a concept and we are the following.
    1. A program which executes a proxy and with this proxy we are consuming a web services.
    2. The proxy and web services were implemented in the same Abap Machine .
    3. We execute the test and everything works very well and we consume the webservice and the program displays the expected result.
    Now want to know How can we use the Message Monitoring and the Sequence Monitoring . Is this posible ? Do we have to make any previous configuration?
    We don´t have any XI installation and for that we wonder if we can monitorize the  webservices  sequences ?
    Any idea about if we can realize such king of actions ..
    Many Thanks

    hi,
    short answer: you can't. to my knowledge there is no such thing as message/sequence monitoring outside of PI/XI.
    the only thing you can do is to enable debugging and access some debugging info from ST22. other than that you do not have access to the original (XML) message, the HTTP headers or the ST(simple transformation) info or anything else.
    regards,
    anton

  • Struts and web services

    If you want to use Struts and web services, what approach do you take? If you want to use reliable messaging,
    you need to have a web service client as well as the web service being called.
    What is the recommended way to set this up?
    Do you call a local web service from the action class and then have that web service do all of the business logic including calling remote web services?
    I am just starting to look at this so I am probably not close but I would like some guidance on what, in general, is the correct approach.

    The jars you are referring to are not SAP BusinessObject specifics jars: struts and JiBX. There are open source java framework. For more information about the struts refer to:
    http://en.wikipedia.org/wiki/Apache_Struts
    for more information about jibx refer to:
    http://en.wikipedia.org/wiki/JiBX
    Normally the core jars for a SAP BusinessObjects webservice SDK are:
    The core jar files to use for Web Services Java SDK  applications are:
    dsws-bicatalog.jar
    dsws-biplatform.jar
    dsws-common.jar
    dsws-publish.jar
    dsws-queryservice.jar
    dsws-reportengine.jar
    dsws-saveservice.jar
    dsws-session.jar
    wilog.jar
    And the jars you have mentioned are part of the
    The dependent jar files to use for Web Services Java SDK  applications are:
    activation-1.1.jar
    axiom-api-1.2.5.jar
    axiom-impl-1.2.5.jar
    axis2-kernel-1.3.jar
    axis2-saaj-1.3.jar
    axis2-xmlbeans-1.3.jar
    backport-util-concurrent-2.2.jar
    commons-codec-1.3.jar
    commons-httpclient-3.0.1.jar
    commons-logging-1.1.jar
    log4j-1.2.14.jar
    mail.jar
    stax-api-1.0.1.jar
    struts.jar
    wsdl4j-1.6.2.jar
    wstx-asl-3.2.1.jar
    xbean-2.2.0.jar
    XmlSchema-1.3.2.jar
    In any cases it is recommended not to have duplicated jars in your deployment and also check if the version of the jars to use is supported by the version of the JDK used.
    Thanks

Maybe you are looking for

  • I have a MacBook Pro, 10.10.2 Yosemite. My external hard drive no longer appears on my screen or in Time Machine

    I have a MacBook Pro, 10.10.2 Yosemite. My external hard drive no longer appears on my screen or in Time Machine. I have gone into Disc Utility to repair disc, and get the message: Error: Partition map check failed because no slices were found. I was

  • How can I put Lightroom 4 video into a format for viewing on DVDs?

    I have made as slideshow in Lightroom 4. It translates well into MP4. This MP4 file runs on some computers and all BluRay players I've tested. I want this slideshow to play on all DVD playeres. How can I take the MP4 file... and make it into an AVI o

  • ABAP program to switch On/Off a cube from BIA

    We have some repost jobs on a transactional cube that fail because of BIA.(insufficient memory) these jobs run fine when BIA is turned off for this cube. And once they have finished successfully we turn BIA back on. But turning on/off is a manual pro

  • WM- Material staging between two warehouses

    Hi all. My question is: is it possible to make material staging when warehouse in production order is different from raw material warehouse and raw material warehouse is managed by WM in two steps? I mean, confirming when it has been picked from orig

  • OIM - starting two process tasks simultaneously

    Hello, I have a process definition with many process tasks. If a certain trigger/event happens (eg. Change Last Name) I want to run two particular process tasks. How do I achieve this? My guess was to use the option to generate new tasks based on the