cancel
Showing results for 
Search instead for 
Did you mean: 

How can I Connect to a XI with JAVA

Former Member
0 Kudos

Hi, how can I connect to an XI server, with a java application?

any help will be great!

thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Have u tried Java Proxies to connect to SAP-XI system..?

Refer to these docs....

<b>Java Proxies and SAPXI-- The Inside story, part-1 and part-11</b>

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/java proxies and sap xi - the inside story, part 1.pdf

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/java proxies and sap xi - the inside story, part ii.pdf

teh flooing links will help u to connect SAP-XI--> to --> Java applicaitons..

<b>Java Server Proxies</b>

/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy

/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy

Cheers,

Siva Maranani.

Message was edited by: siva maranani

Former Member
0 Kudos

Hi, thanks for the ansewer!

but I need to connect by SOAP.

I have a new problem.

I use SAAJ, this is a part of code

SOAPConnectionFactory soapConnFactory = SOAPConnectionFactory.newInstance();

SOAPConnection connection = soapConnFactory.createConnection();

URL destination = new URL("https://host:port");

SOAPMessage reply = connection.call(message, destination);

(message is the XML code)

but the application has the following error:

com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post

GRAVE: SAAJ0009: Fallo en el envío del mensaje

I think, maybe is a authentication problem, because the XI server needs it. But I don't have idea how can I send the user and pass

Any IDea???? please

thanks in advantage

Former Member
0 Kudos

sorry for wrong inputs..

Message was edited by: siva maranani

Answers (0)