Are there any log setting that can record the IP address of a client using a BW HTTP SOAP service?

Are there any log setting that can record the IP address of a client using a BW HTTP SOAP service?

book

Article ID: KB0088183

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description:
========
We have BW SOAP services developed using the Service palette. We would like to know the IP addresses of the clients that are calling the services. Is there any way that we can configure BW to log the client's addresses?

Environment:
=========
ALL


Resolution:
=========
Unlike the HTTP receiver which exposes the IP address (in Context/ remoteAddress field), SOAP receiver and service resources do not expose the IP address or any other fields from the HTTP header. It is not possible to see or log the IP address and HTTP header fields in the context resource. If you want to extract the IP address from an incoming SOAP request, you would need to write a proxy BW process. The proxy process would contain the HTTP receiver which would give you the remote IP address, and then you could invoke the SOAP service using the SOAP request reply. Finally, an HTTP reply activity would be needed to send the reply back to the original SOAP request. You can use WritetoLog to log the IP address in the BW log. See the attached example (Filename:SOAP-proxy.zip) for a sample process. Another option is to define an IP address in your WSDL file. Ask your client to provide the IP address when sending the SOAP request. Use WriteToLog to write the IP Address.

Issue/Introduction

Are there any log setting that can record the IP address of a client using a BW HTTP SOAP service?

Attachments

Are there any log setting that can record the IP address of a client using a BW HTTP SOAP service? get_app