• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

It is very urgent plz help me.....

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
please help me....I am new to web services and iam doing one program.
i am having one java file in which method takes the xml file and parses it and stores the data to database tables through stored procedures.i want to publish the method as web service. but i am not getting any idea how to pass the xml file to web service from client program.
plzzzzzzz help me.

Thanks
venu
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i am assuming that you have developed service which take xml as argument.
then problem is inorder to pass the xml as argument to that service right.

ok.then write a client program using (dynamic invovation interface)
and while calling the service pass the Document instance(which you get
from the DOM Parser.ok.

all the best
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Venu,

in order to get the most out of the forums, we have put together a page with helpful advice on HowToAskQuestionsOnJavaRanch. You might want to check out EaseUp and UseAMeaningfulSubjectLine in particular.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
U need to publish the service with DataHandler as the argument of the function
for example:
public void getXmlFile(DataHandler file){
----
}
DataHandler of activation framework..............
 
money grubbing section goes here:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic