Questions on web services in the CRM system from abap

Hi, we are new to consuming web services within the abap engine and have a couple of questions
When we consume the webservice do we have access to the web.xml and ejb-jar.xml deployment descriptors is there a standard servicref element
Are these descriptors editable so we can add JAX/RPC client side messages to the service ref element
What are all the versions also as I can't seem to find any info also any documentation on the above if it exists would be greatly appreciated
Cheers,
Devlin

Hi Devlin,
When you can consume the services with CAF core or deployable proxies within Netweaver04s, you are able to see the web.xml and the ejb-jar.xml deployment descriptors.
For Comsuming services within ABAP,this doc shoukd serve the purpose,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6066fbe8-edc4-2910-9584-a9601649747d
This doc shows how to provide and conmsume services in ABAP,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9
Also I found an old doc which talks about consuming in Netwaever,probably throws somelight on deployable proxies.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0c4e8960-0501-0010-fc82-bb83af9155bf
Message was edited by:
        Karthik S J

Similar Messages

  • Issue in Web Service after the Windows migration from 2003 to 2008

    My application is a web service and it was working fine in windows server 2003 .after it was migrated to 2008 ,the web service is working fine and but when its consumed in another web application which is also migrated to windows server 2008 ,its saying
    "request channel  timed out while waiting for a reply for 00:30:29.9820000.Increase the time out value passed to the request or increase the SendTimeout value on the binding .the time alloted to this operation may have been a portion of
    a longer time out" error.The iis setting of my application in production has anonymous authentication enabled but the kerberos is not generating tokens and hence its also not working fine.When we disable the anonymous authentication the kerberos
    token is generated but the application is prompting for credentails.Please help me to resolve the issue

    Hi,
    Since this issue is more related to IIS, I suggest you refer to IIS forum below to get more efficient support:
    http://forums.iis.net/
    Best Regards,
    Amy

  • Failure upon calling web service on the ESB deployed from jDeveloper

    Hello!
    I've created a database adapter and a routing service that calls the database adapter. When registering the services on the ESB, I get error when I try to call it, as the Wsdl references a wsdl file on http://localhost:8888...... As I see it, it should refer to in on the same server as the esb (soa suite) runs? I think this might be a deployment issue in jDeveloper, maybe ant? Any clue on this?
    brgds, Paul Jørstad

    Thank you very much for you reply!
    But I do not get any further.. In the ESB control, the Soap Endpoint URI still says:
    SOAP Endpoint URI
    http://localhost:8888/event/xal/rs_product_p_get_complete_bom_flat
    And in my wsdl file:
    <soap:address location="http://oslsoad1/event/xal/rs_product_p_get_complete_bom_flat"/>
    I've tried to de-register, and register the service.

  • Web Services to communicate with ALSB from ABAP

    Hi Experts,
    I Have a requirement where i need to call ALSB(aqua logic service bus) from an ABAP RFC function module using web services. I have to send one XML file to this proxy service .I have same idea about web services.I have gone thru help.sap.com for this web services . But, I am not sure on how to include the logic for calling this web service in my function module. What are the inputs we should get from this proxy service to establish a web services connection? Can anyone help me out?
    Regards,
    Lakshman.

    To get the process started, go to SE80 TCODE
    From the Enterprise Services Tab, we are going to select Client Proxy and then hit new create button.
    select WSDL
    Generate the proxy class
    activate it and use it.
    PI stands for Process Integration which can be used as central repository/registry for all the enterprise services ,using PI u can provide or consume the services.

  • Transport Webi Reports and Web services as the backend of dashboards from BO Production to BO Development system

    Hello Experts,
    I am working on SAP BO 4.1. I have made several dashboards on top of web services ie;Web Service Method. I have 2 systems in BO ie; Development and Production Systems.The BW production system is connected to BO Development and Production both.
    The Webi reports are made on top of BI BEx Query. From the webi reports, BI Web Services are made on top of which the dashboards are made further.
    The Webi Reports, Web Services and the Dashboards everything is made directly in BO Production.
    My question is, Can I transport the Webi Reports and the Web Services from BO Production to BO Development?
    And If yes, will it have any other impact on webi reports, web services or dashboards?
    Thanks & Regards,
    Alfred Thomas

    Hi Gill,
    As per your reply,with the promotion managament i have make the web services again manually in Dev system...Right?
    Is there any way possible that i can transport the webservices and the webi reports usind Query AS A Web Service Designer. And if yes, through this QAAWS will the WSDL or the URL required for the web services in the connection button in dashboards will automatically updated or changed as per the Development System?
    But i am not able to enable the "Deploy to Other servers Option" in QAAWS.
    Can you please help?
    Regards,
    Alfred thomas

  • Calling ABAP Web Service on the system with two application servers

    Hello all,
    I try to figure out, how to setup a web service in the TC WSCONFIG in the multi application server environment.
    Basically the requirement is that when WSClient calls my WS, it should not care about accessibility of one or another application server. In other words the WS's URI should contain the IP/domain name of "SAP Web Dispatcher" or other component, which handles the loadbalancing.
    I think it could be done in ICM within WSCONFIG transaction, but I'm completely lost inside the setup. Also I was not able to find proper helpsap page with the description.
    Is there a WEBLOG or any other document how to setup this ?
    Thank you for your help in advance.
    Regards
    Tom

    Hello,
    You do not have anything to do in SAP transactions.
    The HTTP load balancing is the SAP Web dispatcher job.
    Just install and configure the web dispatcher. Follow HELP.SAP.COM, it is well explained.
    We use this config to load balance 200 000 web servce calls/day on 5 abap application servers.
    Regards,
    Olivier

  • Web Services of SAP CRM ABAP 7.0 not show up

    Hello Experts,
    We are testing SAP CRM 7.0.
    In T-cd:sproxy in CRM system, the Software Component Version SAP CRM ABAP 7.0 doesn't show up.
    We'd like to see the web service definitions for CRM Service Processing,
    but can't find them such as "ServiceOrderCRMCreateRequestConfirmation_In"(described in ES Workplace)
    to create Service Order in T-cd:sproxy nor T-cd:SE80 Repository Information System>Enterprise Services>Service Definitions.
    (We found the web service definitions of SAP CRM ABAP 5.1 there, but not SAP CRM ABAP 7.0)
    The support package versions are as follows:
    - SAP_ABA : SAPKA70106
    - SAP_BASIS :  SAPKB70106
    - PI_BASIS : SAPK-70106INPIBASIS
    - BBPCRM : SAPKU70006
    Could you please advise us what's required to find Web Services SAP CRM ABAP 7.0?
    Thank you in advance for your help.
    Best regards,
    F.T.

    Hi,
    You need to download SWCV "SAP CRM ABAP 7.0" in your CRM system from service market place. Also download PI content for SWCV: "SAP CRM ABAP 7.0" and import them in ESR.
    Regards,
    Gourav
    PS: Similar questions are answered several time on this forum, so please do search before posting.
    Edited by: Gourav Khare on Dec 13, 2010 11:56 AM

  • Error in Web service creation in CRM 7 Ehp1

    Hi,
    I am trying to define a web service  for the creation of letter templates in CRM 7 Ehp1 system
    using the WS_DESIGN_TOOL .But it is giving me error.
    The component GDCOIC ,Root object GDCOIRoot, does not have the key structure defined .
    So the system does not allows me selection of attribute Virtual Object for IC Web(GDCOIRoot).
    Can someone give me a head start as in what could be done ?
    Thanks ,
    Jaya

    issue resolved:)
    version issue..
    SAP NOTE (0001584041 Creating service object from GDCOIC component impossible) implemented.

  • Consuming ABAP Web Service in Non SAP system

    Hi
    I have created an ABAP web service form the RFC and configured it in the SOAMANAGER. I have tested it in Web Service Navigator using the URL and it is working fine.
    Now I am trying to access it from the Non SAP system using Java Code. I am able to access the WSDL using the URL from the step 1 but not able to receive any output when providing inputs.
    So I am not sure if I am missing any configuration on the Provider System (SAP) or on the Consumer system (Non SAP) to access the web service. As far I have not configured anything on the consumer system. Please let me know how to consume the web service in the Non SAP system.
    Thank you,
    Rohit

    not necessarily an answer to your question, but i find that when creating SAP web services, before we create the code for consuming them, I always test them with the SOAPUI package. with this test suite you can import the WSDL, and run individual tests, seeing the input, output, exceptions, etc. This is a good way to check the connection, the flow and the service logic, before writing any code. This will also let you know whether it is a WS issue, or an issue with your code.
    just a thought, from someone who has been there...
    http://www.soapui.org is where you can find the SOAPUI. It helped me out a lot.
    Dave

  • How to create Web Service as a source system in BI and configure a DS

    Hello,
    I was wondering if you can give me the links to information where it is explained how to create Web Service as a source system in BI 7 NW 2004s and also how to create a data source that would read data from that Web Service?
    Thanks,
    AG

    Hi AG.
    Please check the following documentation which talk about this questions.
    [Creating Web Service Source System|http://help.sap.com/saphelp_nw70/helpdata/EN/80/1a618ae07211d2acb80000e829fbfe/frameset.htm]
    [Creating DataSources for WebServices|http://help.sap.com/saphelp_nw70/helpdata/EN/43/ec90a315434c5de10000000a155369/frameset.htm]
    [Transfering Data Using WebServices|http://help.sap.com/saphelp_nw70/helpdata/EN/80/1a618ae07211d2acb80000e829fbfe/frameset.htm]
    I hope that I can be helpful.
    Thanks,
    Walter Oliveira.

  • Question concerning Web Service Deployment

    I have a question on web service deployment as it pertains to multi-client SAP systems.
    I created and deployed a web service in the client that is used for the development of client-independent objects. There are no issues when calling the web service following deployment.
    I am trying to use the same web service on the same SAP system, but on a different client. What is the proper way for accomplishing this? As of right now, the only way I've been able to do this is to open up the desired client and deploy the service again. I tried to take a transport and copy it to the other client using SCC1, but it failed since all the objects referred to client-independent objects.
    Below is the URL of the WSDL that was generated via SOAMANAGER.
    http://svr-sap05-dev.xxx.com:8010/sap/bc/srt/wsdl/bndg_DF2B9EDC2EA40CF1A9B7001CC4459012/wsdl11/allinone/ws_policy/document?sap-client=120
    Client 120 is the client used for development and is where the web service was created and deployed. I would like to use the same web service, but in a different client.
    I tried in changing the logon parameters of the web service using SICF, but the invocation failed. It only works if the client mentioned in the logon data matches the client specified in the URL.
    I am assuming that SAP builds the namespace of the web service using the client specified in the above URL. If this is the case, then I will have no choice but to deploy this service manually in the other client.
    Is something wrong being done or do I have to do the same deployment in the other client?
    Regards,
    Vince Castello

    In Netweaver 7.01 (with SOAMANAGER) you can no longer deploy webservices via STMS.
    You have to login in each client and create endpoints in each one.
    It's a pain, but SAP says it's too risky to implement the solution via STMS or something like that.
    There is a SAP note about this.

  • Problem deploying web service with the deploy tool (J2EE)

    Hello,
    I am trying to deploy a sample Web Service on the Sun Java System Application Server Platform Edition 8.1 2005Q1.
    I run into a deployment problem ("jaxrpc compilation exception") when I have one of the web methods declared (in the endpoint interface) to throw a service-specific exception. The problem disappears when I change the declaration to throw an Exception.
    Here is the exception class:
    public class StockNotFoundException extends Exception {
    private String message;
    public StockNotFoundException(String message) {
    super(message);
    this.message = message;
    public String getMessage() {
    return message;
    the endpoint interface:
    public interface StockServiceIF extends Remote {
    // the service methods
    public boolean sellStocks(String ticker, int quantity)
    throws RemoteException, StockNotFoundException;
    and here are the error messages I am seeing:
    in the deploy tool dialog:
    distribute: C:\Beginning J2EE 1.4\Ch13\StockServiceApp\StockServiceApp.ear
    deployment started : 0%
    Deploying application in domain failed; Fatal Error from EJB Compiler -- jaxrpc compilation exception
    ; requested operation cannot be completed
    !!! Operation Failed !!!
    !!! With The Following Failure Messages !!!
    Deploying application in domain failed; Fatal Error from EJB Compiler -- jaxrpc compilation exception
    ; requested operation cannot be completed
    Fatal Error from EJB Compiler -- jaxrpc compilation exception
    and in the server log:
    [#|2005-02-01T18:30:47.856-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|DPL5109: EJBC - START of EJBC for [StockServiceApp]|#]
    [#|2005-02-01T18:30:47.856-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|Processing beans ...|#]
    [#|2005-02-01T18:30:47.936-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.stream.out|_ThreadID=12;|
    error: incorrect fault part name for fault "StockNotFoundException" of operation "sellStocks": "StockNotFoundException"|#]
    [#|2005-02-01T18:30:47.966-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|Total Deployment Time: 1001 msec, Total EJB Compiler Module Time: 0 msec, Portion spent EJB Compiling: 0%|#]
    [#|2005-02-01T18:30:47.966-0600|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- jaxrpc compilation exception
         at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:206)
         at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:584)
         at com.sun.enterprise.deployment.Application.visit(Application.java:1333)
         at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:103)
         at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:785)
         at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:563)
         at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java:340)
         at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:209)
         at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:284)
         at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:176)
         at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:107)
         at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:146)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:188)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:520)
         at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143)
         at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:171)
    |#]
    I would appreciate any pointers to resolving this issue.
    Thanks,
    Satyen

    Can you post the WSDL that was generated by the tool
    for this interface ?I generate the WSDL using "wscompile -define -nd . -classpath ..\build\classes -f:wsi service-config.xml", and here it is:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="StockService" targetNamespace="urn:stockService" xmlns:tns="urn:stockService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <schema targetNamespace="urn:stockService" xmlns:tns="urn:stockService" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://www.w3.org/2001/XMLSchema">
    <complexType name="StockNotFoundException">
    <sequence>
    <element name="message" type="string" nillable="true"/></sequence></complexType>
    <element name="StockNotFoundException" type="tns:StockNotFoundException"/></schema></types>
    <message name="StockServiceIF_sellStocks">
    <part name="String_1" type="xsd:string"/>
    <part name="int_2" type="xsd:int"/></message>
    <message name="StockServiceIF_sellStocksResponse">
    <part name="result" type="xsd:boolean"/></message>
    <message name="StockNotFoundException">
    <part name="StockNotFoundException" element="tns:StockNotFoundException"/></message>
    <portType name="StockServiceIF">
    <operation name="sellStocks" parameterOrder="String_1 int_2">
    <input message="tns:StockServiceIF_sellStocks"/>
    <output message="tns:StockServiceIF_sellStocksResponse"/>
    <fault name="StockNotFoundException" message="tns:StockNotFoundException"/></operation></portType>
    <binding name="StockServiceIFBinding" type="tns:StockServiceIF">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="sellStocks">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal" namespace="urn:stockService"/></input>
    <output>
    <soap:body use="literal" namespace="urn:stockService"/></output>
    <fault name="StockNotFoundException">
    <soap:fault name="StockNotFoundException" use="literal"/></fault></operation></binding>
    <service name="StockService">
    <port name="StockServiceIFPort" binding="tns:StockServiceIFBinding">
    <soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>
    ---------------------------------------------------------------------------------------------------------

  • Creating Web Services in the Portal

    Hi Experts,
    I'm trying to create a Web Service in the portal based on a URL. However I am having some issues with the User Management settings. I've explained below the steps I've followed in order to setup the Web Service and the issue I am having.
    I go to System Administration -> System Configuration -> System Landscape then I select my folder and right click. I then select New -> System (from template).
    I then select "Web Service System using WSDL URL" and insert the URL for my Web Service. The issue I am then having is that when I access the User Management page I can only choose "NONE" or "UIDPW" as the Logon Method. However, I need to choose SAPLOGONTICKET which should be one of the options but isn't.
    Does anyone know why this last option is not being displayed and how to fix this issue?
    Thank you,
    Kind Regards,
    Ale

    Hi Experts,
    I'm trying to create a Web Service in the portal based on a URL. However I am having some issues with the User Management settings. I've explained below the steps I've followed in order to setup the Web Service and the issue I am having.
    I go to System Administration -> System Configuration -> System Landscape then I select my folder and right click. I then select New -> System (from template).
    I then select "Web Service System using WSDL URL" and insert the URL for my Web Service. The issue I am then having is that when I access the User Management page I can only choose "NONE" or "UIDPW" as the Logon Method. However, I need to choose SAPLOGONTICKET which should be one of the options but isn't.
    Does anyone know why this last option is not being displayed and how to fix this issue?
    Thank you,
    Kind Regards,
    Ale

  • Deploy a web service with the deploy tool (J2EE)

    Hi!
    I want to deploy a web service with the Deploy Tool (J2EE 1.4).
    (For info, I'm working on Win 2000.)
    I have the following error when I'm trying to deploy:
    distribute: C:\monHello2\monApp.ear
    Deploy action running...
    Deployment failed on target localhost:4848_server : Fatal Error from EJB Compiler -- jaxrpc compilation exception
    !!! Operation Failed !!!
    Someone can help me, please? What's the problem?
    Other question: when I create the WAR file, I have to add : my interface class, my implementation class, my others java classes, my WSDL file and my mapping.xml file.
    Should I add the .jar that is used by one of my class???? I think yes, but...
    thank you and excuse me for my english... ;o)

    Only primitive types can be returned? Is thatcorrect????
    true - for more details check out section 3.4.1.3 of
    this book which is available for purchase or online
    http://java.sun.com/blueprints/guidelines/designing_w
    ebservices/I meant to say primitive type and "special POJOs" called "JAXRPC Value Types" - check out the reference I listed

  • Contact Web Service (Web Service Tool in CRM 2007)

    Dear Experts,
    Has anyone got the Contact Web Service to work using the Web Service tool in CRM 2007.  I attempted in creating a web service but I cannot get the attributes such as first name and last name to show up in the XML request. 
    I have created a service ticket with SAP but its been really slow.
    Thanks in advance.
    Nitin

    Yes,
    The steps you mentioned are correct
    1) Account Indentification
    2) Interaction Record created and displayed
    3) Select Service request from the Last 5 interactions from bottom on page
    4) Selected one of the Service request
    5) In Breadcrumbs dropdown I see
    1) Employee(Service) Request(XXXXXXX) --- the one I selected from Interaction history and being displayed
    2) Interaction Record (XXXX)*
    3) Interaction Record (XXXX)*
    4) Identify Employee
    I click on breadcrumbs to go back or I press END without pressing SAVE
    NEXT
    Open the Interaction Record by searching for the same from INBOX
    The NEW Employee Request (Service request) created is there
    If I use breadcrumbs to go back and repeat steps 1--3 (account Identification to select Service request), it does not create one, it is for only the first time the additional request is created.
    I hope I am clear....
    Regards
    Ravi
    Edited by: Ravi Kakkereni on May 30, 2008 10:19 AM

Maybe you are looking for