2013. 7. 19. 18:02

t-code : sm49



- 실행 하고자 하는 command 입력 & 저장




- 필요한 parameter 입력




- 결과


Posted by sungwonpekr
2013. 7. 12. 19:34

- HTTP


- HTTPS



Posted by sungwonpekr
2013. 7. 12. 15:04

출처 : http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/07/24/java-based-http-adapter--how-to-pass-username-and-password-in-query-string


Java based HTTP adapter - How to pass username and password in query string?


If you have started using Java based HTTP sender adapter, either you might have spent some time in finding out how to pass user name and password in the query string or you might still be wondering how to pass user name and password in query string.

 

If you use sap-user and sap-password, you might have noticed that it is not working anymore and you would get authentication error "HTTP/1.1 401 Unauthorized".

 

Instead of sap-user, j_username can be used to pass username in query string.

 

Instead of sap-password, j_password can be used to pass password in query string.

 

The url should look like

http://<server>:<port>/HttpAdapter/HttpMessageServlet?interfaceNamespace=test.com&interface=Test_Out&senderService=TEST_BS&senderParty=&receiverParty=&receiverService=&qos=BE&j_username=testuser&j_password=testpwd

 

Additional details on Java based HTTP adapter test tool are available at PI 7.30 HTTP Java Adapter Test Tools.

 

Additiona details on configuring the Java HTTP sender adapter and URL details are available at AAE - Configuring the Java HTTP Adapter on the Sender Channel.

 

Caution: You should avoid using this method of authentication in your landscape. This short blog is written just to inform the readers on what parameter names to be used for  user name and password in query string of http client that is sending request to Java HTTP adapter.

Posted by sungwonpekr