Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to pass an xml file as a command line argument

843834Nov 2 2005
hi,

i would like to know how to pass xml tags (not an xml file) while running java command. i have already compiled the code and i have a .class file generated. i need to pass this argument in the java command because i am calling a web service which requires an xml as parameter to it.
to be precise the java code contains soap request and i need to pass xml at run time.
pl do reply if you have any ideas or solutions...

Thanks in advance,
gnsinhyd
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 30 2005
Added on Nov 2 2005
0 comments
256 views