Dec 05, 2012; 12:12
Anibal Escobar
XML submission to HSBC
Hi, I'm on L9 and am sending an XML submission to HSBC for ecommerce
integration. What I'm doing is:
include_url(#url, -postparams = array(#xml))
where #xml is a string with the xml code. The xml code is essentially
like this:
<?xml version="1.0"?><request timestamp="20121203180258"
type="auth"> ... </request>
Somewhere along the line, something is getting in the way since the
receiving server doesn't recognize the request type. When I url
encode the xml, as in
include_url(#url, -postparams = array(encode_url(#xml)))
the page throws a
Error Code: -9948
Error Msg: Definition Not Found: bytes->first()
When I save the xml to a file and submit via curl using:
curl -X POST -d @/path/to/file.xml --header "Content-Type:text/xml" https://remote.globaliris.com/RealAuth
I get the appropriate response. What can I do to get my include_url
to work?
Thanks,
Anibal Escobar
646 336 5000 x8821
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Dec 05, 2012; 09:24
Fletcher Sandbeck
Re: XML submission to HSBC
Dec 05, 2012; 12:37
Anibal Escobar
Re: XML submission to HSBC