ABAP webservices using 2 wsdl

Hi,
SAP is  initiating a SOAP request to  DataPower ESB which gets an asynchronous  SOAP response  and gives it back to SAP.
It is a pass through service  and there is no transformation done.
SAP is creating ABAP webservices. The webservices are created using the request wsdl currently. Can it be done using 2 wsdl as request wsdl and response wsdls are different. Combining them is another option but later on the provider changes the wsdl , the wsdl again needs to be combined . Instead of that can we maintain 2 different wsdl one for request and one for response and create ABAP webservices.
Kindly suggest.

Hi,
Since this is async communication you can make two services in ABAP using 2 different wsdl. These two wsdls are two different services (in your case).
Regards,
Gourav

Similar Messages

  • How to create a webservice using a WSDL document !!!

    I have tried to create webservice using WSDL but i dont need any document ... is there any document where i can see a thorough procedure to develope it

    Hi,
    go to tools in ID and click define webservices
    It will show a window where u have to give interface name and name space and u have to provide soap url their
    http://<port>/XISOAPAdapter/MessageServlet?channel=:service:channel
    then a webservice is created....
    thanq
    krishna
    Edited by: krishnachitanya siddavattam on Mar 6, 2008 10:51 AM

  • ABAP webservices using XIF adapter in SAP CRM?

    Hi,
    We are going to invoke SAP CRM objects web services via SOAP. Do I need a J2EE engine? Can't I do it with ABAP engine? Without J2EE engine is it difficult to figure out the details of WSDLs to use? If so how..
    Thanks,
    Vijay
    Edited by: Vijay Mudivedu on May 29, 2008 3:33 PM
    Edited by: Vijay Mudivedu on May 29, 2008 3:57 PM

    yes you need J2EE engine
    Regards,
    RDS

  • Consume ABAP Webservice using AJAX javascript

    Hi,
    We created webservice for  ABAP BAPI. And I want to consume this using AJAX javascript.
    But I am getting "Access Denied" javascript error.
    Please let me know how to pass the credentials while trying to consume this webservice
    I tried below code, but its NOT workng
    var URL ="http://hostname/sap/bc/srt/rfc/sap/servicename?sap-client=400&sap-user=testuser&sap-password=testpassword";
    xmlhttprequest.open("POST", URL, true);
    Please let me know your thoughts ...
    Thanks
    Edited by: sona p on Feb 27, 2010 12:18 AM

    Hi,
    Thanks for your response. I did the same as mentioned in the link provided by you. But it is not working . I am still getting "Access denied" javascript error in the second line ( xmlhttprequest.open) . Below is my code.
    var auth = make_base_auth('userid','password');
    xmlhttprequest.open("POST", URL, true);
    xmlhttprequest.setRequestHeader('Authorization', auth);
    xmlhttprequest.setRequestHeader ("Content-Type", "text/xml");
    xmlhttprequest.onreadystatechange = getDataList;
    xmlhttprequest.send(SOAPEnvelope);
    Please let me know your thoughts. Thanks again for your response.

  • How to call the webservice using ADF Bindings

    Hi,
    I have created a Data control of the webservice using the WSDL Url. (Web Service is secured and so i have given the security configurations)
    Webservice works fine when i drag and drop that in to a jspx page.
    Now i want to call the service from a java class so that i can modify the data a bit. ( Tried with Webservice client and proxy and it is not working)
    Please provide me with some link or solution as how to achieve this.
    Thanks,
    Hari

    You need to have the method binding in the page that calls the Web service - otherwise you can't use the binding layer.
    If you don't want to use the binding layer you can have your managed bean just call out to the Web service directly - you can use JDeveloper's Web service proxy creation wizard to get the code for this.
    If you want to call the Web service through binding outside of the page you can also drag the method into a taskflow as a method call.

  • ABAP Webservice J2EE engine

    Can I develop ABAP webservices using without J2EE engine?  What are the limitations if not ?

    Hey
    Check these for some help.
    Webservices
    These blogs could help you.
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services(Xi exposed webservices)
    /people/sriram.vasudevan3/blog/2005/03/18/points-to-ponder-over-while-considering-webservices-implementations-vis-a-vis-eai(web service implmntn)
    /people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies(commn between sap and web sevices using proxies)
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    Go thru this article "How to Set Up a Web-Service-Related Scenario with SAP XI"
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/how%20to%20set%20up%20a%20web-service-related%20scenario%20with%20sap%20xi.pdf
    Thanks,
    Vijaya.

  • Error in consuming webservices using ABAP

    Dear Gurus,
    I am trying to consume webservices using ABAP. We dont have XI installed and no java instance installed.
    I created a customer proxy through SE80 and generated a proxy class by giving a WSDL link and also defined logical port. Traditionally followed the steps. But while testing webservices , I get a ICF error.
    The error is as follows:
    SOAP : 1:023 SRT : Processing error in internet communication framework ("ICF error when recieving the response  ICM_HTTP_CONNECTION_FAILED)
    Please let me know the cause of this error and solution to be provided.
    I also tried to call the method from an abap program, But I get CX_AI_SYSTEM_FAULT exception.
    Awaiting your replies.
    Thanks in advance for your support and valuable time.
    Thanks
    Gurushanthi

    Hi Gurushanthi,
    It could one of several problems, examples:
    - A firewall setting
    - http communication out disabled by Basis team or
    - The logical port wasn't configured correctly.
    Try the suggestions in this thread to narrow down the reason (particularly the telnet test from the server):
    [Re: Error testing external web service ICM_HTTP_CONNECTION_FAILED;
    Regards, Trevor

  • Defect while invoking a Webservice using WSDL

    Hi all,
    I am trying to invoke a web service by creating a web service data source using the wsdl of the web service.
    I dragged the web service data control on to my jspx page as ADF Parameter form. The web service, once gets
    invoked should insert a row in the data base using the pay load that we send with the request.
    The application is running with out any errors but when I submit the data it is getting inserted 2 times into the database
    where the web service should insert only once. I tried sending the payload to the webservice manually then it inserted
    only once. I am unable to find the problem.. Kindly help me on this.
    Thanks & Regards,
    Phani.

    Hi Frank,
    I did that but still the problem persists. Actually what I did was like this.
    I have created a webservice proxy and a datasource using the wsdl of the proxy which has a metod "*CreateReference*" in it.
    inside this create reference there is a "*parameters*" folder in which I have all the payload parameters and
    a "*return*" method which has a table with statuscode and statusmessage attrubutes that gives the result
    which would be a "Success" or a "Fault".
    I have created a jspx page with three layout and on First layout I have dragged all the fields that are there
    in the parameters folder as ADF Inputtext with Lable and I have dragged the CreateReference method from the data source as a ADF Button.
    I have dragged the table that is there in the result on to the second half of the jspx page.
    when I run this and click on the button after entering the info into the lables it should create a row in the database.
    in my case it is creating row twice where it should create only once.
    In my page definition I have default(deferred) as the refresh for all the iterators.???
    Can you kindly help me on this...
    Thanks,
    Phani.
    Edited by: 887737 on Jan 2, 2012 2:00 AM

  • Problem using ABAP webservice in a J2EE application

    Hi All,
    I have created a WSDL for a ECC FM.
    Created a Deployable  WebService  Project using the WSDL. It gives a EAR and a JAR file.
    Deployed the EAR generated to the server.
    Then I have created a J2EE Web module
    Added the JAR from the Webservice Project
    and below code to call the web service
    Name of the webservice proxy is getperner
    //Call the webservice          
                InitialContext ctx = new InitialContext();
                ZgetpernerService fetch_perner =
                     (ZgetpernerService) ctx.lookup(
                          "java:comp/env/sap.com.getperner");
         Zgetperner port =
                     (Zgetperner) fetch_perner.getLogicalPort(
                          "ZgetPerner_Bind",
         Zgetperner.class);
                Usr01DohrGetemployeeResponse res = port.usr01DohrGetemployee(input);
         strPerner = res.getEmployeenumber();
    When I run the application it gives the below error:
    com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/env/sap.com.getperner.
    I have added the Web J2EE module into an EAR project.
    I have followed the approach given in below article:
    [Deployable Webservice Usage in NetWeaver|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0cf9e42-ccb0-2c10-d0a4-f5aa8a79e19a?QuickLink=index&overridelayout=true]
    Need help in resolving the issue.
    Regards,
    Sumit

    Hi,
    JNDI Name usually, 'vendornmae/earproject/ejbbean ',
    vendor name - if you create your project locally, it will be usually sap.com, if you are using NWDI, it will start with your company name.
    If you have the access for visual admin you can check the correct JNDI name and specify that JNDI name during the lookup
    Go to visual admin> cluster>services-->JNDI Service.
    For more reference you can check this links:
    New Samples and Tutorials for Web Dynpro Programming
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c
    Hope this helps you.
    Regards,
    Saleem Mohammad.
    Edited by: Jason Lax on Dec 28, 2011 2:38 PM (Fixed broken link)

  • How to use a WSDL file to call webservice? Help!

    Hi Experts,
         I have exposed a SAP function module as webservice using the
         Utilities -> More Utilities -> Create Web Service -> From Function module
         What does this step actually does? Does it create some kind of web application like BSP for the function module in the background?
         After creating the web service I have released the service definition for the SOAP runtime using the transaction WSCONFIG.
        Finally I have generated the WDSL file ofr the webservice using WSADMIN transaction.
        After this how will my third party application like Java will use the WSDL? Will I need any connector software to be installed in Java side.
        How exactly will java call my webservice using WSDL?
        What actually happens or what is the message flow when java application calls by webservice?
        Kindly help.
    Thanks
    Gopal

    Hi, Your solution should be correct and it's a quite common approach for Login authentication.Informatica's webservice provider also need 2 steps for calling its webservice1. Getting the session ID using username and password 2. Use the session ID to call any active operation 3. Use the session ID to log out if webservice do not have any time out settings for each session. SOAP standard is listed in the WSDL of saleforce webservice. It affects if you cannot find/call any operation in PowerCenter level. My lastest information is for PWC 9.1 version only, I don't know if they have enhanced this function in 9.5. If you can call the operation, you can just put it (SOAP standard) way first. Regards,Felix

  • How to use ABAP Webservice to Trigger the start of BPMN

    Hello,
    My scenario is that i define a webservice in the SAP ECC system and import it in the process composer as the service interface. As to the start event, i set the above service interface and operation as the trigger service.
    After then, i call this webservice in the user exit of a T-Code. However, the BPMN is not started by this webservice call.
    Anyone can explain on this and tell me how to use the ABAP webservice as the starting event service interface?
    Thanks in advance
    Erick

    Hi Erick,
    When you develop a process model and use some arbitrary service interface in the message start event then this will be exposed on the Java / BPM system you deploed the process definition on.
    That allows you to start the process via this web service once you know its endpoint.
    So in case you want to start your process from the ABAP side you would need to call this endpoint on the Java side out of your ABAP system.
    Simply calling the web service / code on your ABAP system and hoping that this will also invoke the Java stack won't work I AFAIK.
    Best regards,
    Martin

  • SAP BC 4.8 How to transfer an IDOC to a WebService using a specific WSDL fi

    Hi,
    I'm not very familiar with the XML, WSDL stuff, but I need to implement a connection between the SAP System and an other software which offers a webservice.
    I got the WSDL file and now I schould create the Business Connector setup. But I'm not able to get a flow running receiving the IDOC and sending it towards the other software.
    I tried to use the transport XML service but it doesn't work and SAP told me the recieving part needs to have an other XML dialect which is not offered directly by the SAP BC. I need to use the WSDL file, but how ?
    Could anybody give me some information, screenshots of how to setup such kind of connection ?
    Thanks in advance
    Patrick

    Hi ,
    Refer these links,
    http://w3.miraclesoft.com/msws/msoft/products/oracle/pdf/SAP-IDOC_Article.pdf
    http://www.sap.com/korea/partners/icc/scenarios/pdf/ICC_INTEGRATION_GUIDE_22.pdf
    http://www.soberit.hut.fi/T-86/T-86.161/2004/Final%20report%20SAP_RN%20.pdf
    regards,
    Suryanarayana.M

  • How MS SOAP 3.0 client invokes WL 7.0 Webservice WITHOUT using a WSDL file?

    Hi all,
    I am looking for a sample VBScript using MS SOAP 3.0 client invoking a WL 7.0 Server
    webservice. Could anyone please post a sample VBScript codes invoking a soap service
    on WL 7.0 WITHOUT using a WSDL file, for example at:
    http://localhost:7001/HelloWorld/Hello
    with the service method:
    public org.w3c.dom.Element say(String something);
    Thanks,
    Dovan

    Hi,
    As you might guess, we are not big VB users here :-) but we may have some C# code that
    could be of some value.
    What problem are you trying to solve by not using WSDL?
    Just curious,
    Bruce
    Dovan Nguyen wrote:
    Hi all,
    I am looking for a sample VBScript using MS SOAP 3.0 client invoking a WL 7.0 Server
    webservice. Could anyone please post a sample VBScript codes invoking a soap service
    on WL 7.0 WITHOUT using a WSDL file, for example at:
    http://localhost:7001/HelloWorld/Hello
    with the service method:
    public org.w3c.dom.Element say(String something);
    Thanks,
    Dovan

  • Error creating Webservice Client in JAVA for ABAP Webservice(WSDL file)

    Hi all,
    I have created a webservice from a funtion module in the backend.
    Using soamanger I downloaded the wsdl file using "Open WSDL document for selected binding" link.
    I tested this web service in backend and it is working fine.
    Now I am trying to generate JAVA cilent for this webservice using Eclipse and Axis,but getting the following error
    IWAB0399E Error in generating Java from WSDL:  WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy):
    faultCode=INVALID_WSDL: Encountered unexpected element '{http://schemas.xmlsoap.org/ws/2004/09/policy}Policy'.:
        WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element
    '{http://schemas.xmlsoap.org/ws/2004/09/policy}Policy'.:
        at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
        at java.lang.Thread.run(Unknown Source)
    Please let me know,wat needs to be done for this error to get resolved
    Thanks
    Santhosh

    Hi,
    I am also getting the same error while generating the client class from IBM Rational Application Developer IDE.
    Here is the error I get.
    WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.:
         [java] at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
         [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
         [java] at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
         [java] at java.lang.Thread.run(Thread.java:571)
    Did you find out the cause of this issue?
    Thanks & Regards,
    Vijay

  • Passing table from ABAP to webservice using SOAP

    Hello:
    I am trying to pass table data from ABAP code to a webservice using SOAP.  I have seen many examples of passing single value parameters such as:
      DATA: osoap   TYPE REF TO CSoapDocument.
        GET REFERENCE OF p_refno INTO dref.
        CALL METHOD osoap->add_parameter
          EXPORTING
            direction  = CSoapConstants=>ic_param_in
            name       = 'ws_ref_no'
            value      = dref.
        CALL METHOD osoap->set_tag_name_format
          EXPORTING format = CSoapConstants=>ic_tagfmt_default.
    However I cannot find any code examples of passing table data to a webservice.  Can anyone provide a sample or documentation for how to pass table data to a webservice?
    Thanks,
    Craig

    Hi Craig
    i just posted this on SAPfans for you too!
    if you are not using PI, then follow this....
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/bb/ddb33d2ae46b3be10000000a114084/frameset.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/9b/dad1ae3908ee44a5caf57e10918be9/frameset.htm
    this is converting XSD to ABAP....
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/de/705c3c3806af06e10000000a11402f/frameset.htm
    i have only used PI to do this via ABAP Proxies....

Maybe you are looking for

  • How to create a report with data using the Crystal Reports for Java SDK

    Hi, How do I create a report with data that can be displayed via the Crystal Report for Java SDK and the Viewers API? I am writing my own report designer, and would like to use the Crystal Runtime Engine to display my report in DHTML, PDF, and Excel

  • Computer no longer connects to router automactically, please help!

    I have a linksys router wrt54gs version 6 and a dell laptop with a dell wireless card 130 WLAN Mini-PCI Card and windows xp.  I've had my router since about april and everything seemed to be working correctly until last week, my computer just stopped

  • Axis Legend Background Color Change?

    Is it possible to change the background color for the axis legend text? Numbers displays the chart (in this case a line chart) on the spreadsheet with the x and y legend values on a transparent background. The transparency makes the values very diffi

  • Mac External Hard Drive Question

    I have a MacBook with a 60 gb hard drive, as well as an external usb drive with 60 more gb of room. The drive inside the MacBook is filling up with all the pictures in iPhoto, and songs in iTunes. My question is: is there a way (i.e. maybe with softw

  • Additions in ODS

    Hi gurus, I want to add PO Line Item Attributes (they are order line number,order line unit price and invoice unit price) in already existing ODS. Tell me the Procedure & where we can add these & how to add these in existing ODS? with detailed steps?