Anyone Gotten FM 13 New Httppost Command to Work?

Discussion created by smower on Dec 4, 2013
Latest reply on Mar 28, 2014 by iamsloper



Has anyone gotten the FileMaker 13 httppost to work on anything other than the help file example? Can it be used to post xml documents to eBay, FedEx, UPS, Amazon etc.? I have been trying to work with eBay, Amazon and FedEx webservices with it and


httpspost://<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:ns1=""><SOAP-ENV:Body><my xml data goes here></SOAP-ENV:Envelope>


returns error messages like this


"<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv=""><soapenv:Body><soapenv:Fault><faultcode>soapenv:Client</faultcode><faultstring>Failure while unmarshalling message: Failed to parse XML text</faultstring><detail><con:fault xmlns:con=""><con:errorCode>9999</con:errorCode><con:reason>Failure while unmarshalling message: Failed to parse XML text</con:reason></con:fault></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>"



I can even take named value pair webservices that are stringed together like a get command and paste them into a browser and get results but when I try to do it as an httppost command it doesn't work. For example, the following eBay named value pair when I use the insert from url script step with the following: (putting in my app token)




it gives this error: <?xml version='1.0' encoding='UTF-8'?><errorMessage xmlns=""><error><errorId>2038</errorId><domain>CoreRuntime</domain><severity>Error</severity><category>System</category><message>Missing SOA operation name header</message><subdomain>System</subdomain></error></errorMessage>


The following doesn't work either:


httppost://<findItemsByKeywordsRequest xmlns=""><keywords>harry potter phoenix</keywords></findItemsByKeywordsRequest>


Thanks in advance for your info and working examples if you have any.