how to post XML document over HTTP?

Questions about XML that are not covered by the other forums should go here.
thinkboy
Posts: 1
Joined: Mon Dec 06, 2010 11:28 am

how to post XML document over HTTP?

Post by thinkboy »

may I know how to post a XML document over HTTP by POST?

I am using XML Editor, enterprise version. please help!

- Manchi
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: how to post XML document over HTTP?

Post by Radu »

Hi,

If the HTTP server to which you are trying to save the XML document is WebDav enabled you can use the Oxygen Save to URL action from the File menu to save to the server. The used HTTP method in this case is PUT.

If this is not possible in your case you can either:
1) Create a Java extension plugin for Oxygen and contribute an action for this:
http://www.oxygenxml.com/developer.html#Plugins

2) Use this workaround:
Go to the Window main menu->Show view and show the WSDL SOAP Analyser view. If you have an Oxygen version older than 12 you can show a view using the Perspective main menu.

In the URL field you can edit and set the server URL to which to POST.
In the Request field you can set the XML content to send.
The WSDL SOAP Analyser uses POST to send content to the HTTP server so it should work...

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply