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.  -305 unknown error using SOAP adapter with HTTP

    Posted 03/03/10 02:26 AM

    Originally posted by: SystemAdmin


    Hi all,

    I am using 8.0.1.1 (aka 8.0.2) for one of our customers and recently they would like to use SOAP adapter to call a web service. Here is what I have done.

    1. Start Event Agent in Windows

    2. a. Have a map trigger (a.msl) from http://x.xx.xx.x:8081/test and returns response to the same site

    INPUT: -URL http://x.xx.xx.x:8081/test -METHOD POST -tv+ -session *
    OUTPUT: -URL http://x.xx.xx.x:8081/test -METHOD POST -tv+ -type text/html -session *

    3. a. Have a map trigger (b.msl) from a file, then call web service

    VALID(GET("SOAP", "-TRANSPORT 'HTTP(-HDRI+ -TYPE text/xml -METHOD POST -TRACEV -URL http://x.xx.xx.x:80/test )'", TEXT(BuildRequest)),
    "ERROR" + LASTERRORCODE() + LASTERRORMSG() )

    Deploy the above to Event Server

    4. Start Event Server in Windows

    5. Both trigger works and the second map gets back a response.

    The above is working all fine in Windows. However, if I deploy the same map in Unix, I have problems calling the web service.

    Instead of returning a response, I got "ERROR-305Unknown error code"

    So the ERROR was referring to the SOAP call (I used VALID), and the -305 was failure from the HTTP adapter.

    Did anyone has experienced this problem before? I am not sure if it's a bug from the SOAP adapter/Event Agent or it's some setting in Unix. Any help would be greatly appreciated.

    For my customer's case, I don't need to run an event agent. I used event agent here because I want to test out my implementation so the Event Agent is like a simulator.

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


  • 2.  Re: -305 unknown error using SOAP adapter with HTTP

    Posted 03/03/10 02:38 AM

    Originally posted by: SystemAdmin


    I have found out that if I shut down Event Server in Windows. Start up Event Server in Unix. Then on my Windows, I manually run the second map so that it will call the web service. Then I will get a response back in Unix side.

    It seems that the problem here is that the map cannot call web service in Unix box and got error 305 (Unknown error code).

    Any help would be greatly appreciated.

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