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