Example: Complaint - Web Services - SAP Library

To add a comment, please log in or register on the top of this page and choose Reply. Please write your comment in English.
You can also go back to the SAP help page.

Hello Neal,
thanks a lot for your help.
The solution for us was to change the column names inside Sybase ESP Studio to the column names in StockTraderMappings.xml.
After compiling and running the project we could see the data and were also able to push it to SAP HANA.
This is the CCL Code that worked for us:
CREATE SCHEMA tradesSchema (
    transaction_buyerId INTEGER,
    transaction_sellerId INTEGER,
    transaction_supervisorIds INTEGER,
    transaction_tradeTime LONG,
    transaction_trades_amount INTEGER,
    transaction_trades_price FLOAT,
    transaction_trades_symbol STRING
CREATE INPUT STREAM tradesIn SCHEMA tradesSchema;
CREATE OUTPUT STREAM tradesOut SCHEMA tradesSchema
     AS  SELECT * FROM tradesIn;
* mapFilePath is currently ignored and must be set via the mappingFile configuration parameter
* in the given adapter configuration file (configFilePath).
ATTACH INPUT ADAPTER Web_Services_SOAP_Input_Adapter TYPE soapinput TO tradesIn PROPERTIES configFilePath =
'C:/Sybase/ESP-5_1/adapters/webservices/examples/input/adapter_config.xml' ,
mapFilePath = 'C:/Sybase/ESP-5_1/adapters/webservices/examples/input/stockTraderMappings.xml' ,
jdkHome = 'C:/Software/Java/jdk' ,
discoveryWsdl = 'http://localhost:8080/axis2/services/StockTraderService?wsdl' ,
discoveryWorkingDir = 'C:/tmp/adapter/soap' ,
discoveryServiceName = 'StockTraderService' ;
Regards, Andreas and Maik

Similar Messages

  • Web Services Client Library - Options

    From what I understand there are multiple options to invoke web services (using a client library). From a performance perspective, has anyone done any tests or have recommendations on which client library is better?
    For instance,
    - Web Services Client Library with Apache Axis 1.2.1
    - JAXRPC based Client Library bundled with BEA Weblogic Server (using 8.1SP3 here)
    - JAXRPC Client Library with Sun JWSDP (Java Web Services Developer Pack)
    - XMLBeans?
    - others...
    We are using Doc/Literal (un-wrapped style) Web Services.
    Thanks
    Hitesh

    If this is a DI Real Time Job, you need to Enable Session Security to call the Login/Logout Method. Session Security is enabled on the DI Web Admin Console.

  • Web Services SAP ana SAP Proccess Integrator (XI/PI)

    Hello,
    We are thinking to implement SAP Web Services in our SAP ERP (Version 6). Besides we have instaled SAP XI / PI. (SAP Netweaver 7).
    I would like to know something about how to comsume this SAP Web Sercices using our SAP XI / PI.
    Thank you.

    Hello Venu,
    Thank you for the information, but I think I'm a little lost yet.
    Is the first time that I do something with SAP Web Services and I have a lot of doubts...
    My case is this: (Is a simple example to begin to deal with it)
    I've created a Sevice Definition using a standar SAP function in SE37. The function is TAX_NUMBER_CHECK and in SE80 only appears the Servive Definition.
    In SOAMANAGER it has Services: 1 / Endpoints: 1, but if I try "Open Web Service navigator for selected binding" I have this error:
    Cannot download WSDL from http://ues90022.es.mapfre.net:1080/sap/bc/srt/wsdl/bndg_4A2404E4DF60453AE10000000AFFDD24/wsdl11/allinone/standard/document?sap-client=200: It is not allowed to access this service. If you believe you should be able to, please contact your system administrator.
    ¿How can I go on?
    Thanks in advance.

  • Web services SAP R/3 4.7?

    hello,
    Can I create web services with sap R/3 Enterprise 4.7 ?
    How can I do that? Do I need the java stack installed?
    Does enterprise services repository exist in 4.7?
    Thank you very much!

    Hi,
    I have never tried creating WS in 4.7.
    Please do goto SE37 and go to 'Utilities' -> More Utilities and see if you can see the create web service option.
    ESR will not be available in 4.7 for sure because it was introduced just few years ago from Netweaver Versions.
    The Technology stack on which 4.7 was built is generally refered as 'Basis' and where as SAP moved to 'Netweaver Stack' from 640 Version - This also clarifies that you need not install the JAVA stack and it is irrelevant for 'Basis' technology stack
    Regards,
    Vasanth
    Edited by: Vasantha Kumar Balasubramani on Jun 9, 2009 9:54 PM

  • Errors when compiling the web service (SAP Web Service Design Tool)

    After downloading and installing the SAP de Web Service Design Tool (for Crystal Reports Server) I created a connection, a simple query and was able to deploy a web services. I tested the web service with an Xcelsius dashboard within InfoView. Thereafter I created a second connection (other name but same ODBC connection / server) and created another simple query with two date(range) parameters and a group by year and month function in order to do a select count(). It executes fine, but when I try to publish the web service I get an error.
    There are errors when compiling the web service.
    Is does not say whatu2019s wrong or how I can solve this problem.
    Who can help me?
    Some notes:
    1) Within expert mode I used a MONTH() SQL function which does not show in the normal mode.
    2) It seams that the u2018administrationu2019 of Web Service Design Tool got u2018corruptedu2019 after only creating the two connections, queries and services mentioned above. I believe so because I could select one of two queries when I created the second service, but within the current connection I had only one query.
    Thanks for any help,
    Ron
    ADDITIONAL INFO: The parameters seam to be the problem. After removing the parameters I can publish the service. But without parameters it is NO SOLOTION.
    Edited by: RonKoudijs on Aug 26, 2010 6:28 PM

    Hello Taylan,
    I think the error that you received was due to packaging issues.I placed the
    UtilClass.java file under a directory called data which was present under
    the project directory.
    When you want to access a java class, you can either place the compiled
    class file in the WEB-INF/classes folder or you can place the java file
    under the project directory.
    I have attached the sample project that I created with your files.
    Let me know if you have any other questions.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "taylan" <[email protected]> wrote in message
    news:3d6351b0$[email protected]..
    >
    I am trying to write a simpe web service in WebLogic Workshop, but havingan error
    which I could not understand. Could you please help me? Thanks in advance.
    Regards,
    Taylan
    My web service code is like belows:
    import weblogic.jws.control.JwsContext;
    import data.*;
    public class WebService1
    /** @jws:context */
    JwsContext context;
    * @jws:operation
    public UtilClass testType(UtilClass tTest){
    UtilClass returnObj=new UtilClass();
    if(tTest.getName()!= null){
    returnObj.setName(tTest.getName());
    return returnObj;
    and my UtilClass is placed in the data directory under the same directorywith
    my web service code. It is a simpe class as belows:
    package data;
    public class UtilClass
    private String name;
    public void setName(String name){
    this.name=name;
    public String getName(){
    return name;
    However I got an error when I try to compile the webservice class. Theerror is
    like belows:
    File Line Message
    WebService1.jws 0 Resource found on system classpath: data.UtilClass
    Build complete - 1 error(s), 0 warning(s)
    [ngroup.zip]

  • Script example trigger web service call and populate request from adobe

    Hello,
    I'm trying to make a adobe interactive form that needs to be populated by a web service. I have one field : In the dataconnection that is the input for the web service request and this is bound to the request. I have a button that is connected to my web service. After filling in a new value and pushing the button I want the web service request to be triggered.
    Thus anyone has a coding example or more information about using web services directly from within a Adobe Interactive form ?
    thnx, Jasper

    Hi Jasper,
    You may refer the Adobe ddevelopment center for the docs related to the execute property of the button to trigger a web service.
    <i>Alternatively, if you do not want to create a button to execute a call to a Web Service, you can do it via Script.
    Assuming your Data Connection is named ‘LeasePayment’
    For JavaScript:
    xfa.connectionSet.LeasePayment.execute(0);
    For Form Calc:
    $connectionSet.LeasePayment.execute(0);
    execute(0) indicates no data merging
    execute(1) indicates all the data in the data DOM will be remerged.</i> - Adobe doc.
    hope this will help.
    Thanks andRegards,
    Anto.

  • Web services @ SAP MDM

    Hello Experts,
    What is the use of web services for SAP MDM??
    And how can we achive it!!!
    Can anyone take sometime in explaining it  in simple words..
    Thanks in advance.
    Kind Regards
    Eva

    Hi Eva,
    MDM Web services are open interfaces to the MDM Server and provide synchronous access to MDM for the consumer of the Web services. They are based on the Simple Object Access Protocol (SOAP) and Web Services Description Language (WSDL) standards.
    MDM Web services are used to customize and build functionality into an application and can be integrated into various business scenarios to provide the following capabilities:
    ●      Data  management u2013 create, read, update, and delete
    ●      Access to central key mapping u2013 create, read
    ●      Checkout management u2013 checkout, check in, join checkout, unjoin checkout
    ●      Consolidation of records using the matching functionality
    ●      Execution of assignments
    ●      Validation 
    ●      Workflow management u2013 launch, get job status
    ●      Syndication of records
    Refer attached Link for more informatin
    [http://help.sap.com/saphelp_nwmdm71/helpdata/en/49/06eac7dc78132ee10000000a421937/frameset.htm]
    Cheers,
    Rc

  • Struts example 10g web services

    Hi,
    I'm new to Struts so I followed exactly the example on OTN: http://otn.oracle.com/products/jdev/viewlets/905p_adf_webservices/adfwebservices_10g_viewlet_swf.html
    But, when I run the first page in JDEV 10g Preview, and I use the submit button, I get the following Error:
    * JBO-29000: Unexpected exception caught: java.lang.reflect.InvocationTargetException, msg=null
    * null
    Any idea?
    Thanks.

    Hi Eugene,
    The viewlet does not specifically show it - but you need to run the web service in embedded mode too. Also, be sure that when you generate the web service you set the port number to be 8988 (the embedded server port)
    Hope this helps
    rgds
    Susan
    JDeveloper PM Team

  • What web service client library to use?

    I am creating a standalone Java application (NOT a web server), which will be a client to a remote server via SOAP web services. I need this to run in Java 1.4, and I need to keep the app small (hopefully <1 megabyte). Axis is too big - it's around 5-8 megs with all the dependencies.
    Isn't there some simple way to do this with just the classes built into the JDK? If not, then 1) why not? and 2) what third party lib can I use without bloating the size of my application?

    You were right and I was wrong on the size of Axis - it is 2.2 megabytes for version 1.4. I should have checked more carefully before posting. OTOH, it's 15.5 MB for version 2.
    Neither one is suitable for my purposes, however. My code is around 200K and is downloaded in a browser: it seems really lame to increase that by an order of magnitude just so that I can access a web service.
    I'm working on BCScomputer's tip of using JWSDP; 100K for client jars would be OK with me.
    .Net, Cocoa, and AppleScript all have very easy-to-use built-in support for client access to SOAP Web Services. I'm somewhat surprised that it's this much work to create web service clients in Java; for all the hype surrounding Java and Web Services, this should be build into the JRE. It seems really silly to me that I'm downloading and expanding this 60 meg monster (JWSDP) to do the same thing as 3 lines of AppleScript.

  • Service - SAP Library

    To add a comment, please log in or register on the top of this page and choose Reply. Please write your comment in English.
    You can also go back to the SAP help page.

    Hi Amit
    I have some good links which you can refer.Will search for better doc and let u know.
    http://sap.ittoolbox.com/groups/strategy-planning/sap-projectmanagement/r3-47-vs-mysapsap-enterprise-883745#
    http://www.absoft.co.uk/absoft/web/site/AbsoftSAPServices/Upgrade.asp
    Also refer to this PDF topic
    Upgrade Dilemma ? SAP R/3 Enterprise
    or mySAP ERP?
    at this link...
    http://www.infosys.com/sap/Whitepaper_Upgrade_Dilemma_SAP_R3_Enterprise_or_mySAP_ERP.pdf
    Reward points if useful

  • User Creation in CRM Web Channel - User Management in CRM Web Channel - SAP Library

    To add a comment, please log in or register on the top of this page and choose Reply. Please write your comment in English.
    You can also go back to the SAP help page.

    Hi,
    Yes, It's Helpful for User Administration.
    Thanks
    Brahma.

  • Problem in running example in web service tutorial

    Hi,
    I have installed jwsdp 1.1. When I followed the procedures stated in the tutorial and compiled the example in the dir
    {jwsdp home}\docs\tutorial\examples\cb\jaxm\, errors occur.
    Here are the errors occurs in the launcher.server.log.
    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 org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
         at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
         at org.apache.commons.digester.Digester.endElement(Digester.java:830)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:552)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1071)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1533)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:346)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:529)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:585)
         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1142)
         at org.apache.commons.digester.Digester.parse(Digester.java:1302)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:335)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:804)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:452)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:882)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1198)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:739)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1190)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
         at org.apache.catalina.core.StandardService.start(StandardService.java:499)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2187)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:504)
         at org.apache.catalina.startup.Catalina.execute(Catalina.java:399)
         at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
         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 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
         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 org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    Caused by: java.lang.IllegalStateException: Context path /RegistryServer is already in use
         at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:523)
         ... 42 more
    [ERROR] Digester - -End event threw exception <java.lang.reflect.InvocationTargetException>
    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 org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
         at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
         at org.apache.commons.digester.Digester.endElement(Digester.java:830)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:552)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1071)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1533)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:346)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:529)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:585)
         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1142)
         at org.apache.commons.digester.Digester.parse(Digester.java:1302)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:335)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:804)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:452)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:882)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1198)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:739)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1190)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
         at org.apache.catalina.core.StandardService.start(StandardService.java:499)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2187)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:504)
         at org.apache.catalina.startup.Catalina.execute(Catalina.java:399)
         at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
         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 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
         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 org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    Caused by: java.lang.IllegalStateException: Context path /Xindice is already in use
         at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:523)
         ... 42 more
    [ERROR] Digester - -End event threw exception <java.lang.reflect.InvocationTargetException>
    Sorry for posting such a long error capturing above.
    But I really don't know which part goes wrong. I have already copied the endorse dir to my java sdk 1.4.1 home.
    Any ideas?
    A million thanks in advance ^^
    Sherina

    I have this problem too. Please let me know if you have resolved it.

  • Web services SAP - Oracle

    Hello Experts,
    We want to implement a webservice give by a SAP system and consume the webservice in the oracle backend.
    When we try to implement the webservice we have got a lot off validation errors.
    Does somebody know(have experience) how to implement a (SAP) webservice in a correct way and how we can avoid
    The validation errors?
    Regards,

    Hello Experts,
    We want to implement a webservice give by a SAP system and consume the webservice in the oracle backend.
    When we try to implement the webservice we have got a lot off validation errors.
    Does somebody know(have experience) how to implement a (SAP) webservice in a correct way and how we can avoid
    The validation errors?
    Regards,

  • Logistics Integration in the Scrapping Process - Generic Functions in Service - SAP Library

    To add a comment, please log in or register on the top of this page and choose Reply. Please write your comment in English.
    You can also go back to the SAP help page.

    Check if you have made following configuration:
    SPRO>CRM>Marketing>Marketing Planning and Campaign Management>System Landscape
    1.Define RFC Connection
    2.Define Target System
    3. Define ERP integration type
    4. Also check, BADi:ERP Integration for additional functionality

  • How to create WEB  SERVICE in SAP

    Hi guys ,
    i am new to WEB SERVICE IN ABAP.what's the purpose of web service ?
    can anyone give me step by step example to create web service in SAP?
    ur answers will be rewarded.
    Regards
    pabitra

    Check the below links.
    Web Services-Based Connectivity
    Providing and Consuming Web Services in ABAP
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9
    Web Services Development in ABAP
    Web Services-Based Connectivity?rid=/webcontent/uuid/83b7ec4d-0a01-0010-03a9-e5a3b42522b8 [original link is broken]
    Web Services (SAP Library - Web Services)
    http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm
    ABAP Proxy Runtime (SAP Library - Web Services)
    http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/content.htm
    Hope this helps.
    Thanks,
    Balaji

Maybe you are looking for