Click to See Complete Forum and Search --> : Using an XML interface


vonshavingcream
07-22-2009, 07:23 AM
I know this is probably specific to each application, But I figured I would ask any anyway.

I am trying to use the Http/Xml interface included with a web based software package we use here called Xerox DocuShare.

Specifically the Search feature.

I have no problems understanding XML or programming for that matter. I just don't understand how to run the required XML request against the server to receive the response XML data.

Can someone explain the concept of "posting" the XML file to the server to receive a response? I just don't understand it.

I am attaching the documentation if it helps. The search feature specifications are listed on page 79 of the document.

Thanks for any help / info you can provide.

-C

DocuShare HTTP_XML Interface Protocol Specification.pdf (http://www.severndigital.com/things/DocuShare HTTP_XML Interface Protocol Specification.pdf)

infonote
07-22-2009, 08:34 AM
The following might help:
It explains how the XMLHTTPrequest works.

http://www.w3schools.com/XML/xml_http.asp



I know this is probably specific to each application, But I figured I would ask any anyway.

I am trying to use the Http/Xml interface included with a web based software package we use here called Xerox DocuShare.

Specifically the Search feature.

I have no problems understanding XML or programming for that matter. I just don't understand how to run the required XML request against the server to receive the response XML data.

Can someone explain the concept of "posting" the XML file to the server to receive a response? I just don't understand it.

I am attaching the documentation if it helps. The search feature specifications are listed on page 79 of the document.

Thanks for any help / info you can provide.

-C

DocuShare HTTP_XML Interface Protocol Specification.pdf (http://www.severndigital.com/things/DocuShare%20HTTP_XML%20Interface%20Protocol%20Specification.pdf)

vonshavingcream
07-22-2009, 09:53 AM
I acutally got it to work. My XML wasn't really the problem.

I needed to use the PHP value


$req->addRawPostData('xml here');


this posted the XML to the server.

Thanks though.
-C