[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Web server connection mostly times out - except when I step though the API with debug.



Please post a debug/trace log from times when it's timing out... (Before doing that, make sure you obscure any personal information in the log.)

On 4/22/2015 6:24 PM, Colin Grierson wrote:
    Hi, I've got a strange problem that feels a bit like a pointer or
    parameter length error - though it may also be the remote server at
    fault.


    I'm using http_url_post_xml to send a SOAP request to a fixed URL
    (https)

    -          This always works, returning a session id and session URL

    I use http_url_post_xml to send a SOAP request to the session URL
    (https again)

    -          This almost always times out - unless I step through the API
    in debug, in which case it mostly works


    We have asked the company we are connecting to to look at their logs to
    see what they can see (still waiting for a reply...) However this sort
    of problem can be caused by pointer or parameter length issues and I'm
    wondering if the fault is on my side. Does this ring any bells with
    anyone?


    I have recently

    The code follows example 16


    // Call web service. Built in parse calls procedure 'Incoming',

    // which returns a structure with data proviced by the web service

    clear RtnData;

    #rc = http_url_post_xml(#Url

                      : %addr(#Soap) + 2

                      : %len(#Soap)

                      : *NULL

                      : %paddr(Incoming)

                      : %addr(RtnData)

                      : HTTP_TIMEOUT

                      : HTTP_USERAGENT

                      : 'text/xml'

                      : 'create');



    Thanks for your help

    Colin Grierson


    [cid:image69975a.JPG@888f31df.4c856371]

    Colin Grierson | Development Consultant

    [1]Systems Advisory Services Ltd

    520 Great South Road, Greenlane, Auckland, New Zealand | PO Box 17-268
    Greenlane

    Phone +64 9 525 7353 | DDI +64 9 580 8745 | Email
    [2]Colin.Grierson@xxxxxxxxxxx

    We develop, integrate and manage mission critical systems

    ________________________________________
    Attention:
    Information contained in this email message is intended only for use of
    the individual or entity named above. If the reader of this message is
    not the intended recipient, or the employee or agent responsible to
    deliver it to the intended recipient, you are hereby notified that any
    dissemination, distribution or copying of this communication is
    strictly prohibited. If you have received this communication in error,
    please immediately notify the sender by email and destroy the original
    message.
    ________________________________________
    SKY NETWORK TELEVISION LTD
    10 Panorama Rd, Mt Wellington
    PO Box 9059, Newmarket, Auckland, NZ
    ________________________________________
    ______________________________________________________________________
    This email has been scanned by the Symantec Email Security.cloud
    service.
    For more information please visit http://www.symanteccloud.com
    ______________________________________________________________________
      __________________________________________________________________

    Scanned by MailMarshal - Marshal8e6's comprehensive email content
    security solution.
      __________________________________________________________________

References

    1. file://localhost/tmp/www.sasit.co.nz
    2. mailto:Colin.Grierson@xxxxxxxxxxx



-----------------------------------------------------------------------
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
-----------------------------------------------------------------------