cancel
Showing results for 
Search instead for 
Did you mean: 

Command line utility

Former Member
0 Kudos

Hi,

I have to invoke the webservice thro' command line utility. Could you please tell me how to make this possible?

Scenario: Give some inputs thro' command line utility -> Webservice will take that input values which was sent via command line utility and pass it to XI-> The request process will be done in XI -> The response will be back to Webservice.

Regards

Sara

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi-

Check this links if its helpful

http://help.sap.com/saphelp_nw04/helpdata/en/bb/c7423347dc488097ab705f7185c88f/frameset.htm

/people/sap.user72/blog/2004/01/30/command-line-help-utility

Former Member
0 Kudos

Hi Michal & Vinod,

Thanks for the information.

Regards

Sara

Answers (2)

Answers (2)

Former Member
0 Kudos

something similar to what we had...:)

and what we did was.

1. Have a XI scenario with Sender SOAP --> XI --> Target specific adapter

2. Get the WSDL for the sender SOAP.

3. Create a standalone proxy from the WSDL using NetWeaver developer studio

--> http://help.sap.com/saphelp_nw04/helpdata/en/77/1484b9ecb98c41af4a01131d8d46d3/content.htm

4.Use the API library thus generated in a Java program to accept input from may be another Java program / Shell script / Windows batch prog....

n you are done...

HTH..

MichalKrawczyk
Active Contributor
0 Kudos

hi Sara,

if you need to invoke command like you would need to create

your own java proxy or adapter

as XI can only invoke commands with the use of other adapters

(like file adapter)

1. create a report in ABAP that will be scheduled

to run every (hour etc.) and it will send a dummy message to XI and invoke your proxy that will execute the command

line

2. then the WS will get executed and will send a message to XI (soap sender adapter) and XI can return something

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>