Page 1 of 1
how to post XML document over HTTP?
Posted: Mon Dec 06, 2010 11:53 am
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
Re: how to post XML document over HTTP?
Posted: Mon Dec 06, 2010 12:34 pm
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