Regarding proxy and adapter

In the doc, it is said that for SAP WAS > 6.20, we can develop interface and use proxy. So why we still use SOAP adapter  when connecting to web service, Is it a must?
Any comments will be greatly appreciated.

hi
Proxies are interfaces which will get executed in the application system. They can be created only in the system from message interfaces using the proxy generation functions.
You can use proxies for systems with WAS >=6.20
XI will communicate in native language with SAP systems via proxies. Proxies uses XML - SOAP based communication for both ABAP and Java Proxies
Proxy generation generates classes and structures for the interfaces and data types written in WSDL. The range of commands in the Integration Builder is restricted to a suitable WSDL subset for system integration."
The WSDL are generated for the Message Interface created, so Proxies use the SOAP protocol, Proxy is not a substitute for SOAP but if you want to perform some operations in R/3 then it is helpful to use ABAP proxy.
ABAP proxy generation gets the WSDL description for message interfaces from the Integration Repository (WSDL Web Service Description Language) by using http. In WSDL, data that is transferred using messages is described using XSD (XML Schema Definition Language).
The Integration Builder does not support the full range of WSDL (for message interfaces) and XSD (for data types) commands; this is not the case for WSDL in the Web service infrastructure, however.
Proxies are used only when sender/receiver and SAP XI understand XI message format. The one most important difference between a proxy and adapter is that the adapter converts the sender/receiver format to the XI message format but where as proxy does not need to do that as they natively understand the XI message format.
For a webservice you should use eitehr a SOAP adapter or HTTP adapter. If your interfaces are going to connect SAP then I would rather suggest to use proxies. If they are externally located and if they are third party interfaces then we can go for webservices
for SAOP adapter Plz chk this link
http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
If U hv any further queries then reply..
Thanks
Manas

Similar Messages

  • How do ABAP Proxy and XI adapter work?

    Hi everybody,
    I have a general question about the ABAP proxy and XI adapter.
    In order to use the ABAP proxy and XI adapter, I must configure the HTTP Destination between the R/3 system and the XI server. I must also maintain the SLD.
    After several hours configurations with our administrator, it failed. At least the HTTP Destinations on both servers don't work correctly. We got always HTTP error message. But a scenario with an ABAP Receiver proxy works! It is really strange and laughable. We're very happy about that but don't know why and what happened. Today we tested the ABAP Sender proxy, it doesn't work.
    So we decide to ask the XI experts in this forum to give us a general lessen about the ABAP proxy: how it works, why we should create the HTTP destinations, how do the destinations work and so on.
    Thanks a lot in advance!
    With best regards
    Xiang

    Hi
    Once you create the interface in XI, you generate the proxies on your R3 system.
    Client Proxies -->
    This is done for outbound interfaces. You generate the proxy and then write a report that fills in the proxy class with the data and pushes it to XI.
    Server proxies -->
    Generated for inbound interfaces. Generate the proxy and write the implementation for the exectue method that deals with the data sent from XI to the R3 system
    Abap Proxy
    ABAP Proxies in XI(Client Proxy)
    Smarter Approach for coding ABAP Proxies
    The specified item was not found.
    ABAP Proxy - XML to ABAP Transformation
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm
    why we should create the HTTP destinations, how do the destinations work and so on.
    we create http destiantio because in proxies , adapter is not use so who is goin to send the message to integration server ...by creating http destinatio we create integration engine which send messg to IS . then messg is routed .and all
    error in HTTP to file scenario http to file
    hope this help's  you
    Regard's,
    Chetan Ahuja

  • Regarding Standalone proxy and deploayable proxy

    Dear Frds
    I want to know abt Standalone proxy and deploayable proxy??
    Where are the above used?
    In which sceniaria i should use them..
    I tried to create a project using Standalone proxy and deploayable proxy but after creating it
    i got some doubts how to write client program to acess proxys and where will they be used ??
    Thanks in advance
    ShravanG

    Hi,
    Deployable versus Standalone Proxies
    SAP Web AS Java provides two types of Web service proxies:
    deployable proxy u2013 a Web service client that must be deployed on the J2EE Engine as an application.
    standalone proxy u2013 a Web service client that generates stubs and runs without the J2EE Engine. This proxy can be used only with the release for which it has been generated.
    Although both proxies have similar functions, there are some fundamental differences.
    For the standalone proxy, a stub must be generated and the names and class names of the transport bindings, protocols, and transports that are used must be provided. The drawbacks of this approach are that if a name of a component is changed or requires some modifications, the stub is no longer valid and the whole proxy needs to be regenerated.
    On the other hand, with the deployable proxy all information is either generated during deployment or is retrieved at runtime. Therefore, the deployable proxies are to a certain degree protected from runtime changes.
    For both types of proxies, ServiceInterface and ServiceImpl classes are generated. Their names are derived from the service name of the WSDL that is used to generate the particular proxy.
    For the deployable proxies, only the ServiceInterface is generated at the design time. The client assigns a JNDI name under which the ServiceImpl instace is bound at runtime. The JNDI name is relative to the java:comp/env/ context, which is the default for all J2EE components.
    // for Deployed WS Clients
    import javax.naming.InitialContext;
    InitialContext ctx = new InitialContext();
    FooServiceInterface fsi = (FooServiceInterface)ctx.lookup(u201Cjava:comp/env/FooServiceu201D);
    At deployment, the service implementation and the service stub are generated. To take the service implementation for the standalone proxy, the generated class must be instantiated:
    FooServiceInterface fsi = new FooServiceInterfaceImpl();
    Regards
    Surender Dahiya

  • Keep getting error regarding proxy server. Try to reset to no proxy and it won't reset to "no proxy"

    I cannot get on a website using Mozilla. I cleared my history the other day and since then I can't get on Mozilla. I called my internet provider and had to reset the proxy for Google Chrome and Internet Explorer and they reset but I try to reset to no proxy and it resets to manual proxy and I uninstalled and restalled Mozilla but it still won't work. Not sure what else to do.

    Unless your Photoshop question has to do with a download/install error, you should ask in Photoshop General Discussion
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Web-Service Proxy and Web-Service Client access in a Bean (EJB 3.0)

    Hello Community,
    i want to access the SAP Knowledge-Management via the Webservice "RepositoryFrameworkWS", which resides on our Portal-System, from my Java-Application, which runs on a NW CE 7.11 Ehp1 Java Server.
    I choosed to create a WS-Client as a deployable client. So i created an Bean Project, imported the WSDL and created a WS-Proxy in that project. Additionaly i added some beans to that Bean-Project which use the WS-Proxy to access the KM.
    So far so good.
    But the WSDL also creates a Service-Endpoint, which already has an url for the WS-Target and Authentication-Information (in my case it seems that no Authentication is active) in its body.
    Because my client shell run on different systems in the future i searched for a way to easiliy deploy my application and adapt target-information elsewhere. I found in the documentation, that after deploying the deployable WS-Proxy/Client this can be done in the NW-Administrator under SOA-Management->Application and Scenario Communication->Single Service Administration.
    To my surprise i found my deployed WS there. And the entry for the there listed Port was configurable. But unfortunatly this customization is ignored by the application. For example i changed authentication to a HTTP-Authentication with a specific user and also changed to Target-URL. But with no success.
    What's wrong here?
    i accessed the WS in my bean in the following way:
        public Class xyz
         @WebServiceRef (name="RepositoryFrameworkWS")
         RepositoryFrameworkWS service;
          RepositoryFrameworkWSViDocument vi = service.getPort(RepositoryFrameworkWSViDocument.class);
         vi.findResources(rid,....)
    regards
    Matthias Hayk
    Edited by: Matthias Hayk on Sep 15, 2009 10:13 AM

    Hi Matthias
    In Single Service Administration there are two views: Webservices and WS Clients configurations. First of all you should enable BASIC HTTP authentication in WS configuration. Then go to WS Client configuration and enter user/password in HTTP BASIC authentication settings.
    Hope this help.
    BR, Siarhei

  • How to extract attachment from ABAP proxy and store in archive link....

    Hi Experts,
    I need to consume an incoming email attachment in the ABAP Proxy program (POP Mail  --> PI --> ABAP Proxy) and then store this file in the IBM content management server through the Archvie Link connection.
    Any idea how to implement this piece of code in ABAP?
    Regards,
    Shobhit

    Hi Shobhit
    You can get the files from Sender Mail adapter. In proxy implement the method of protocol IF_WSPROTOCOL_ATTACHMENTS as said above.
    Archive Link supports HTTP, RFC etc depends on the system you are going to use for archiving. For your case you have IBM server i think you have to do HTTP synchronous. This will be like an interface again for you.
    Why are you using ERP system in middle. I think you can directly dump data to IBM server.
    Thanks
    Gaurav

  • Java Proxy and ABAP Proxy

    hi,
    can any one send me some documents on Java Proxy and ABBAP Proxy
    regards,
    John

    hi,
    Proxies are nothing but a mechanism to shift the application logic from the XI server onto the sender or reciever system so as to reduce the effort on the side of XI.Depending upon where the proxies are generated ,it is differentiated as client proxy ( sender ) and server proxy ( receiver ) .In R3 system having WAS 6.2 and above its already has an inbuilt small IE so the proxy generation is favoured and possilbe,for more on this please go thru the following links
    Proxies: are interfaces which will get executed in the application system. They can be created only in the system from message interfaces using the proxy generation functions.
    The biggest advantage of the proxy is that it always by passes the Adapter Engine and will directly interact with the application system and Integration engine - so it will and should give us a better performance.
    The literal definition of a proxy is an object / process authorized to act for another; an agent or a substitute. In simpler terms, proxies in the XI context are objects used to encapsulate the creation (from a sender system) or parsing of XML (at a receiver system) as well as the communication with the relevant runtime components required to send or receive those messages. The Proxy Runtime controls these objects / processes, and can itself be controlled by the applications it communicates with.
    The Proxy currently has the following components available:
    1. ABAP Proxy – Communication using XI or Web Services
    2. Java Proxy– Communication using XI (J2EE)
    For further reference, visit the following sites,
    To test a connection - /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Client Proxy - /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxy - /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Testing proxy - /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    JAVA Proxies:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    ABAP Proxies:
    /people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    ON SDN TV
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=abap%20proxy%20xi&cat=sdn_all&start=11#

  • File to proxy and proxy to file asynchronous

    Hi Experts
    Through my scenario I have to send xml files to file system from R/3 and vice versa. I am using Sender is proxy and receiver CC is file and vice versa. Here in R/3 25 tables having 25 different structures and sender and receiver data structure is same in XI. So for each structure I have to create 1 Data Type, Message Type, I/O interface and Message mapping and Interface mapping in IR. I am right?
    In ID sender is Proxy (so no need to create sender CC and Sender interface).
    For each interface can I create 1 receiver file communication channel or not? Or one communication channel is enough? Bcz, for above 25 interfaces target system is same and processing file names are different.
    E.g. -  file name is like <TABLENAME><TIME_STAMP>.XML here I want save the file in target directory like <TABLENAME><TIME_STAMP>.XML for this what I have to do?.
    For this can I create how many interface determinations and receiver determinations I have to create?
    What is the good procedure to do this interface please give me your valuable inputs.
    And vice versa I have to do same like this for this I have to pick xml file from source directory based on first in first out by sorting according to timestamp. Once IX read this file from source directory I have keep this file in archive directory? (Means I have to keep this file from source to archive folder)
    What is the procedure to do this? Please explain.

    Hi,
    As per my knowledge I will give you small suggestion. If it should be 25 tables then,
    Create a Common data type which contains fields like,
    <Source>
        <Table_Name>
       <Field1>
       <Field2>
    Create a report which fills the filed for each table.
    Create  a file Structure which contains table name.
    Using the variable Substitution create a file name. Processing parameter use Add Time Stamp.
    For more details..
    [http://help.sap.com/saphelp_nw70/helpdata/EN/bc/bb79d6061007419a081e58cbeaaf28/content.htm]
    So this time you need only one interface and one scenario.
    As the same
    Do the reverse flow also.
    In sender file adapter processing mode select archive. Give the  archive directory name.
    Select Processing Sequence by date. So file will poll according to date and time.
    For more details..
    [http://help.sap.com/saphelp_nw70/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm]
    Regards,
    Prakasu.M

  • Proxy Vs Adapter usage in an Async Communication

    Hello All,
    Just want to get a better clarification on the proxy usage.
    The communication is Asynchronous and there is a standard IDOC existing or an IDoc generated from BAPI.
    is it advisiable to use Idoc adapter in this case.
    OR
    I take the proxy approach.
    Regards,
    Sita K

    Hi Sita,
    SAP always recommends usage of ABAP proxies since WAS 6.4 and above due to the presence of local integration engine which enhances the performance. and hence usage of RFC has diminished over the years.
    But in your case you already have a standard Idoc for processing. In this case you need to identify two things:
    i) Is the incoming payload huge? - In my personal experience if the interface is for Data migration stuffs for some legacy systems, best is to use proxy since in one single Idoc more than 100 records will result in some issues (i dnt remember the exact error but there will be error). For this you need to trigger an Idoc for each 100 or more data. And during Data Migration there will be huge records.
    ii) Whether the processing logic would not be easy to implement.
    If you can call the standard BAPI or FM from the server proxy and the data is huge go for proxy else go for IDoc.
    Hope this clarifies.
    Souvik
    Rewards point if helpul.

  • Difference between client proxy and server proxy

    hi all,
    could u explain me the differences between client proxy and server proxy,
    regards,
    AVR

    Hi AV,
    simple search in sdn may answer your question,
    There are two type of Proxy's in ABAP and JAVA(Clinet and Server),
    Clinet ABAP proxy used to send message from ANY SAP System to Integration server,in this case XI adapter not required .
    Server ABAP proxy used to send messages from Intergration server to any SAP System,in this case XI Adapter required.
    How to implement ABAP proxy comunication refer below link
    http://wiki.sdn.sap.com/wiki/display/stage/ABAPproxyproviderimplementationand+testing
    The sama way Client JAVA proxy used to send message to Integration sever from any Web Application ,
    Server JAVA proxy used to send messages to any destination system ,in both cases XI adapter required.
    refer below link
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab&overridelayout=true
    Regards,
    Raj

  • Link to Communication Channel and Adapter Monitoring not opening

    Hello All,
    we are on PI 7.0. In teh RWB, we are not able to see the Communication Channnel Monitoring as well the Adapter Monitoring It is giving Page cannot be Displayed.
    please tell us the way ahead.
    Regards
    Chakra and Somnath

    Hi Somnath,
    when the error occurs check the url of the page that cannot be displayed and verify if the hostname is correct.
    It could be a problem of not right setting in exchange profile.
    Also verify that you have enough authorization, trying to logon with PISUPER user if you can.
    Hope it helps,
    Regards,
    Sergio

  • JMS proxy and XA connection factory

    Hi all,
    I would like to ask you what is the best practice to adopt about the scenario described below.
    A JMS proxy retrieves a message and processes it.
    Any error could occurr during processing it and, in case of errors, the JMS proxy error handler publishes the message on ad hoc recovery destination D.
    (later another app will check failed messages for fixing & republishing them into ALSB).
    In that scenario we have the JMS proxy and the jms business service that, in case of errors, publishes on destination D.
    Should the JMS proxy and the business service use both a XA connection factory in order to perform all the above steps in one transaction ?
    Otherwise if the business service itself fails publishing on destination D, the message retrieved by the JMS proxy is lost and not re-delivered to the JMS proxy.
    Or XA connection factory is not needed and could I use
    Routing Options with exactly once or both are needed ?
    Thanks
    ferp

    Hi all,
    I did some tests and follow what I've achieved.
    Scenario 1.
    - Precondition
    -- A JMS proxy with XA factory + Error Destination (MyRecoveryQueue)
    -- A business service BS with XA factory that publishes into MyOutboundQueue
    -- No "exactly once" routing option used calling BS
    -- an error is forced in the pipeline
    - Flow
    -- proxy retrieves a message and try to publish it using BS
    -- an error is forced in the pipeline:
    --- transaction is rolled back, message redelivered to proxy
    --- the message is posted to the error destination after all the retries failed
    Scenario 2.
    - Precondition
    -- As 1. but no error is forced in the pipeline
    -- the MyOutboundQueue destination queue is paused
    - Flow
    -- proxy retrieves a message and try to publish it using BS
    -- BS fails to publish it on MyOutboundQueue (because it is paused)
    --- transaction is rolled back, message redelivered to proxy
    --- the message is posted to the error destination after all the retries failed
    Scenario 2A.
    - Precondition
    -- As 2. with MyOutboundQueue paused and resumed
    - Flow:
    -- proxy retrieves a message and try to publish it using BS
    -- BS fails to publish it on MyOutboundQueue (because it is paused)
    --- transaction is rolled back, message redelivered to proxy
    --- before all the retries failed the queue is resumed
    --- BS succeeds to publish the message
    Scenario 3.
    - Precondition
    -- A JMS proxy with NO XA factory + Error Destination
    -- A business service BS with NO XA factory
    -- No "exactly once" routing option used calling BS
    -- an error is forced in the pipeline
    - Flow
    -- proxy retrieves a message and try to publish it using BS
    -- an error is forced in the pipeline:
    --- transaction is NOT rolled back, message NOT redelivered to proxy
    -- so
    --- no message delivered to MyOutboundQueue2 destination
    --- no message delivered to MyRecoveryQueue2 destination
    --- message consumed from MyQueue2 and now is lost!
    To publish message into MyRecoveryQueue2 a proxy error handler has to be added and here added explicit publish to MyRecoveryQueue2.
    But naturally in that case if in the proxy error handler, the explicit publish fails or any error occurrs no message is delivered to recovery queue.
    So if I'm not using an XAFactory the message is auto-acknowledged as soon as it is read and I've to use XA factory if I want the message to be put back in the queue in case of errors and the retry to happen.
    So both my proxy service and business service use an XA factory.
    Regards
    ferp

  • Coding for ABAP Proxy and mapping

    Hi XI Ds
    which one need coding neither ABAP Proxy nor ABAP Mapping
    Thanks

    Hi Kushee  ,
    We need coding for both ABAP Proxy and mapping. We need to know some OO(Object Oreinted) ABAP concepts.
    We can also import JAVA CODE for certain functionality.
    Check the following websites for clarity:
    how to create a flat file out of an IDoc-XML by means of an ABAP mapping program and the J2EE File Adapter.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    cheers!
    gyanaraj

  • Abap proxy and java proxy

    Hi
    Could you plz tell me when should we select ABAP Proxy and when should java proxy ?? Is it like that in SAP systems we use ABAP proxy and non-sap systems we use JAVA proxy ??
    Thanks
    Kumar

    To connect to SAP system with WAS >= 6.4, ABAP proxy is used.
    <i>
    Is it like that in SAP systems we use ABAP proxy and non-sap systems we use JAVA proxy ?? </i>
    Not always. As i mentioned the limitation of ABAP proxy.
    Also, Java Proxies cannot be used for any non-SAP application. it is generally used for communication with Java Application
    Regards,
    Prateek

  • Proxy - File Adapter - "Still awaiting acknowledgment"

    Hi,
    I have a "Proxy -> BPM -> File" scenario and have configured acknowledgment. When the data is sent from proxy and written to file without errors I get the correct acknowledgment back to the R3 system. But when the file can't be written (FTP cant be reached) then  I get an error in the BPM step but get an Wait step in R3. "Still awaiting acknowledgment"
    sxmb_moni in PI:
    Processed successfully@ @Still awaiting acknowledgment           @ 04.08.2009 14:47:18 14:47:18     @R3System
    Processed successfully@ @Acknowledgment contains system errors   @ 04.08.2009 14:47:19 14:47:19 @Integration Process
    In SWWL I see this status:
    Waiting for event 'SEND_OK_TRANSPORT' of object type 'CL_SWF_XI_MESSAGE'
    Maybe it has something to do with the "Guaranteed delivery". It retries 4 times and maybe it is waiting for an retry limit or something. I am not sure.
    Any ideas on this one?

    Shouldn't this be a "Acknowledgment contains system errors" ?
    Are you implementing any logic once the deadline is met?
    To send the NACK to R3 you need to have a Send step in your Exception/ deadline branch which will send the required message to R3.
    A similar approach is shown here: /people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments
    Instead of the Control Step you need to have a Send Step.
    Update:
    Please note that any acknowledgement from AE will come into the BPM and will not go directly/ automatically to R3. The meaning of acknowledgement coming back to the Sender Application means ACK/ NACK to the BPM and not any other system.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Aug 5, 2009 2:48 PM

Maybe you are looking for