cancel
Showing results for 
Search instead for 
Did you mean: 

Immediate help require on HTTP_AAE adapter using attachments

sahithi_moparthi
Contributor
0 Kudos


Hi,

I have configured the scenarion from HTTP to PROXY.I am getting the data from thirdparty in the form of text file.In the sender HTTP used the below configuration details.But it is throwing the error.

Steps:

In the above screenshot i have given all the details like server,hostname and interface details.

When i tested the interface it is giving the error and sometimes it is not reaching to PI.

Could any one please let me know whether my configuration is in place or not.I haven't worked on payload swap beam module,but as per the sap help forum i have configured the scenario,but still feels that some thing is missing in my configuration.

Please provide your valuable inputs.

Errors that occured during my testing:

Accepted Solutions (0)

Answers (1)

Answers (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Sahithi,

Try unchecking multi-part

Regards,

Mark

sahithi_moparthi
Contributor
0 Kudos

Hi Mark,

I tried by unchecking multipart,then it is giving the error as below:

sahithi_moparthi
Contributor
0 Kudos

Hi All,

  Any inputs on the above error.Please provide your valuable inputs ?

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Sahithi,

Sorry about that, the multi-part option indeed needs to be checked. As for the payloadswapbean, just use Content-Disposition and attachment. Remove the rest.

Regards,

Mark

sahithi_moparthi
Contributor
0 Kudos

Hi Mark,

No luck.Still facing the above 2 issues.

If we mark the multi -part it is giving the error: NOT MULTI-PART

If we unmark the multi-part option then it is giving the error like:While trying to invoke the lang object of an object loaded from local varaible key.

Please provide some suggetsions.


markangelo_dihiansan
Active Contributor
0 Kudos

Hi Sahithi,

Can you try using SOAP Sender adapter with Do Not Use SOAP Envelope checked? You can try attaching the text file via SOAP UI.

Regards,

Mark

sahithi_moparthi
Contributor
0 Kudos

Hi Mark,

   We have to use HTTP adapter only.Client confirmed that they were posting the data using HTTP.


markangelo_dihiansan
Active Contributor
0 Kudos

Hi Sahithi,

Since you are using a tool to submit HTTP requests to PI, can you show us a sample raw successful posting? The request can be analyzed by using an HTTP sniffer such as fiddler etc

Regards,

Mark

sahithi_moparthi
Contributor
0 Kudos

Hi  Mark,

It is  a text file.the data looks like below:

ABC 1234 XXXX 678XXX

BVF 73933 AAAA TYUW

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Sahithi,

I'm expecting something like this:


POST http://host:port/HttpAdapter/HttpMessageServlet?querystring HTTP/1.1

Accept-Encoding: gzip,deflate

Content-Type: multipart/related; type="text/xml"; start="contentID"; boundary="----=_Part_0_29655272.1435915100227"

MIME-Version: 1.0

User-Agent: Jakarta Commons-HttpClient/3.1

Content-Length: 12763

Authorization: Basic

Host: host

Cookie: $Version="1"; saplb_*="(host_SID_NR)8019150"; $Path="/"

------=_Part_0_29655272.1435915100227

Content-Type: text/xml; charset=UTF-8

Content-Transfer-Encoding: 8bit

Content-ID: contentID

<Root>

<field/>

</Root>

------=_Part_0_29655272.1435915100227

Content-Type: text/plain; charset=Cp1252

Content-Transfer-Encoding: quoted-printable

Content-ID: <tesfile.txt>

Content-Disposition: attachment; name="testfile.txt"

ABC 1234 XXXX 678XXX

BVF 73933 AAAA TYUW

Can you confirm that the format being sent by your sending application looks like the one above?

Regards,

Mark