• Post Reply Bookmark Topic Watch Topic
  • New Topic

how do we use XML-RPC to talk to Microsoft products from Java  RSS feed

 
Sri Kor
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sri Kor
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!