cancel
Showing results for 
Search instead for 
Did you mean: 

HTML based http test tool for PI

former_member187447
Participant
0 Kudos

Hi

I have used the following http client for HTTP adapter in the integration engine and i see the message is being posted to the channel successfully.

http://sappihttpclient.codeplex.com/,



But none of the following http clients actually have any username or password fields in the html forms and i am not sure if that is the reason why i am not able to post the message to either HTTP or HTTP_AAE using any of these tools or may be i am doing something wrong here, Please suggest.


http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48...


https://code.google.com/p/sap-process-integration/


http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/08/12/http-test-tool-for-sap-pi-73

Accepted Solutions (1)

Accepted Solutions (1)

agasthuri_doss
Active Contributor
0 Kudos

Hi Kalyan,

If you are using

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/08/12/http-test-tool-for-sap-pi-73

>>>But none of tthe following http clients actually have any username or password fields in the html forms

Not an issue.

Cheers

Agasthuri

former_member187447
Participant
0 Kudos

Hi Agasthuri,

I used the tool you are referring and the message got processed successfully through the sender channel and i see the attachment too in the sxmb_moni of dual stack. But i have a question on the username and password, when i checked the message content in the message monitor of PMI i see the credentials as

SAPPasswordCredential(PIAFXD1):password=********:sapclient=001:saplang=en

is this part of the html code doing the trick of automatically assigning the sap user id and password?

document.MessageParameters.Qos.value;

            reqString = reqString + "&sap-user=&sap-password=";


Also how do i get the PI HTTP url if i have to give this to the sender to post messages to PI. If not this is there any other http tool which will return the url.



Former Member
0 Kudos

Hi Kalyan

The URL should have the syntax below for previous HTTP plain adapter

http(s)://hostname:port/path?querystring

where query string has the following parameters:

sender party

sender agency

sender scheme

sender service

sender namespace

sender interface

message id

quality of service

queue ID

sample URL:

http://host:port/sap/xi/adapter_plain?namespace=http%3A//test.com&interface=yourInterface&service=yo...

For the Java HTTP the url is like below

http://host:port/HttpAdapter/HttpMessageServlet?interfaceNamespace=http%3A//test.com&interface=yourI...

former_member187447
Participant
0 Kudos

Hi Indrajit,

Sorry for the late reply, is there anyway we can extract this URL for plain HTTP adapter or is it a standard URL used for such communications.

former_member184720
Active Contributor
0 Kudos

It's a standard URL Kalyan

Answers (0)