cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with making webservice call from MII to ME through HTTPPost action block

Former Member
0 Kudos

Hi All,

I am facing an issue with webservice call through HTTP Post action block of SAP MII. My scenario is that I am writing an activity in which I will call SAP MII Transaction and pass some POD valuee and in MII transaction will load some xml and based on the xml status it will make an webservice call to SAP ME to complete SFC, Log NC, Log Parametric data etc. If I pass thr POD value as transaction parameters the HTTP Post action block is making webservice call and compting the SFC. If I pass the same values from activity hook of SAP ME , HTTP Post action block is not making webservice call to ME.

I am using MII 12.1.9 build(108). and ME 5.2.1.6

Accepted Solutions (0)

Answers (1)

Answers (1)

tim_drury
Active Participant
0 Kudos

What sort of error are you getting?

Former Member
0 Kudos

Hi Tim,

Thanks for reply.

I am not getting any error. Whats happening is, if I pass the value from MII transaction parameters the HTTP Post action block is making WebService call ME and completing the SFC. If I pass the same values from SDK activity hook and try to complete the SFC, the transaction is executing  till the HTTP Post action block.

tim_drury
Active Participant
0 Kudos

You need to narrow down where the issue is occurring.  What is different about the data passed to the Post action when called via activity hook vs. (how else are you calling it?) ?  Does the Post action block attempt to send anything when called from the activity hook?  You can use tcpmon to watch what is sent from MII to ME.

Former Member
0 Kudos

Hi Tim,

There is no difference in passing  POD values from activity hook  to MII transaction parameters and passing POD values hard coding inside the MII transaction parameters. And I am writing all the values to file.They are correctly mapping to MII transaction parameters. If hard coded the POD values in transaction parameters the post action block is making webservice call to ME and completing SFC.

The post action block is snding a SOAP request XML in PostData Parameter to complete SFC. I dont have much idea about tcpmon could you please tell me how to use it.

Thanks.

tim_drury
Active Participant
0 Kudos

tcpmon lets you look at the traffic between two systems.  tutorial here: http://ws.apache.org/commons/tcpmon/tcpmontutorial.html