Skip to Content
0

Trying to send CSV file using file sender and soap as receiver to target system?

Oct 27, 2016 at 10:52 PM

406

avatar image

Hi Experts,

I'm creating passthrough scenario where I'm picking a file using ftp and sending to target system using soap adapter.

I've tried with different configurations as follows.



Case1 : sender adapter file(ftp), receiver soap adapter, http transport protocol, soap 1.1 protocol. we used modules as well so that we transmit csv files.

From our system we are able to deliver it to target system but they're getting payload as 0 bytes where as we are sending the payload around 300 bytes.


Case2 : sender adapter file(ftp), receiver soap adapter, http transport protocol, XI3.0 message protocol with url .

Error:

SOAP: call failed: com.sap.aii.af.sdk.xi.srt.BubbleException: Error during parsing the received XMB message. [null "null"]

MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Error during parsing the received XMB message. [null "null"]

Case 3:

sender adapter file(ftp), receiver soap adapter, http transport protocol, XI3.0 message protocol with http destination.
Error:

StatussystemErrorStatus DetailsMessaging: General error (General error)Error CategoryXI_J2EE_MESSAGING_SYSTEMError CodeSEND_CONSUMER_ERROR

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Praveen Gandepalli Oct 28, 2016 at 02:50 AM
0

Hi Vidhya,

Do you want to send the CSV file as payload to the web service or attachment to the web service??

If you want to send the CSV file as a payload to the web service then use HTTP_AAE adapter instead of SOAP adapter because SOAP adapter expects the payload in XML format.

Regards,

Praveen.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Praveen,

I've created a scenario using HTTP_AAE adapter using message protocol POST.

I processed one file and it is giving error saying "Exception caught by adapter framework: STATUS_CODE_NOT_OK-Internal Server Error"

I tried looking for the relevant answers in SCN but could not find it.

Please help me on this.




Regards,
Vidhya

http-aae.png (29.2 kB)
error.png (20.7 kB)
0
Praveen Gandepalli Nov 07, 2016 at 11:57 AM
0

Hi Vidhya,

You need to enter the details of receiver web service details in the receiver HTTP_AAE adapter, it looks like you enter the details for HttpAdapter, you need to first test the receiver web service in POSTMAN or any other client if successfully tested in other client it will be easy to configure receiver adapter.

Regards,

Praveen.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Praveen,

I've no knowledge on POSTMAN app.

To make it clear I'm trying this scenario in my local PI which is there for practice purpose.
I've created the source system configuration and target system configuration.
I've created 2 ICO's for each thing.
I've done the practice on same using file to soap and soap to file which is working fine.
Now I'm trying the same with file to http_aae and http_aae to file.
I always check target URL using IE.
when I checked for SOAP I get the following screen, which ensures that target URL is fine.


But for HTTP_AAE scenario I'm getting error. as below. I used the standard URL format from one of the SCN blog
http://server:port/HttpAdapter/HttpMessageServlet?interfaceNamespace= ∫erface=sender-interface-name&senderService=sender-business-component-name&qos=quality-of-service

Any suggestions would be helpful.

soap-url.png (15.4 kB)
http-aae-url.png (11.7 kB)
0