cancel
Showing results for 
Search instead for 
Did you mean: 

How to call XI Exposed webservice from J2EE

Former Member
0 Kudos

How to call XI exposed webservice from J2EE not Java webdynpro, the J2EE client is not running on netweaver, and how to pass UserID and Password to it.

Accepted Solutions (0)

Answers (2)

Answers (2)

aashish_sinha
Active Contributor
0 Kudos

Hi,

In any B2B scenario, you're going to have stricter security requirements. XI and other SAP applications in the vast majority of cases reside within the internal network of a company, as I'm sure it does for your company A. It is recommended to have some kind of reverse proxy/web switch hardware/software residing in the DMZ to intercept the external request. Direct requests (especially HTTP) by most, if not all, companies will not be allowed to freely pass to applications within a company's intranet.

SAP has something called the Web Dispatcher that is commonly used for such a purpose. You can find more info on it at the following link:

http://help.sap.com/saphelp_nw04/helpdata/en/42/5cfd3b0e59774ee10000000a114084/frameset.htm

You'll also find some visuals and more security related topics at the following link:

http://help.sap.com/saphelp_nw04/helpdata/en/d9/ef2940cbf2195de10000000a1550b0/frameset.htm

In addition, you'll probably require a more secure transport protocol like HTTPS/SSL as well.

  • this is a reply of Jin Shin in another thread.

Also try these links :

http://help.sap.com/saphelp_erp2004/helpdata/en/31/daa0404dd52b54e10000000a1550b0/content.htm

http://help.sap.com/saphelp_erp2004/helpdata/en/54/048d40e802ce62e10000000a155106/frameset.htm

You can create SOAP Request from WSDL using the following tool.

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916e...

Regards

Aashish Sinha

PS : reward points if helpful

VijayKonam
Active Contributor
0 Kudos

To call any web service you would need the corresponding the WSDL for it. Once you import this WSDL in your JAVA IDE< it would genrate the necessary objects required for the call. The java API should have means to pass the user id and password. You can search this at any java forums.

VJ