How to make an ABAP Proxy public as an asynchronous WebService

Hello together,
i have made an ABAP-Proxy public as an WebService by generating the WSDL from the directory for my asynchronous <b>outbound interface</b>. This outbound interface is mapped to the ABAP-inbound interface and so on. This works fine.
But actually i don't need any mapping. So i'm thinking about to how to send the WebService <i>directly</i> and to the ABAP-Inbound-Interface <u>asynchron</u>.
1. Is this possible at all (and how), and if so
2. does it makes sense in order to improve the performace (there is a mass-processing in behind)?
Gunnar

Gunnar,
I guess its simple...go for SOAP to Proxy scenario.
If ur source and target structure is same ..u need not require mapping.u can execute the scenario without mapping also.
I have done same scenario 2 months ago.....
following things u need to do.
1)create outbound message interface
2)create inbound message interface
3)No need of message mapping and interface mapping(if u dont require any transformation of source structure)
4)create WSDL for outbound message interfce
5)create proxy for inbound MI
6)write the necessare code in ur proxy
7)using any SOAP editor like XML spy send data to proxy...
u have done the work!!!!
All the best
regards
biplab

Similar Messages

  • How to create a abap proxy in sproxy netweaver 7.01

    sproxy of nw 7.01 is completely different from previous version.For example in prev. versions there is message interface (inbound) (outbound) ...
    but in 7.01 , i cannot find how to create an abap proxy class , there is only display proxy in context menu in all segments.(like service interface)
    how can i create proxy ?
    thanks a lot

    In help sap.con says that
    Expand the Service Interfaces node.
    Select the outbound service interface.
    Open the context menu and choose Create.
    but there is no outbound service interface under service interface node
    what can i do?
    thanks a lot..

  • How to make outbound plug to Public attr

    Hi All,
               I am trying to call outbound plug from get_v method for f4 help. But when i click on f4 help, it getting dump by giving below error.
    View 'ZXXXX/GeneralData' does not have the public outbound plug 'OP_FINDXXXX' for value help navigation
    In get_v method, using below piece of code.
         CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_navdescr
         EXPORTING
          iv_outbound_plug = 'FINDXXXX'.                    "#EC NOTEXT
    My concern is how to make Outbound plug to public or if there any other way to call Outbound plug from Get_v then please advice.
    I appriciate your suggestion.
    Thanks
    RI

    Hi Imran!
    To make outbound plug public please do the following things:
    1)In BSP_WD_CMPWB: go to the code of your outbound plug and switch to edit mode;
    2)Save & Activate your outbound plug.
    3)Menu "Go to" -> "Method Definition"-> tab "Attributes":
    - set "Visibility" = Public
    - "Event" block: "Active" should be marked.
    Warning: after changing of visibility the content(code) of method will be removed automatically!
    So, save it beforehand.
    4) Then go to method and try to do save and activate.
    You will get a error message. Double click at this message - so you will be redirected to the error place - protected section of the current class.
    5) Find out in this protected section the rows with your outbound plug - cut out them.
    6)On the toolbar you will see button for public section - go there and past you rows there.
    7) save and activate everything.
    8) Now you can fill your outbound plug with your logic and activate again.
    I did this just recently many times and it worked fine.
    Please tell me if something is unclear or doesn't work.
    Good luck!
    Evgenia

  • How to make EOIO for proxy messages in PI

    Hi Experts,
    We got different proxy outbound messages from ERP, we need to process all the messages in a sequence as it was sent from ERP, how can we make one queue in PI for all these messages.
    Please give me some thoughts for this issue.

    Refer to these blogs:
    XI: Reliable Messaging u2013 EOIO in ABAP Proxies
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    ABAP PROXY TO FILE u2013 Handling Heavy Volumes in SAP PI
    /people/praveen.gujjeti/blog/2010/05/31/abap-proxy-to-file-150-handling-heavy-volumes-in-sap-pi
    Regards
    Raj

  • How to call a ABAP proxy class from a BADI? Please help!

    hi Experts,
        I have a scenario where I have to call a ABAP proxy class from a BADI. How can I do this? Does anybody has sample code for the same?
    Please help.
    Thanks
    Gopal

    Hi Gopal,
    Check this out
    DATA: ref_obj    TYPE REF TO zmfg_production_ord.----> BADI
    * Instantiate the proxy class
        CREATE OBJECT ref_obj.
        TRY.
            CALL METHOD ref_obj->execute_asynchronous
              EXPORTING
                output = it_output.     "Output Structure
            COMMIT WORK.
          CATCH cx_ai_system_fault INTO ref_sysexception.
        ENDTRY.
        IF  ref_sysexception IS INITIAL.
          WRITE : / 'Error Message'.
        ENDIF.
    Edited by: Raj on May 28, 2008 4:52 PM

  • How to make an ABAP program run for a specified number of times ?

    assalamoalikum all!!!
    Can some 1 plz tell me that How can I make my ABAP program run ONLY for 2 times (after it went in production etc)
    AND when the program runs for 2 times It then gets hanged/Locked foreever.
    Suppose my program is:
    REPORT twice002.
    write ' I will run only twice bye bye'.

    Well, I guess the only full proof way is to create a custom "Z" table which will hold the counter, in your program you would update this table every time the program runs. In this same program before updating the counter, you would retrieve the counter and check if it is = 2, if so, then write a message and RETURN.
    Regards,
    Rich Heilman

  • Make Sender ABAP proxy transport HTTPS

    Hi Experts,
    I have a sender ABAP proxy scenario without CC configuraiton. Now if i want to HTTPS for data transportation from R3 to PI. What could be the possible ways?

    Hey,
    >Now if i want to HTTPS for data transportation from R3 to PI. What could be the possible ways?
    Yes,
    Create the Port for HTTPS, Install the certificates , Change the parametr in Visual admin for HTTPS call.
    Cheers
    Agasthuri

  • How to trigger Outbound ABAP proxy from PI

    Hi Guru's,
    We have one scenario in which we want interface to be run at 5 minute interval in PI but it has to get data from R/3 via RFC or ABAP Proxy (No file interface). Is there any way to trigger PI interface to get data from R/3 and after mapping send it via AS2.
    Thanks in Advance.

    Hi Gyaneshwar,
    What Phani said is correct. Better you go with ABAP proxy, where you can validate the data with the condition, if fails you can raise an alert mail.
    The code something looks like:
    CALL FUNCTION 'Z_UTL_SENDMAIL'
            EXPORTING
              i_email       = gv_sender
              i_toemail     = ''
              i_subject     = gv_subject
            IMPORTING
              e_return_code = gv_subrc
            TABLES
              it_text       = git_text
              it_emails     = git_emails.
        ENDIF.
      ENDIF.
    There is no option to do it from PI.
    Thanks,
    Edited by: Hareenkumar on Feb 24, 2011 10:08 AM

  • How to make a dynamic proxy client in Java ME?

    Hi guys!
    I have an existing static stub web service client to WCF made by generating client stub feature of the Netbeans. How do I make this into a dynamic proxy?

    tsubaki.pw wrote:
    I have an existing static stub web service client to WCF. How do I make this into a dynamic proxy?What is the WCF?

  • How to make an OSB proxy to the server responding with application/json?

    Hi,
    My question is related to unfortunately unanswered question: Re: OSB and Oracle Maps
    Big picture: There is a Jetty server on local network with SpringMVC controllers which respond with JSON. The only way to communicate from frontend application to that server is through the OSB. So OSB should work as transparent proxy, passing headers and respond with original JSON message.
    I tried to build such proxy, following some blogs entries. Proxy worked for the REST services based on XML, but when I go to the JSON business service I get stuck.
    I think that business service to communicate with JSON server should be a Messaging Service, with Response Type: Text and Request Type: None.
    All headers should be passed (Outbound request) so the JSON server receives them in same state as frontend send.
    Business service should be invoked from 'Service Callout' because I don't need any asynchronous calls, or routing - just call the business service endpoint, which will call JSON server and pass the response.
    There are some problems in which I stepped into when tried this approach:
    1. When using Request Type: None the Service Callout give me an error of type:
    A callout cannot invoke a one-way operation
    When switching Request Type to Text I get it working, but some services on JSON server which operates only on GET method stop work (because switching to Text automatically require to use POST method, which is obvious but not necessary in my case).
    2. Even with above modification I cannot get the response from business service - I guess it's because the JSON response isn't wrapped into any XML elements. So in Service Callout any logger prints the message on Request side, but anything is written by Response logger inside the Service Callout. The browser which launch the Proxy Service also answers with:
    HTTP 500 (Internal Server Error)
    and I don't see any errors in logs, last message is from Request logger inside Service Callout.
    3. Business Service itself seems to work - here is an output from 'Run on Server':
    Business Service Testing - SampleJSON
    Request Document
    Response Document      
    {"models":[],"success":1}
    Response Metadata      
    <con:metadata xmlns:con="http://www.bea.com/wli/sb/test/config">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <http:Content-Length>696</http:Content-Length>
    <http:Content-Type>application/json;charset=ISO-8859-1</http:Content-Type>
    <http:Server>Jetty(7.4.2.v20110526)</http:Server>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    <tran:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">OK</tran:response-message>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">ISO-8859-1</tran:encoding>
    <http:http-response-code xmlns:http="http://www.bea.com/wli/sb/transports/http">200</http:http-response-code>
    </con:metadata>
    But when calling it from a service proxy I don't get any logger message on the JSON server, which appears normally when I runs business service tests. So it seems that the request doesn't even reach it.
    If anyone has a time to look at this problem I can share the configuration jar ready to import: http://dl.dropbox.com/u/21341604/sample-osb-json/sample-json.jar, to make it working you need change Endpoint URI in SampleJSON.biz.
    Thanks in advance for any kind of help or tips,
    Adrian

    If you are the admin, then use the following command in Terminal:
    sudo mkdir /.nameOfFolder
    Replace nameOfFolder with the name you want.  The sudo will prompt you for your admin password. 

  • How to make inactive ABAP Program in production system

    Dear Expert,
    I have a lot abap program in production system which are not used anymore and my company plan to upgarde our SAP system, therefore to reduce the effort for the SAP upgarde I will  deactivate the unused ABAP program.
    My question how to change the active abap to inactive in production system ?
    Thank you in advance.
    Best regrads,
    Tjandiagung

    Program details are stored in the table REPOSRC.
    Primaray keys are PROGNAME and R3STATE.
    Suppose if the program zxy is in active state, then enry will be
    ZXY  A
    Suppose if we made some changes to it and saved, so the program is in inactive state. so one more entry will be there in the table
    ZXY A
    ZXY  I
    So if you add like this for the program which you want in the table REPOSRC, then that programs will be in inactive state.
    Regards,
    Nikhil

  • Need details on how to make custom ABAP report archive enabled

    Hi All,
    We are working in our project to make custom reports as archive enabled so that they can read archived data.
    Need some information on the below queries.
    1.Is there any function module to read selected data from archive file? For example i don't want to read the whole BKPF table data from archive file instead want to get belnr and bukrs only.
    2. What are the perfromance measure which can be taken while making an existing program archive enabled
    3. Important archiving tables which can help for the above.
    4. When i use the function module "Archive_open_for_read' then system displays a pop up to select the archive files based on the archive object.
    Considering that all the reports are run in background how do i make sure that in background run all the archive files are selected and processed.
    Thanks in advance for your valuable suggestions...
    Regards/Ajay

    Hi Ajay,
    1.  You have to create a separate field catelogus and AIS according to your requirement with the required fields you want . Because the standard structures and field catelogues contains many fields from all tables. So before doing the read operation you have to deactivate the standard AIS and activate your newly created AIS .
    2. Can you give some more details for this question to be answered.
    3. The important archiving tables used are ARCH_IDX,ARCH_RPRG,ARCH_DEF.
    4. While scheduling the Read process in batch mode , it will give you three criterias to be entered.
         . Spool Parameters
         (ii). Start date
         (iii). Archive selection of files.
        Unless you enter values for any one of these options , You cannot execute the batch job.
    Hope this would help you.
    Regards - Swarna.

  • How to make a JMS Proxy Service Subscriber act as a synchronous service

    I am trying to find the correct OSB pattern/configuration to support the following.
    Use case:
    Multiple messages put onto a JMS topic. The Java Web Service invoked by the Proxy Service subscriber should only ever have one instance active at a time so that it processes messages syncronously.
    Current OSB Configuration:
    JMS Topic -> ProxyServiceA -> BusinessServiceA (Java Synchronous Web Service)
    -> ProxyServiceB -> BusinessServiceB (BPEL Synchronous Web Service)
    Work Manager configured on ProxyServiceA with maxThreadCount = 1 and minThreadCount = 1
    Issue:
    Multiple instances of BusinessServiceA are active at the same time with the settings above. I am unable to make ProxyServiceA act as a synchronous process, so that it will not return until BusinessServiceA has completed.

    JMS Topic -> ProxyServiceA -> BusinessServiceA (Java Synchronous Web Service)-> ProxyServiceB -> BusinessServiceB (BPEL Synchronous Web Service)
    If I remember correct there were some issue with work-manager being configured in proxy is not used. Engineering has fixed that issue in Oracle Service Bus (11.1.1.3.0). You might want to check with support to get the requisite patch for your version.
    You requirement for synchronous process can be achieved by two ways
    Option1) Configure BusinessServiceA with Throttle Q with Maximum Concurrency 1 http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/operations/throttling.html
    Multiple instances of BusinessServiceA are active at the same time with the settings above. I am unable to make ProxyServiceA act as a synchronous process, so that it will not return until BusinessServiceA has completed.Does BusinessServiceA (Java Synchronous Web Service) return response? Is it invoking the ProxyServiceB via HTTP?
    Manoj

  • How to make SAP ABAP trial version (with BI) system faster?

    Hello,
    I have just installed the SAP Netweaver ABAP trial version. (And using it along with SAP BI) My PC Configuration is 2 GB RAM, 10 GB Free HD, 1.6 GHz processor.
    But when I run SAP BI, it is very slow. A regular command takes about 20-30 seconds. Is there any way I can speed up the SAP system?
    I am ready to upgrade my laptop/Or even buy a new one with nice settings if I am sure that it is going to help me.
    Thanks
    Dhananjay

    >
    Mukesh Trivedi wrote:
    > Hi Dhananjay,
    >
    > I have installed 2004s ABAP Trial Version (Also I have NW 7.0 ABAP trial version on other machine) and trying to access BI. Can you please guide me how can I access as when I try to access from 000 client it tells me to use 001 client and when I login to 001 client using SAP* user it tells me that System NSP Client 001 has no logical name Creat , Assign or Cancel, can you please guide what option I have to select and what are the steps after that.
    >
    > Thanks,
    > Mukesh
    Double post. See other thread for answer.

  • How to make a Abap Unit Test Suit with many test classes

    Hi,
    Problem space
    we have different packages(embedded) in our project and each package corresponds to a differnt functional layer in the design.
    We want to create abab unit test classes for these different layers.
    say embedded package 1 has 10 unit test classses
          embedded package 1 has 20 unit test classses
    How to grup these classes together so that we can start them frm a test suite.
    Code examples and blogs links will be appreciated.
    regards
    anubhav

    This sounds a bit like Project Administration 101 to me.
    I'm not exactly sure what you are actually trying to do here --but generally if you want to functionally test something you need to start with a business process -
    You need to create scripts which tell the user the data to be entered, the transaction to be used and the outcome.
    With SAP you might need to show screen shots of each stage as well.
    You follow this for each complete business process until you've covered the whole business cycle.
    You complete this say individually for Logistics, Purchasing and Finance and then compare what SAP gives you with what you expected to get.
    For some type of testing CATTS can help but without the business processes any testing is essentially meaningless.
    It is totally pointless trying to design a "generic" test plan until you've got the functional consultants to describe the business processes involved.
    Cheers
    jimbo

