aspose file tools*
The moose likes Java in General and the fly likes pass xml on url? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "pass xml on url?" Watch "pass xml on url?" New topic
Author

pass xml on url?

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1277

how to pass xml file content to some url on server side???


No Kaustubh No Fun, Know Kaustubh Know Fun..
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

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?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1277

like i want to send it on webservices that's all i know brother..no idea about webservices also
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3071
    
  33

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?


Mohamed Sanaulla | My Blog
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19722
    
  20

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?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Sunny Bhandari
Ranch Hand

Joined: Dec 06, 2010
Posts: 448

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....


Java Experience
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1277

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

Joined: Oct 27, 2005
Posts: 19722
    
  20

So answer my previous question. Without knowing what the server expects we tell you how to send anything.
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1277

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

Joined: Oct 27, 2005
Posts: 19722
    
  20

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

Joined: May 13, 2010
Posts: 1277

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

Joined: Oct 27, 2005
Posts: 19722
    
  20

Ask the person that wrote the web service.
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1277

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

Joined: Jul 20, 2005
Posts: 10213
    
166

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.


[My Blog] [JavaRanch Journal]
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1277

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
 
subject: pass xml on url?