Quantcast
Viewing all articles
Browse latest Browse all 3

Receiving info in SOAP header for the web service provider created in SAP

Hi,

 

1. I have created a function module in SAP with  a structure  which has three fields(Employee No, Start Date and End Date).

2. Using this function module as reference, I created a web-service provider(ZGET_EMPLOYEE_INFO) in SAP.

3. The  web-service I have created in SAP is consumed/called by a third party java application.

4. When the third party application calls my web-service, the SOAP body has the three parameters that are in the function module import parameter structure.

5. The third party application also passes two  values "FROM" and "T'O" in SOAP header. Since my function module interface doesn't have these value the web-service call is getting failed.

6. When I add these two parameters "FROM" and "TO"  in my function module interface and ask the third party application to consume my web-service, these two parameters are shown in the SOAP body.

 

7. Can someone share, what should be done at SAP side to accept the parameters send in SOAP header by the webservice consumer, which is a third party java application.

 

Regards,

H.K.Hayath Basha.


Viewing all articles
Browse latest Browse all 3

Trending Articles