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#
Similar Messages
-
Java and abap proxy ganeration
hi all,
i am new to proxies,i need the complete scenarios for java proxy generation and abap proxy generation.
regards,
AVRhelp yourself;
ABAP
Client Proxy (Sender Proxy)- /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Server Proxy (Receiver Proxy)- /people/siva.maranani/blog/2005/04/03/abap-server-proxies
Java
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d -
Difference between client proxy and server proxy
hi all,
could u explain me the differences between client proxy and server proxy,
regards,
AVRHi 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 -
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
ShravanGHi,
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 -
Hello,
Pls let me know about Java Maping and ABAP Mapping
Also pls provide good simple scenario blogs for Java Maping and ABAP Mapping.
RegardsHi Ranchit,
Check these links for Mappings
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
https://websmp102.sap-ag.de/~sapdownload/011000358700003604872004E/MappingXI30.pdf (Need Service Makrket place ID)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8a57d190-0201-0010-9e87-d8f327e1dba7
JAVA Mapping BLOGS
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
ABAP Mapping Blogs
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
Sachin
Message was edited by:
Sachin Dhingra -
Hi Experts,
i am now confused about these two stacks: Java Stack and ABAP Stack.
for IR objects, like DT, MT, SI, MM, SM, Action, Process Integration Scenario
for ID objects, like profile agreements, receiver determination, interface determination,
1. where are these objects stored in? Java or ABAP stack?
and i know Adapter Engine is run on JAVA Stack while Integration Engine is on ABAP Stack.
2. how do they call the objects stored in different stack during processing?Hi,
1. where are these objects stored in? Java or ABAP stack?
These objects are basically developed on the JAVA stack, when they are activated their runtime version is created on ABAP stack, which you can check in SXI_CACHE transaction.
2. how do they call the objects stored in different stack during processing?
Runtime versions of these objects are responsible for the execution of the interfaces.
-Supriya. -
How is the interface between the Java Stack and ABAP stack is achieved?
How is the interface between the Java Stack and ABAP stack is achieved?..Please send me the answer to [email protected]
Hi,
By interface, I assume you mean the connection between the ABAP and the Java stacks in a double stack system.
The connection from Java to ABAP is through JCo connections defined in the WebDynpro section of the J2EE start page. So Java to ABAP requests are processed through JCo.
The connection from ABAP to Java is through RFC connections defined in TA SM59. The ABAP to Java requests are processed through RFC.
Refer https://dsd.esco-salt.com/StartPage/documents/integration/3.html for detailed explanation.
The UME can be maintained in either ABAP or in JAVA depending on the persistence.
Refer: http://help.sap.com/saphelp_nw70/helpdata/en/5b/5d2706ebc04e4d98036f2e1dcfd47d/frameset.htm
Check UME data source configuration.
Some quick FAQs can be found at:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad47eb90-0201-0010-7cb2-ddfa5ed879ec
Hope this helps.
Best Regards,
Srividya.R -
Installing Java Stack and Abap Stack, same machine.
Hi all:
Does anybody installed Java Stack and Abap Stack on the same machine?
I installed ABAP stack first, and am trying now to install Java stack but it seems like at the end of the process, ABAP stack. (is not working now).
Any idea?Not sure about installing both as I haven't tried either!
Anyway, in theory if the SIDs and instance numbers are completely different, then you should be OK. If you ahev the same SID or instance number, I can see possible problems,
Portal only runs on Java, so in theory any Java system will be OK. NWDW would be a good choice. -
Difference java stack and abap stack
hello experts,
Difference between java stack and abap stackHi
ABAP Stack
The application data in the SAP system is accessed in
the ABAP stack via platform-independent ABAP programs.
ABAP stack is used to run ERP applications mainly MM,SD,FICO etc
Currently in most of the installation you can found mixed stack(ABAP+JAVA)
JAVA Stack
The Java side of the SAP Web AS is often referred to as SAPWeb AS Java or
as the Java stack.
This central SAP Web AS Java instance consists of two separate
instances plus one special application, the Software Deployment Manager (SDM).
These two separate instances that build the central SAP Web AS Java instance are
a standard SAP Web As Java instance, offering a Java dispatcher process and one
or more Java server processes and the so-called SAP Central Services instance
(SCS). The SCS instance offers two processes, exclusively used by the Java side
of the SAP Web AS: the enqueue services and the message service. These two
services only work for the Java side of the SAP system.
Java Stack is mainly used for SAP Portals and you can host Internet/Web based application written in JSP/EJB ,Java Stack uses Java Threads to run application,
Also, Xi requires Double stack
ABAP + JAVA Stacks
Bcoz some components are developed on JAVA
Some components are developed on ABAP Based.
JAVA:
Integration Builder
SLD
Adapter Engine
Runtime Workbench
ABAP:
BPE
Integration Engine
Integration Engine and the Integration server reside on the ABAP Stack. All the Execution of the IS part will be done on ABAP Stack. we can monitor the processed XML messages also in SXMB_MONI( ABAP Stack)
Adapter Engine will reside on the JAVA Stack. All the IR, ID, SLD, RWB Application are developed on JAVA Stack, so thats why we need JAVA Webstart to run these Applications
All the Adapter related Errors we can see in RWB, Communication channel monitoring( Developed and sits on JAVA stack)
Hope this clears your doubts
Thanks
Saiyog -
JAVA Stack and ABAP Stack not in Sync
Hi,
when i logged into the MI Server(7.0) gonr thru the following navigation :
Administration-->Mobile Infrastructure---->Mobile components
which i click on the search button i am getting the following error
"JAVA Stack and ABAP Stack not in Sync"
Already i redeployed the sapjra.rar, still i find the error unchanged.
Any help on this would be great........
Thanks,
vijay.Hi
Refer this link
Need to Configure MI Server 7.0
As explained by veeraragavan in this link follow these steps
Following are in brief the roles required, just forward the same to your BASIS administrator.
In the ABAP Stack -Under Transaction SU01:
End User:
SAP_MI_SERVICE
Administrator / Critical Developers:
SAP_J2EE_ADMIN
SAP_MI_ADMIN
In the J2EE Stack - Under Identity Management:
End User:
No role required. You can give a role for display: SAP_JAVA_NWMOBILE_ADMIN_READONLY
Administrator / Critical Developers:
SAP_JAVA_NWMOBILE_ADMIN_SUPER
regards
Manohar
Edited by: Gouri Manohar Gadhamsetty on Jan 19, 2009 7:17 AM -
JAVA API AND ABAP API SIMPLE SCENARIO
Hello MDM gurus
I have never used any Java API or ABAP API to leverage and present MDM functionalities on front end systems like portal,etc...
Could you please give me all the required to play around with JAVA api and ABAP api's.
Points will be given to every valuable answer.
ThanksHi Nazeer,
In order to use Portal you need Java APIs and to start with refer the MDM Java docs to get the basic idea of various classes and methods to be used in developing the simple java application and access it using portal.
http://help.sap.com/saphelp_mdm550/helpdata/en/47/9f23e5cf9e3c5ce10000000a421937/frameset.htm
Sample code for Duplicating Repository
public class TestDuplicateRepository
public static ConnectionPool simpleConnection;
public static RepositoryIdentifier repIdentifier,repIdentifier1;
public static String session;
public static String connection = "MDMServer_Test";
public static String repository1 = "Test_Repository";
public static String repository2 = "Test_Duplicate";
public static DBMSType dbmsType = DBMSType.MS_SQL;
public static void main(String[] args)throws CommandException, ConnectionException
//Creating Connection.
simpleConnection = ConnectionPoolFactory.getInstance(connection);
//Establishing connection with Repository.
repIdentifier = new RepositoryIdentifier(repository1, connection, dbmsType);
repIdentifier1 = new RepositoryIdentifier(repository2, connection, dbmsType);
//Creation Sever Session.
CreateServerSessionCommand createServerSessionCmd = new CreateServerSessionCommand(simpleConnection);
createServerSessionCmd.execute();
session = createServerSessionCmd.getSession();
//Authenticating Server Session.
AuthenticateServerSessionCommand auth= new AuthenticateServerSessionCommand(simpleConnection);
auth.setSession(session);
auth.setUserName("Admin");
auth.setUserPassword("Admin");
auth.execute();
session = auth.getSession();
//Duplicate Repository Command
DuplicateRepositoryCommand duplRepCmd = new DuplicateRepositoryCommand(simpleConnection);
duplRepCmd.setDBMSUserName("sa");
duplRepCmd.setDBMSUserPassword("abc");
duplRepCmd.setSession(session);
duplRepCmd.setSourceRepositoryIdentifier(repIdentifier);
duplRepCmd.setTargetRepositoryIdentifier(repIdentifier1);
duplRepCmd.execute();
Similarly you can try with Getting server version, Archive repository and then move on to adding,modifying records etc.
For ABAP APIs refer the below link
http://help.sap.com/saphelp_mdm550/helpdata/en/44/93aa6e31381053e10000000a422035/frameset.htm
Regards,
Jitesh Talreja -
RWS.Proxy and ECP.Proxy health checks, localhost, and SSL
RWS.Proxy and ECP.Proxy health sets are both failing. In both of the errors, I find the following:
[000.000] Starting HTTP request task
[000.000] Waiting 59000 ms
[000.000] Issuing GET against https://localhost/ecp/
[000.000] Awaiting GET response
[000.000] Performing SSL validation
[000.000] Performing SSL validation
[000.000] Failed with exception: The underlying connection was closed: An unexpected error occurred on a receive.
[000.000] Starting HTTP request task
[000.000] Waiting 59000 ms
[000.000] Issuing GET against https://localhost/ecp/ReportingWebService/
[000.000] Awaiting GET response
[000.000] Performing SSL validation
[000.000] Performing SSL validation
[000.000] Failed with exception: The underlying connection was closed: An unexpected error occurred on a receive.
We require SSL on all connections. We use a third party certificate with multiple SANs. Since the probe is trying to use https://localhost, it fails because the name doesn't match.
I figure I have a few options: first, is there a way to change the URL that the probe uses to check. This seems to me to be the 'rightest' way I could fix this. Second could I alter the binding of the site so that the localhost hostname uses a dedicated,
self signed, trusted cert? Last, is there any way to simply disable the specific probes? We're a single server low volume setup and I'm not convinced that I need the probes anyway.
IS this a common issue? Outside of the warnings that SCOM throws at me, it is also causing a large volume of logs to be generated.
Justin Cervero - MS Enterprise Admin - Appalachian State UniversityHi,
I am afraid it’s hard coded. Just like the “Test-Outlookwebsiervices” command, it will also try the “localhost” and reports errors about certificate host name mismatch issue.
We can safely ignore this report.
Thanks,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Simon Wu
TechNet Community Support -
How could JAVA API and ABAP API useful to MDM.
Hi Experts,
How could JAVA API and ABAP API useful to MDM, and any coding in Java or ABAP is required in MDM.Hi Reema,
Java API and ABAP API are verry usefull to MDM to integrate MDM with other SAP componants like SAP R\3, EP etc. :
It dose not required any coding in MDM infact in JAVA API coding can be done on NWDS(Netweaver Developer Studio).And for ABAP API coding is done on SAP R\3 System in ABAP editor.
JAVA API:
By using Java API MDM client operations can be performed.For one need to install NWDS and to deploy some .jar files and with the help of standard classes and interfaces it can be connected to MDM server and various operations like create repository ,connect to repository ,Data mainuplation etc.
ABAP API:
Suppose you have an Expert abaper and you want him to perform MDM operations.In that case he need not to learn MDM basic Data types infact by doing some settings on R\3 and MDM server side an ABAPer can perform
MDM Cnsole and MDM Data Manager level operations.
you can go through these links
http://help.sap.com/javadocs/MDM/SP06/overview-summary.html
/people/bv.pillai/blog/2006/11/28/installing-mdmtech-add-on-and-configuring-the-mdm4a-mdm-for-abap-api
Here the coding is done on SAP R\3 system.
hope it will give you some idea about Java API and ABAP API
Reward if helpful
Thanks ,
Vinay Yadav -
Trasnparent proxy and reverse proxy at the same time
Can I have in a Content Engine v 4.2 transparent proxy and reverse proxy at the same time ?
Yes, as long as you are not redirecting the two services on the same interface. One service takes precedence over the other and I believe transparent web-cache redirect takes precedence over reverse-proxy.
-
Message flow in SAP PI 7.31 JAVA only for ABAP Proxy synchronous scenario with Oracle DB
Dear Experts,
I am working on a synchronous scenario Sender ABAP Proxy <===> SAP PI 7.31 JAVA only <===> Oracle Database.I have successfully
configured all the proxy configurations as well both Sender SOAP and JDBC receiver channels are showing no error when pinged from
Cc monitoring in NWA.
1.During testing at Tx SPROXY , I am triggering a message and after 5 minutes I receive an PARSING error message with 2 messages in ECC
local IE i.e. Tx SXMB_MONI.
Note : In NWA , I can see only 1 message that too in cancelled status.
2.Seeing the trace of the messages I assume that the messages have not moved from sender ECC system. I am still confused with flow of message
from the Message Audit log. Audit log of error messages.Could any one share the full Audit log of a successful message generated in SAP PI 7.31 JAVA only.
3.I observed that the QIN Scheduler status in ECC is in INACTIVE status. There is no queue id for 2 messages generated in ECC. Does
it should in ACTIVE status in Tx SMQR..
Regards
RebeccaHi Thomas,
Valuable inputs..
1. Since I don't have any audit log for successful message, would you be able to share referring to the
below screenshot whether the message was put into receiver JDBC adapter and JDBC adapter tried to retrieve the Select response from Oracle Database.
2.I have done some setting in Advance mode of the receiver JDBC to increase the time out and other parameters as per SAP note but still the issue is same. If you perhaps have some experience in such scenarios, please share some input so that I can ask the Oracle Database administrator exactly what is required from our side.
3.Regarding the slow response from Oracle , there was some suggestion that the datatype of the request and response should match the column name of the Oracle database. I did that.. Do you have any more suggestion that may be hampering the generation of the response message from the Oracle like SAP note or document.
Regards
Rebecca
Maybe you are looking for
-
Object reference not set to an instance of an object in treeView
Hello I wrote this code. I have this Error "Object reference not set to an instance of an object" on " MessageBox.Show(tn.Text);" in " MaintreeView_BeforeSelect ". #region Remove BackColor of all treeview nodes private void ClearBackColor() TreeNode
-
Can't see the time on my set top box
I don't know why, but the time doesn't show on my set top box, even though it's set to show clock. This happens 2 of the televisions where I will walk into the room and it is showing the channel instead of the time. I continually look on the menu and
-
It is amazing how little Verizon cares about consumers
This is a copy of email sent to Daniel S Mead and the corporate office. What i got was a call back from a Verizon rep who made no comments about any of the issues and simply asked if the phone works and if the issues are resolved. No one has address
-
Hi, I have a alv grid control using class. I want the excel to be embedded in ALV without using the change layout or the view button available in the standard ALV. Meaning I want the Excel to be shown in the first display of ALV.Can anyone tell me ho
-
VoiP on Nokia E51 - Help Needed Urgently !!!
I am located in Copenhagen Denmark and I use a wireless network to connect to the internet. My Nokia E51 is also able to detect the same network when I scan for WLAN. However when I try to use it to make a net call it says ''NO WLAN COVERAGE FOUND''.