File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pass xml on url?

 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to pass xml file content to some url on server side???
 
Maneesh Godbole
Saloon Keeper
Posts: 10971
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Surely, after ~500+ posts, you would provide more information.
What is the client? What do you have on the server? What have you thought/tried?
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
like i want to send it on webservices that's all i know brother..no idea about webservices also
 
Mohamed Sanaulla
Saloon Keeper
Pie
Posts: 3159
33
Google App Engine Java Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean- When a particular URL is invoked- it returns an XML content? or you want to send XML file to certain URL- which I suppose would mean- file upload?

 
Rob Spoor
Sheriff
Pie
Posts: 20381
46
Chrome Eclipse IDE Java Windows
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First you need to check out what the web service expects. Does it need the XML as the full POST body, or as the value of a parameter?
 
Sunny Bhandari
Ranch Hand
Posts: 448
Eclipse IDE Firefox Browser Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Without knowing more details its difficult to help.

I can think of socket programming, upload content to a file on third party server etc.

More details will definitely help us....
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohamed Sanaulla wrote:Do you mean- When a particular URL is invoked- it returns an XML content? or you want to send XML file to certain URL- which I suppose would mean- file upload?



I want to send XML file to certain URL.... thanks
 
Rob Spoor
Sheriff
Pie
Posts: 20381
46
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So answer my previous question. Without knowing what the server expects we tell you how to send anything.
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using application server glass fish and webservice and need to send url of the file which is saved on the main server system..

Please let me know if you need more info regarding it...
 
Rob Spoor
Sheriff
Pie
Posts: 20381
46
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Spoor wrote:First you need to check out what the web service expects. Does it need the XML as the full POST body, or as the value of a parameter?

This is the last time I'm going to repeat that question. And no, saying you use Glassfish does not answer that question.
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Spoor wrote:
Rob Spoor wrote:First you need to check out what the web service expects. Does it need the XML as the full POST body, or as the value of a parameter?

This is the last time I'm going to repeat that question. And no, saying you use Glassfish does not answer that question.


Dear sir I don't have a little idea about this web services please tell me how i can check that?
 
Rob Spoor
Sheriff
Pie
Posts: 20381
46
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ask the person that wrote the web service.
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know him sir...Will you please let me know about him..?
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kaustubh G Sharma wrote:I am using application server glass fish and webservice


I don't know him sir...Will you please let me know about him..?


I don't think anyone here has any idea about which webservice you are talking about. So take it one step at a time:

1) Do you know what the requirements are? Keep aside how it's implemented
2) Have you been given some instructions on what to use? Like that webservice? If yes, then ask the person who gave those instructions on what exactly the webservice expects.

 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jaikiran Pai wrote:
Kaustubh G Sharma wrote:I am using application server glass fish and webservice


I don't know him sir...Will you please let me know about him..?


I don't think anyone here has any idea about which webservice you are talking about. So take it one step at a time:

1) Do you know what the requirements are? Keep aside how it's implemented
2) Have you been given some instructions on what to use? Like that webservice? If yes, then ask the person who gave those instructions on what exactly the webservice expects.



Aye Aye Sir... Let me gather this information.. Then I'll get back to you on this..Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic