Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Transform a webservice method from C# to Java  RSS feed

 
Annalisa Alfieri
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,
I have to write a Web service that must expose a method called Registration. The following example shows an implementation of this method written in C#(???).
It comes from Office.
Could you help me to transform it in java?


And this is the response from provider:



Thanks a lot for any helps.

Fairlie
 
Vijitha Kumara
Bartender
Posts: 3973
24
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The argument to the method has never been used in the method, you might want to look at it first.

First you may have look at different files referred in the code (xml files etc...) and a sample input and output and compare each. Then you should be able to see the logic behind each line (from a completely novice's PoV of the language used).
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The standard Java library for XML manipulation has all you need to build a DOM of the XML document in memory and extract items with XPath statements.

Harold's book on processing xml with java is freely available on line and shows plenty of examples.

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!