Maybe you are looking for

  • Error while working with ref cursor

    Hi I tried the following but getting the err DECLARE TYPE ref_nm IS REF CURSOR; vref REF_NM; vemp emp%rowtype; BEGIN OPEN vref FOR SELECT ename ,sal FROM EMP; LOOP   FETCH vref INTO vemp;   EXIT WHEN vref%NOTFOUND;     DBMS_OUTPUT.PUT_LINE ( vemp.ena

  • Error in updating Interactive form data

    Hi Friends, I have developed an interactive form using webdynpro ABAP, in the first view I have designed selection criteria based on the selection I am populating the table in second view. Few are editable fields and few are readonly fields. Here I g

  • JSP or JDEVELOPER

    what is the different between using JSP pages and JDBC with oracle database and the Jdeveloper which as i know is a combination between oracle database with java interface.

  • On hand qty

    Hi all, I need to update the on hand qty for a item which is related to WIP. This item is issued to the job in WIP. Need to change the on hand qty and its respective value in its lots. Thanks in advance Sundar

  • JSF Tree Node -Removing Green Patch

    Dear Everyone, Anyone, Someone I want to remove the green patch from the jsf tree component, it appears whenever we select the tree node, if we have given link from treenode, Can anyone suggest me some way. Please do the needful help as soon as possi