cancel
Showing results for 
Search instead for 
Did you mean: 

FTP file to SOAP asyn

Former Member
0 Kudos

I created a simple scenario which using FTP file adapter to send out a xml message, then I want to use SOAP adapter to receive the message and send it to a web service to display the message. No response back.

My data type is as follows:

DATA_FILESENDER

empid string

empname string

empage integer

flag

I created two messages which use same data type above for inbound and outbound interface.

Then I created a web service. its wsdl file has input message structure the same as above, no output message structure. The target name space is different from XI's.

When the scenario run, message monitoring shows FTP successfuly send out the message, but SOAP adapter was waiting, then after a while it says system error. I guess it is timeouted.

Could anybody tell me where is wrong with my SOAP adapter or my web service? Thanks a lot!

Marea

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Just check if the SOAP action and URL in the SOAP reciver adapeter are correct.

For more info on this, take a look at this blog,

/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

Regards,

Bhavesh

Former Member
0 Kudos

Hi,

Sekhar and Bhavesh,

I thought I posted the reponse and I was really wondering why no update comes to my email account during past days. It aprently I did not post successfuly.

Anyway, Thanks for the input! I have checked URL and action and check the links provided. But it still does not working. And Has the same error. I am wondering if that is the problem: Soap adapter send out the XML message, but the web service only accept data input seperately. Because I tested my webservice by sending data like "4","c","6","Y" using java program, not sending XML message, the webservice works. I still don't know how to make webservice to work for XI. Please advice. Thank you very much!

Marea

henrique_pinto
Active Contributor
0 Kudos

For async calls using soap adapter, your webservice application should return http 200 return code, which is the only case that XI will recognize being successfull, for async soap receiver adapter. Any other return not then a return message itself will cause the AE to thrown an error and retry to send the message.

So, please check if your application is returning it.

Regards,

Henrique.

Former Member
0 Kudos

Hi, Henrique,

Thanks for quick response!

How can I set up "http 200 return code" in webservice application? Thanks!

Marea

henrique_pinto
Active Contributor
0 Kudos

Marea,

I guess that's something outside of XI's scope.

You should check your webserver (websphere? axis? XI?) application configuration for that.

As for the information on http 200 returncode, check note 856597.

Regards,

Henrique.

Former Member
0 Kudos

Hi,henrique,

Thanks for the reply. I am using axis. I am really new to XI and webservice. I will search information on the web. If somebody could help me, that will be great appreciated.

Marea

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

Check your target URL and SOAP action which are same as in WSDL file....

and also check this...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873...

Sekhar