• 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
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

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: 43028
76
  • 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..............
reply
    Bookmark Topic Watch Topic
  • New Topic