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
Similar Messages
-
hi,
can any one send me some documents on Java Proxy and ABBAP Proxy
regards,
Johnhi,
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# -
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 -
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 -
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.
-
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
KumarTo 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 -
Direct Connection ABAP Proxy and Java Proxy possible ????
Hi Folks ,
As i read as direct connection possible between 2 SAP systems only ..
and also i read as WS Direct Connection u2013 (Java) ..
What it means ?? is it ABAP Proxy to Java Proxy using Direct connection ?? Like Java Client Proxy and ABAP Server proxy
I am not clear on this.. Could you please explain or help me on this . ??
Siva..Hi ,
+You can do both for java proxies as well Abap proxies.+
As per the following points
1. Point-to-point connection is a new capability available with SAP NW PI 7.1. It allows applications or systems to send messages using WS-RM without going through a middleware, e.g. PI, but still using a centralized tool to design and
configure the interfaces and connection properties.
2. SAP XI 3.0/PI 7.00 or higher releases can be licensed based on the total volume of messages in
gigabytes (GB) that is processed per month. The size of the payload is determined in the integration
server. The information is then aggregated according to sender and receiver system.
Question :
1. If Message exchange between 2 SAP applications using direct connection .. Then dont we need to consider about licencing cost for volume of messages per month ?
2. So if i use ABAP Client Proxy to Java Server proxy scenario.. can i use direct connection ? Eg., SAP ECC to java application ?
In both the cases PI Runtime is not required .. Am i right ?
Please clarify..
Siva.. -
Easily switch between proxy and no proxy
I am looking for an easy way to swithc between using a proxy server (at work) and a direct connection (at home). I used to use a script that ran a sed on a bunch of configuration files to switch their network settings, but it would be much easier to point them all at something running locally and only need to change that. Any ideas?
I'm trying to do exactly the same. I've got it set up using squid, but I'm having issues with ports other than http. I've posted my problem along with my config files at http://bbs.archlinux.org/viewtopic.php?id=96471, so you can copy them to use as a starting point. The way mine works at the moment is I've set up squid and iptables so that an app, e.g. firefox, sees it as a direct connection regardless of where I am. At work I simply start the squid and iptables services, and at home I stop them.
Last edited by aquavitae (2010-05-03 07:57:13) -
Reverse proxy and iWS 6.1 SP2?
Hey all,
i have 2 questions.
Can i use reverse proxy (and pass proxy) with iWS 6.1 SP2?
How must i configure the webserver to use this?
I need the following thing:
Client called https://server111.de/XXXXTruePassApp/ ---> Proxy get Data from https://server222.de/XXXXTruePassAppProxy/
Under Apache looks like that with mod_proxy:
ProxyPass /eCaSSTruePassApp/ https://server222.de/XXXXTruePassAppProxy/
ProxyPassReverse /eCaSSTruePassApp/ https://server222.de/XXXXTruePassAppProxy/
Thanks for help.
Greets Chmeee-deChmeee-de, I really don't think you should be using Sun ONE Web Server 6.1SP2. That version has known security vulnerabilities. Please consider applying the latest service pack, 6.1SP7.
Have you downloaded the Reverse Proxy Plugin? Have you tried reading the Reverse Proxy Plugin release notes? The release notes for Reverse Proxy Plugin 6.1SP7 are at http://docs.sun.com/app/docs/doc/820-0262/6nc0vpnc2?a=view.
Once you have the plugin installed and have edited the magnus.conf configuration file according to the release notes, you can add the following line immediately below the <Object name="default"> line in the obj.conf configuration file:NameTrans fn="assign-name" from="/XXXXTruePassApp/*" name="XXXXTruePassApp"This line indicates that requests for /XXXXTruePassApp/* should be serviced by an object named XXXXTruePassApp.
You can then create an object named XXXXTruePassApp by adding the following to the bottom of the obj.conf configuration file:<Object name="XXXXTruePassApp">
Service fn="service-passthrough" servers="https://server222.de"
</Object> -
Regarding Error handling and customisation in RFC, Idocs and Proxy
Hi,
I wanted to compare RFC, Proxy and Idocs on the basis of the amount of customisation required in ECC when sending data from ECC to XI using the above stated means and also the error handling provided in these methods.
Please let me know in detail if possible.
Regards,
SampadaHi ,
Check this blog to know when to use which adapter:
/people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
we use proxy in sap 6.0 version or higher.
Basically used for adapter less communication
& very high volume of data has to be transfered.
Step for Configuration fo IDOC in R/3
1) RFC Destination (SM59)
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
2) Create Port (IDX1)
a) Select create new button
b) Enter the port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Load Meta Data for IDOC (IDX2)
a) Create new
b) IDOC Message Type
c) Enter port created in IDX1.
SAP R/3
1) RFC Destination (SM59)
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
2) Create Port (We21)
a) First Select Transactional RFC and then click create button
b) Enter the destination port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Create Partner Profile (WE20)
a) Create New
b) Create the Partner no. name as same the logical system name of the destination system.
c) Select Partner type LS
d) Enter details for Type: US/USER, Agent, and Lang.
e) Click on the + button to select the message type.
f) Select Partner no. and LS which ever create above.
g) Select Message type
h) Select Process code related to the Message type.
I) save.
In SLD System Landscape Directory
TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
Ts for Third Party (Logical system):-
BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
BS for Third Party (Logical system):-Enter the XI logical system name.
In Transaction SALE
Define and Assign the logical system name.
Regards,
Vinod. -
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 -
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 -
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
ferpHi 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 -
Can OSB proxy and business service act as a stub ?
Hi all,
would like to enquire whether I can achieve the following. I have a web service consumer. Can the consumer call a OSB proxy service and within the proxy service, I use XQuery and extract the body and perform some transformation. And the proxy service return variables to the consumer? Without calling any business proxy in the process
Can the proxy service act as a stub? Would I need a dummy business service for it?
Or my objective cannot be achieved in OSB?
Appreciate any thoughts.Hi,
Assuming the incoming body contains "name: Peter, age: 13". Can the return information contain "name:Peter, age:13, Status: N"Yes, it's possible too, in your Response XQuery Transformation u can add n number of additional fields, and send back to requester.
You can do both Translations and Transformations.
Can I also configure the proxy service not to call any business service?Have you made/generated your proxy service from existing Business Service?
If yes,: then your message flow would have only Route Node ( routing to Business Service).
1. To do transformations on request add a Pipeline Pair in message flow and inside it add stage for doing XQuery transformations.
2. Use Reply Action in stage as last Actions and do reply with Success.( The message flow won't go to Route actions after this ).
IF No : Then either remove the OSB Action which is being used to call Business Service.
It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
Regards,
Abhinav Gupta
Edited by: Abhinav on Mar 8, 2013 3:27 PM -
Give me description about JAVA Proxy Runtime and JAVA Proxy Server
Give me description about JAVA Proxy Runtime and JAVA Proxy Server with some examples.
Hi,
Java proxy runtime :
Using the Java proxy runtime you can receive messages or send messages to the Integration Server.
This will help you
http://help.sap.com/saphelp_nw04/helpdata/en/64/7e5e3c754e476ee10000000a11405a/frameset.htm
Java proxy server :
The connection to the Integration Server by using the Java proxy runtime.
This will help you
http://help.sap.com/saphelp_nw04/helpdata/en/87/5305adc23540b8ac7bce08dbe96bd5/frameset.htm
Regards
Agasthuri Doss
Maybe you are looking for
-
Hi, Can somebody pls provide me software for PDF to XML converter. Thanks, Nikesh Shah
-
Process version filter request
I would like to suggest that a filter for process version be added, either in the metadata filter or as an option for creating smart collections
-
IWeb generates error for each folder creation related to site & pageon .Mac
When I "publish all on .Mac", iWeb generates an error related for each Site/Page iWeb have to create as folders to .Mac. I have to create the necessary folders manually directly to .Mac. iMac Core duo 2 GHz Mac OS X (10.4.8)
-
I purchased the phone around 15days back, Since yesterday Automatically the phone has got into silent mode, No music is being palyed no ring tones and no Sound on Notification
-
When is it correct to create a CGLContextObj during application initialization
I am creating a realtime opengl application using a cocoa NSview but creating theCGLContextObj with c++. I have been struggling to understand when I can create the CGLContext. At first the creating was initiated in the applicationDidFinishLaunching c