Web service version of a RFC

Got posted twice.Apologies for that.
Kindly post replies to
Web service version of a RFC
Message was edited by:
        Amol Joshi

1. only the code is changed, then you dont have to do anything. but if the signature is changed - import/export/tables , etc parameters, then you have to reactivate the webservice from SE80, it will detect that the RFC has changed and prompt you to activate it.
2. NO. the same RFC function gets exectued and HTTP (external ) breakpoints work. (may be wrong client, wrong user ?)
Regards
Raja

Similar Messages

  • Web Service Version

    Hi Guys,
       Can somebody give me a list of Web Service Versions supported by Xcelsius 2008.
    Thanks in advance!

    1. only the code is changed, then you dont have to do anything. but if the signature is changed - import/export/tables , etc parameters, then you have to reactivate the webservice from SE80, it will detect that the RFC has changed and prompt you to activate it.
    2. NO. the same RFC function gets exectued and HTTP (external ) breakpoints work. (may be wrong client, wrong user ?)
    Regards
    Raja

  • CUP 5.3 - "5.3 Web Service" vs. "5.3 Web Service - Version 1"

    Hi Everyone
    I am using CUP 5.3 SP13, in:
    Configuration Tab -> Risk Analysis Menu -> Select Risk Analysis and Remediation Version
    I have 2 options in the Version field
    5.3 Web Service
    5.3 Web Service - Version 1
    What is the difference between them and which one is the correct one to use?
    Thanks
    Simon

    Hi,
    Check SAP  Note 1487855 - 5.3 Web Service v/s 5.3 Web Service - Version 1
    Thanks
    Sunny

  • Exposing RFC as a Web Service

    Hello All,
    I am working on a SOAP to SOAP (Backend as ECC where I am exposing an RFC as Web Service). Once the Web service is generated for RFC and the WSDL is imported in PI, I can see that all the fields in different nodes become mandatory.
    Is it how normally Web Service for BAPI works or can this behaviour (mandatory / optional) be controlled ?
    Also when I execute the end to end scenario via SOAP UI, I don't get any error back but also neither get the Return table nor the Sales Order NO. I am using the BAPI BAPI_SALESORDER_CREATEFROMDAT2.
    Can it be because of no COMMIT (The BAPI uses external commit although this reason seems less likely as executing a RFC wo any commit atleast gives me a Sales Order no) ?
    How can this call be analysed in backend ECC system ? (As I assume that messages will not be visible in SXMB_MONI as explained by the Harald's thread below. I am currently in process of getting authorization of SOAMANAGER logs but wondering how it'll help?
    Thanking you in advance.
    SOAP to SOAP scenario: XML messages not visible in SXMB_MONI
    Cheers
    KanesI

    Hi,
    Please see the SOAP ststud..
    http://<host>:5<sys#>00/mdt/amtServlet
    also you might check any error logs.
    The error is because of invalid xml document. So check the validity of the xml message ie. after first mapping i.e Req mapping.
    For this you can refer this -
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    See the below links
    Also this blog may help you-/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    Could not post a SOAP request  to the interface
    Message Servlet is in Status ERROR
    Error while posting messages to SOAP sender adapter SP 13
    http://localhost:50000/XISOAPAdapter/HelperServlet?action=FindChannel&channel=PartyA:SOAPService:soapchannel
    SOAP Adapter in PCK
    Regards
    Chilla..

  • Debugging RFC FM from WSDL web services

    Hi friends,
    I am using WSDL as my web services and calling SAP RFC FM to send some files, I would like to Debug and test the FM....
    I have same user ID and pwd for both SAP login and WSDL credentials, activated external debugging to set some break-points..but whenever I run the external WSDL application(already logged into SAP n RFC FM session is ready with external break-points) there is no pop up of a different session with debugging.
    I hope the above information helps in understanding my issue, please provide me the appropriate steps/solution to Debug an RFC FM which is called from a non-sap like WSDL application.
    Moderator message - Please do not offer points or rewards
    Thanks & Regards,
    Santosh
    Edited by: Rob Burbank on Aug 5, 2010 4:41 PM

    Hi Raghavendra,
    Thanks for ur reply, I understand that you are giving me the steps to test for uploading of input text files but this RFC FM is working fine with the files coming from WSDL webservices, the actual issue is with the handling of dynamic files i.e. no. of file attachments may vary from time to time in getting saved in SAP system. 
    For this we are trying with a work around solution by creating a table type parameter in changing parameters and to get the no. of file attachments sent from WSDL, so to test for this scenario defnetly we need to run the WSDL application and debug our
    RFC FM to tess it.....
    I hope you have understand my requirement....orelse please post ur query to give more details on the issue so that you can provide me with the better solution....
    Thanks,
    Santosh

  • Missing type information when importing external web service

    Hello,
    using the SAP NetWeaver Developer Studio SAP NetWeaver 7.1 Composition Environment SP06 PAT0003, I have imported a number of RFCs from an R/3. The import succeeded as expected (see [here|http://img25.imageshack.us/my.php?image=importrfc.png]) and I am able to invoke the RFCs as intended.
    Now, we have imported these RFCs into a PI 7.1 and published them as web services.
    However, when I import these web services rather than the RFCs, the type information for parameters is lost as shown [here|http://img25.imageshack.us/my.php?image=importwebservice.png]. The missing type information is included in the provided wsdl files, though.
    Note: Using the current version of the NWDS for the CE 7.1 EhP1 does not solve this problem!
    Does anyone has an idea what is going wrong?
    Best regards
    Alexander

    The type information is actually not missing. However, the used types carry no names. Therefore, the types are displayed as "anonymous" in the NWDS.

  • Is J2EE engine a must for Web Services?

    Hi Folks,
    When I installed mySAP (version 6.4) on our test system, I don't recall installing the J2EE server. Things were working fine until today when I decided to experiment with Web Services.
    When you run transaction WSADMIN, the list of Web Services shows two Web services by default:
    SRT_TESTS_FB_ADD_WSD
    SRT_TESTS_FB_SUM_WSD
    When I select any one and click on "Web Services Home Page", I get an error "Settings for J2EE Server do not exist."
    My understanding is that J2EE server would be needed only if I wish to develop a Web Service in Java. To develop a Web Service in ABAP (which is our case), I do not really need this.
    What am I missing? Is it that these two Web services that show up by default written in Java? How can I verify this?
    Also, is there any "Hello World!" ABAP Web Service article out there that I can peruse?
    Thank you in advance for your help.
    Pradeep

    Hi Ingo,
    There is no "Reply" button available on your message. I am using this message to reply to you.
    Thank you for your help. I actually found a tutorial on running Web Services wizard for ABAP RFC. I managed to create a "Hello World!" example, generate its WSD and release the Web Service. Now, in transaction "WSADMIN," it shows my Web service as:
    > Z_HW_WSD
      - My HW WSD  default_host/sap/bc/srt/rfc/sap/Z_HW_WSD
    Here is what I do next:
    1. Select "My HW WSD" and click on "Web Services Homepage" icon.
    2. Check "Include SAP Features in WSDL" and "Document Style." Hit OK.
    I get the same error: "Setting for J2EE Server do not exist."
    When I click on the error to get help, the message number I get is SRT_REG042. Diagnosis: The J2EE Server provides the Web Service Home Page with test functions. To use these test functions, the address of the J2EE server must be defined. This can be done from transaction WSADMIN to define the addresss.
    I followed the instructions and chose Goto->Administrative Settings. However, I don't know what to put in for J2EE server (especially given that I don't think I chose to install J2EE server). For testing, I tried putting http://localhost:8000. However, now I get a different error - could not determine WSDL address (ICF_ERROR).
    I appreciate any advise you may have.
    Thank you,
    Pradeep

  • How to keep multiple function modules under one Web service

    Hi Experts,
    I have Three RFC function modules and i need to create one web service for these three RFC function modules. I know How to crearte a web service for one function module.
    please suggest me How to keep multiple function modules under one Web service.
    Thanks in advance
    Lakshminarayana

    Hi Lakshmi,
    The best way to do it is to assign all the three RFC Enabled FM's to one function group. Later on the top menu in Utilities you get an option to Create a Webservice from a Function Group.
    You can create one single Webservice using all the the 3 FM's.
    I hope this helps.
    Thanks,
    Manu

  • Proxy Error while consuming backend web service

    Hello,
    I try to consume erp backend web services (generated on existing rfcs) with a web dynpro (java) application and get the following error:
    Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (502) Proxy Error ( The ISA Server denied the specified Uniform Resource Locator (URL).  ). The requested URL was:"http://anyExampleUrl"
    The called backend service and the portal server reside in the network so no access through the ISA server is required. Consuming the same services by .NET applications works fine.
    Do you have any hints?
    Cheers, Dennis
    Edited by: Dennis Isaak on Sep 23, 2009 2:18 PM

    Hello there,
    Check the same webservice is working fine with a SOAP UI, especially the request and response are fine. Then try with the application.
    Regards,
    Vivek Nidhi.

  • Problem calling a web service via SOAP ad.

    Hi,
    I need to call a web service in an synchronous RFC to Web service scenario.The provider of service said me that they are going to accept production order with the service they provide. However, service semms to have only 2 request parameters one is a string enumeration ("online" or "offline") but the other has no type. In WSDL it is shown as the following -
    -<s:element minOccurs="0" maxOccurs="1" name="strFilenameOrXML">
    - <s:complexType mixed="true">
    - <s:sequence>
      <s:any />
      </s:sequence>
      </s:complexType>
      </s:element>
    When I try to test the web service with Altova XML Spy it gives me the error "Object reference not set to an instance of an object" .. at StokbarPlus.ProdService.WriteProdToSB(XmlNode strFilenameOrXML, IntegrationType EntegrasyonTip)..
    I guess the service is waiting for a xmlNode object...
    Is it possible to assign an XI message(coming from RFC) as an xmlNode object to an element of a webservice message and send it by using SOAP adapter?.
    I tried send the SOAP message by putting the whole xml(a sample order document) as a string constant in the strFilenameOrXML element and send but it did not work...
    How should I proceed?
    Thanks in advance for your help,
    -Tarik

    Hi,
    Problem is still unsolved.
    By the way I figured out that they are waiting the xml message inside strFilenameOrXML tag and tried to send it so. However it does not work. I have tried two different ways to send it.
    First one is by using messages in WSDL: did not work because special chars like <,> in the message that I am sending in the tag is escaped  .
    The Second way is using the data types that I developed, it did not work too since the receiver expects one of the inner node's namespace prefix to exist.
    I tried exporting the xsd of the message type, adding attributeFormDefault="qualified" to header, and reimporting it. It did not work, because it changes all nodes, but they want some specific node to be qualified.
    Any suggestions?

  • Error when publishing a PL/SQL Web Service with JDeveloper 10.1.3!!!!!!!!!

    Hi,
    When I publish a PL/SQL package as a web service in J2EE 1.4 (Jax-RPC) Web Service version get this error:
    oracle.j2ee.ws.common.tools.api.ValidationException: Error in database webservices assembly
         at oracle.j2ee.ws.tools.wsa.db.WSADBPlugin.processDBEndpoint(WSADBPlugin.java:329)
         at oracle.j2ee.ws.tools.wsa.Util.processDBEndpoint(Util.java:887)
         at oracle.jdeveloper.webservices.model.plsql.PLSQLGenerator.preparePLSQLPortTypes(PLSQLGenerator.java:734)
         at oracle.jdeveloper.webservices.model.plsql.PLSQLGenerator.doGeneration(PLSQLGenerator.java:233)
         at oracle.jdeveloper.webservices.model.Generator.generateImpl(Generator.java:447)
         at oracle.jdeveloper.webservices.model.Generator.generate(Generator.java:295)
         at oracle.jdeveloper.webservices.model.WebService.saveEditImpl(WebService.java:3971)
         at oracle.jdeveloper.webservices.model.WebService.mav$saveEditImpl(WebService.java)
         at oracle.jdeveloper.webservices.model.WebService$1.run(WebService.java:3817)
         at oracle.jdeveloper.webservices.model.GeneratorUI$GeneratorAction.run(GeneratorUI.java:446)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:595)
    GRAVE: JPublisher error: please check assembler settings, database connection and database schema. Use debug=true for details.
    and when use J2EE 1.3 (Oracle) version WEb Service get this error:
    java.lang.NullPointerException
    at oracle.jdevimpl.webservices.generator.WrapperClassGenerator.generate(WrapperClassGenerator.java:262)
    at oracle.jdevimpl.webservices.generator.SPWebServiceGenerator$1.run(SPWebServiceGenerator.java:285)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    at java.lang.Thread.run(Thread.java:595)
    ..... Is this a BUG????
    please help!

    OK, This is the PL/SQL package:
    Function:
    FUNCTION Obtener_paises RETURN res_webservice AS
    v_respuesta res_webservice;
    i PLS_INTEGER:=1;
    CURSOR C_paises IS
    SELECT cpais, tpais
    FROM paises
    ORDER BY tpais;
    BEGIN
    v_respuesta := res_webservice(null,null);
    v_respuesta.error := res_error(null,null,null);
    v_respuesta.error.cerror := 0;
    v_respuesta.error.cerror_ora := 0;
    v_respuesta.error.terror := null;
    v_respuesta.datos := res_datos ();
    FOR v_pais IN C_paises LOOP
    v_respuesta.datos.extend;
    v_respuesta.datos(i) := reg_datos(null,null);
    v_respuesta.datos(i).codigo := v_pais.cpais;
    v_respuesta.datos(i).descripcion := v_pais.tpais;
    i := i + 1;
    END LOOP;
    Insertar_log(NULL,SYSDATE,'C','Obtener_paises',NULL,'ERROR:0');
    RETURN v_respuesta;
    EXCEPTION
    WHEN OTHERS THEN
    v_respuesta.error.cerror := 1;
    v_respuesta.error.cerror_ora := SQLCODE;
    v_respuesta.error.terror := substr(SQLERRM,1,80);
    Insertar_log(NULL,SYSDATE,'C','Obtener_paises',NULL,'ERROR:1 '||substr(SQLERRM,1,120));
    RETURN v_respuesta;
    END Obtener_paises;
    TYPES USED:
    CREATE OR REPLACE
    TYPE res_webservice AS OBJECT (error res_error, datos res_datos);
    CREATE OR REPLACE
    TYPE res_error AS OBJECT (cerror NUMBER(1), cerror_ora VARCHAR2(12), terror VARCHAR2(80));
    CREATE OR REPLACE
    TYPE res_datos AS TABLE OF reg_datos;
    CREATE OR REPLACE
    TYPE reg_datos AS OBJECT(codigo VARCHAR2(12), descripcion VARCHAR2(150));
    Thanks in advanced...
    Could happen this bacause of these defined types???

  • Creation of Web Service

    Hi All,
              I knew to crm7.0 i need to create a web services.Please suggest me how to create.Please give me step by step procedure to create a web service.
    Thanks,
    Santhosh.

    Hi santosh,
                     Steps to create a web service:
    1 Create a RFC Enabled Function module.
    2 Goto  Utilities->More utilities->Create web service->from function module.
    3. Give Service definition and description end point type function module.
    4. click on continue.
    5.give function module name.
    6. click on continue.
    7.Give the package name and transport req num.
    8. Click on complete..
    9.  Save it->check for the errors-> Activate it.
    10. Run the transaction soamanager.
    11. Goto Service administration tab
    12. Click on single service configuration
    13. Give the search pattern as z*
    14. select your web service.
    15. click on apply selection
    16. click on Open Web Service navigator for selected binding.
    17. give user name and password
    18. Run your web service.
    Regards,
    Darwin

  • Consuming a Web service thru XI with Web Dynpro for ABAP

    Hi all,
    Does anyone know how to call a web service thru XI from Web Dynpro ABAP. The web service will call an RFC and bring back some data.
    Some guidelines on how to achieve this will be very much appreciated.
    Thanks
    KG.

    Hi Kunal,
    Do you want to use XI at the runtime of the service ? Usually for a synchronous call, XI is used only at the design time to design the message interface. Using this message interface the proxy class  in ur ABAP system can be generated. In the interface method of your proxy class you can call your RFC. Finally generate a webservice out of this proxy class via SPROXY tsn.
    Get the WSDL url of this webservice in tsn WSADMIN . Using this url you can call the service (peer-to-peer, no XI involved at runtime) with Webdynpro.
    I hope this answers your question.
    Regards,Girish

  • Web service deploy in ECC or in XI

    Hello,
    I am bit confused on deployment of Web services. I found that we can deploy BAPI/RFC in ECC using wsadmin or soamanager. This means Can i access this web service from third party system with out using XI.
    But, i heard this is obsolete now and we should XI for this.
    This means Do i need to create scenario in XI as SOAP-RFC..where RFC on ECC and expose this interface as web service in XI using RFC adapter..
    what is the best way, and how can i deploy BAPi as web service.... If I deploy it on ECC what is use of XI in this case.
    Can i call this BAPI deployed WS from Java system.
    Thanks,
    Srinivas

    Hi ,
    You can always generate the wsdl from bapi by going to the link mentioned below and can invoke the WS from any other Web System. It will behave like normal web service.
    Link to generate the wsdl:
    http://<ECCserver>:<port>/sap/bc/soap/wsdl11?services=<FunctionName>&sap-client=<client>
    You can save the wsdl and use in in your client to invoke this. There is no need of XI in this case.
    Howsoever as best practice, to achieve ESOA the webservices should be located at central location(XI) and should be invoked from there. 
    Reward points if this answers your question and helpful.
    Thanks
    Amit

  • Problem execution web service which display a table

    Hi everybody,
    I create a web dynpro appication which calls an Adaptative Web Service.
    The associated RFC ZTEST_ROD takes 2 inputs parameters and delivers a table like this:
         - Field Import: MATNR type MATNR     WERKS type WERKS_D
         - Field Tables: TABLE_DEST like ZSTRUCT_ARTICLE
    When i import the Webservice in WebDynpro, i have the following model binding:
    Context:
      Request_ZTEST_ROD
         Response
              ZTEST_ROD_Response
                   TABLE_DEST
                        Item
                             LABST
                             LGORT
                             MAKTG
         ZTEST_ROD
              MATNR
              WERKS
    For The inputView, i link the context binding:
         ZTEST_ROD->MATNR and WERKS
    For the ResultView, i link the context binding:
         Response->ZTEST_ROD_Response->TABLE_DEST->Item     LABST,LGORT and MAKTG     
    and i create a table associated to Response->ZTEST_ROD_Response->TABLE_DEST->Item
    At last, when i execute the application, i obtain the text:
    "Exception on execution of web service on destination 'DEFAULT_WS_EXECUTION_DEST'
    for operation 'ZTEST_ROD' in interface"
    With NO information in the log defaultTrace.trc
    Any suggestions about this problem ?
    rewarded points ...
    Thanks a lot!
    Rodolphe
    Edited by: Rodolphe LALOUX on Aug 21, 2008 9:34 AM
    Edited by: Rodolphe LALOUX on Aug 21, 2008 9:34 AM
    Edited by: Rodolphe LALOUX on Aug 21, 2008 9:34 AM

    Hi Rodolphe,
    I am not an expert in ABAP. Have a basic understanding of it. RFC have in itself, input parameters, output parameters
    and Table parameters. Now whatever is defined as Table parameter can be used both for input and output.So you can pass
    any number of records as input in this parameter and then RFC applies some business logic according to what input
    you have provided in input and table parameter and send back the output in output parameters and as set of records in
    same Table parameter.
    In general it is not necessary that you give any input in Table parameter BUT if RFC is exposed as web service then due to some
    reason it becomes necessary that whatever you have provided as Table parameter you should provide atleast one blank record
    for each of the Table Parameter.
    Hope I have not confused you.
    Regards,
    Gopal

Maybe you are looking for