cancel
Showing results for 
Search instead for 
Did you mean: 

Program sending an XML message to IP

Former Member
0 Kudos

Hi every body,

I have to create two programs; I think these are easy to do but I have not work until now with XML messages.

These programs have to be the interfaces with another non-sap system.

  • In the first interface I have to generate and XML message and send it to an specified IP address.

  • In the second interface I have to receipt xml messages from this IP address.

I have not XI as middelware ; do you know some functions to do it?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

gaurav_modgil
Participant
0 Kudos

Hi Javier,

Assuming that you are familiar with Java Programming Language i would make the following suggestions,

1. Get an Introduction to Java APi for XML. The following link should help you

http://www.developer.com/java/other/article.php/3099751

2. Since the netweaver application already supports java you chould use it to publish xml content to the desired destination.

A better way is to have the reciving location also runnig a Java Server(Tomcat for instance) which has a java servlet running and acception connections.

Once your sending application connects to this recieving application through RMI or standard service calls(choice is in your hands).

In other scenario, you chould have the second system(where you are publishing your XML docs) provide some services which can both recieve as well as provide content.

your NW system would simply have to make a service request for bothe the processes.

Hope this helps,

Regards,

Gaurav

Former Member
0 Kudos

Hi Gaurav;

Thank for the reply; but I am not expertise in Java language. I know the ABAP language.

¿How can I do it in the abap scenario?. ¿Do you know?.

Thanks in advance again. Javier.

gaurav_modgil
Participant
0 Kudos

No Issues,

Try the Following document,

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/244e7923-0a01-0010-5887-fe0b0c6d...

It helps you create a web service in ABAP.

a Web Service can be accessed easily from outside the r3 system.

Try using java, it makes your work a lot easier, and you dont need to be an expert.

Do a Little googling and you will get the code too

Best regards,

Gaurav

Answers (0)