Welcome Guest, Not a member yet? Register   Sign In
post xml to server
#1

[eluser]Unknown[/eluser]
I need to send the following xml to a remote server
Code:
<?xml version="1.0" encoding="UTF-8"?>
<Query>
<Options MaxResults="50" />
<AvailableProducts QueryId=”MyGenericQuery”>
<Include>
<Descriptions />
<Media>productpic</Media>
</Include>
<Constraints>
<ProductType>available</ProductType>
</Constraints>
</AvailableProducts>
</Query>

I tried using curl first but I had no luck...now I'm trying with xml-rpc but I am not sure what name I should put for the method.

The only other info I have is the url where I need to post everything

http://www.example.com/example/example.xml


Can I achieve anything using XML-RPC or should I keep on trying with curl?


Messages In This Thread
post xml to server - by El Forum - 04-04-2009, 10:42 AM
post xml to server - by El Forum - 04-04-2009, 01:01 PM
post xml to server - by El Forum - 04-04-2009, 03:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB