cancel
Showing results for 
Search instead for 
Did you mean: 

Jakarta Library for Java Proxy

Former Member
0 Kudos

Hi Experts !!!

I'm developing a java proxy for integration with a http server that only supports get method.

I´m using httpClient libraries of jakarta.

I have a question,

where jakarta library must be referenced ?

The library must be deployed like external library on J2EE engine ?

or

This library can be included into ear file ?

When the library reference on application-j2ee-engine.xml must be added ?

Thanks for help me.

Best regards.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I read the following blog

On this blog Amol Joshi said that jakarta libraries can be used for HTTP get (with Java Proxy) instead of HTTP Adapter, because this adapter only supports POST method.

Regards

stefan_grube
Active Contributor
0 Kudos

You do not need Jakarta as HTTPclient is part of J2EE server.

Maybe you could use this for compiling, when you do not know the SAP library.

But you need not deploy this on J2EE server.

Former Member
0 Kudos

Hi

My understanding with your requirement is you wanted to use Java proxy as the HTTP client. Then try using Open libraries as external . keeping then in ear can give error.

Thanks

Gaurav

Former Member
0 Kudos

HI

You need to use SAP Libraries to make the java proxy working. XI will not recognize open libraries and it will be difficult to make a communication using them.

using HTTP client libraries you can develop client and use the HTTP adapter instead going for java proxy

More over as suggested above if you are on 7.1 use the AXIS framework instead of proxy.

Thanks

Gaurav

stefan_grube
Active Contributor
0 Kudos

This is not possible. Use sapxmltoolkit and other SAP libraries instead of open source libraries.

In 7.1 there is an option for using Java Proxy clients based on axis libray, which can be used instead of Java proxies.

Former Member
0 Kudos

i guess 2 options

1) you can just include the .jar files in the same ear and deploy the ear file

2) Create library using the .jar and deploy. Then reference the library in the ear ( application** ).

i think option 1 will be much simpler.