| Author |
how do we use XML-RPC to talk to Microsoft products from Java
|
Sri Kor
Ranch Hand
Joined: Sep 03, 2001
Posts: 35
|
|
Hi, I need to implement an interface between Java and the existing microsoft based applications. I came to know that XML-RPC is better than SOAP and CORBA. Could anyone tell me, how I can use XML-RPC to do this task. Thanks, Srikanth
|
SCJP2<br /> <br /><a href="http://www.primeguru.com" target="_blank" rel="nofollow">Share Your Personal Experiences</a>
|
 |
Kyle Brown
author
Ranch Hand
Joined: Aug 10, 2001
Posts: 3879
|
|
And exactly how did you come to know this? Did the "Experts" who told you this inform you that support for SOAP is built into Microsoft Visual Studio and most Java Application Servers nowadays, while you have to hand-craft any XML-RPC solution? Kyle
|
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
|
 |
Sri Kor
Ranch Hand
Joined: Sep 03, 2001
Posts: 35
|
|
I don't care, if it is supported in Websphere or Visual Studio. I want performance. I learnt this information from few other discussions. Also, I have seen a product which didn't go to the market because of the bad performance of SOAP. I still have the question that I posted earlier. I appreciate anyone giving me any help. Thanks, Srikanth [ October 11, 2002: Message edited by: Srikanth Koritala ]
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12269
|
|
If you only need a simple request-response type of interaction, I would suggest that you get it working with SOAP, then cheat by taking the SOAP request message text as a set of constant strings and plugging in your request parameter(s). On the receiving side, don't parse the returned SOAP message, just grab the text as a giant byte[], locate the returned data and pull it out. Just like screen-scraping. (I am assuming you have no control over the MS application) Of course you forego lots of SOAP capabilities but it will be fast. Bill
|
Java Resources at www.wbrogden.com
|
 |
Kyle Brown
author
Ranch Hand
Joined: Aug 10, 2001
Posts: 3879
|
|
Originally posted by Srikanth Koritala: I don't care, if it is supported in Websphere or Visual Studio. I want performance. I learnt this information from few other discussions. Also, I have seen a product which didn't go to the market because of the bad performance of SOAP. I still have the question that I posted earlier. I appreciate anyone giving me any help. Thanks, Srikanth [ October 11, 2002: Message edited by: Srikanth Koritala ]
Again, who's feeding you this? The MAJOR performance component of any XML protocol (either SOAP or XML-RPC, which are nearly IDENTICAL by the way) is in the XML parsing and generation. There's no magic bullet there. XML over HTTP takes a certain amount of time to generate and parse. Speed is NOT the reason to go with an XML protocol other than SOAP -- pick a binary protocol if you want speed... Kyle
|
 |
Sri Kor
Ranch Hand
Joined: Sep 03, 2001
Posts: 35
|
|
Hi william, Thank you for your information. After posting this message, I searched for related information and found some responses given by you. I appreciate your time. Srikanth
|
 |
 |
|
|
subject: how do we use XML-RPC to talk to Microsoft products from Java
|
|
|