IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  HTTP Adapter return error code -1

    Posted 02/07/08 07:31 AM

    Originally posted by: phiiiiiiiil


    Hello,


    I use a http adapter to post data to a webservice. Sometimes it works fine ( 2/3 times) sometimes not and return a code "-1" : "doHTTP() failed".


    Here is the rule :


    VALID ( GET ("HTTP", "-T+ -URL http://myurl -METHOD POST -TYPE text/xml"),
    "Error ...")


    Do this adapter check any content of the data sent?

    Someone already have such problem ?

    Thanks very much in advance for any help,

    Phil.

    Message was edited by: phiiiiiiiil
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 2.  Re: HTTP Adapter return error code -1

    Posted 02/07/08 07:34 AM

    Originally posted by: janhess


    What does the trace file show for the failure?
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 3.  Re: HTTP Adapter return error code -1

    Posted 02/07/08 08:04 AM

    Originally posted by: phiiiiiiiil


    Here is the trace :
    HTTP Adapter, Version 8.1(38)Copyright © 2004, IBM Corporation. All rights reservedBuilt for SUN on Jul 16 2007 at 11:50:18.Retry Count is 0. Retry Interval is 0. OnFailure is Rollback.Fetch Unit is 0. Card Mode is Integral.Will process 2443 bytes of data.Run Started at 12:17:26.522 on 02/01/08.Options used: trace,append,name,method,url,typeUsing http: protocol.Using HTTP/1.1.<POST /PSIGW/PS81ListeningConnector HTTP/1.1Host: xxxx.orgUser-Agent: HTTP-Adapter/8.1(38)Content-Type: text/xmlContent-Length: 2443X-Abandon-After: 2147483647
    WSASend: Socket error 32 occurred (Broken pipe).(0 bytes sent)Socket Closed.Connection closed.WSATerm: EnteringWSATerm: bWSStarted = 1, nWSClients = 2Sockets Client ID 2 disabled.WSATerm: nWSClients remaining = 1WSATerm: Exiting --Run Terminated at 12:17:26.532 on 02/01/08

    Thanks,

    Phil
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 4.  Re: HTTP Adapter return error code -1

    Posted 02/07/08 08:06 AM

    Originally posted by: janhess


    Socket error 32 occurred (Broken pipe)

    Looks like this is your problem. You need a plumber.

    Do you have any settings in the dtx.ini file for http?
    IdleHTTP=10
    ;SLimHTTP=0
    ;HLimHTTP=0
    KeepHTTP=0
    ;MinHTTP=0

    Have you tried using retry settings on the card?
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 5.  Re: HTTP Adapter return error code -1

    Posted 02/07/08 08:32 AM

    Originally posted by: phiiiiiiiil


    I don't have tried with the retry param yet.
    All the HTTP parameters in the dtx.ini are commented :
    ;IdleHTTP=0
    ;SLimHTTP=0
    ;HLimHTTP=0
    ;KeepHTTP=0

    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 6.  Re: HTTP Adapter return error code -1

    Posted 02/07/08 08:35 AM

    Originally posted by: janhess


    Try setting the Keep and Idle parameters.
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 7.  Re: HTTP Adapter return error code -1

    Posted 02/08/08 04:40 AM

    Originally posted by: phiiiiiiiil


    Thanks very much janhess,

    It helps, now every test have been successfully sent.

    Message was edited by: phiiiiiiiil
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender