[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HTTP/1.1 412 Precondition Failed
Looks like security information is missing:
<faultstring>20412: Precondition Failed: Security Information is
missing</faultstring>
Are you specifying the security information?
On Tue, Jun 7, 2011 at 3:22 PM, Jim Ward <JWard@xxxxxxxxxxxxxxxx> wrote:
>
> We are new users of HTTPAPI. I am posting a SOAP message to Chase
> Orbitaal Gateway.
> Here is the code I am using to post (copied from one of the examples):
> rc =
> http_url_post_xml('https://wsvar2.paymentech.net/PaymentechGateway'
> : %addr(postData) + 2
> : %len(postData)
> : %paddr(StartOfElement)
> : %paddr(EndOfElement)
> : *NULL );
> It fails with the following debug:
> SetError() #13: HTTP/1.1 412 Precondition Failed
> recvdoc parms: identity 541
> header_load_cookies() entered
> recvdoc(): entered
> SetError() #0:
> <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:ns="urn:ws.paymentech.net/PaymentechGateway"><SOAP-ENV:Body
> id="_0"><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultst
> ring>20412: Precondition Failed: Security Information is
> missing</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envel
> ope>
> SetError() #13: HTTP/1.1 412 Precondition Failed
> http_close(): entered
> Orbital gateway says this is what they are receiving on their server:
> Failed 20412:
> Host: wsvar2.paymentech.net; User-Agent: http-api/1.23; Content-Type:
> text/xml; Expect: 100-continue; Content-Length: 1105;
> Instead of this (from other successful posts in the program using the
> same call above)
> Successful:
> POST /PaymentechGateway HTTP/1.1
> Host: 172.21.55.254:8083
> User-Agent: http-api/1.23
> Content-Type: text/xml
> Expect: 100-continue
> auth-mid: 700000003908
> auth-tid: 001
> auth-user: MD1W0RLD
> x-forwarded-txid: tHWEyQoBAGwAAGbeY48AAAAX
> Max-Forwards: 10
> X-Forwarded-For: 24.172.191.146
> X-Forwarded-Host: wsvar2.paymentech.net
> X-Forwarded-Server: wsvar2.paymentech.net
> Connection: Keep-Alive
> Content-Length: 964
> Anyone have any ideas what I should try?
> _________________________________________________________________
>
> P before printing this message, please consider our environment
> CONFIDENTIALITY NOTICE
>
> This e-mail message, including any attachments, is for the sole use of
> the intended recipients(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or distribution
> is prohibited. If you are not the intended recipient, please contact
> the sender by reply e-mail and destroy all copies of the original
> message.
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list. To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------