RetrieveResource returns "localhost"in the WSDL's SOAP address location.

RetrieveResource returns "localhost"in the WSDL's SOAP address location.

book

Article ID: KB0087592

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description
===========
I use HTTPReceiver and RetrieveResource activity for WSDL inquiry. When a client calls to query WSDL, BW returns "localhost"  in the WSDL's SOAP address, the client expects to get the full hostname instead of "localhost"

Environment
===========
ALL

Resolution
==========
You can create a global variable, e.g. HTTPHost, and set the default value to "localhost". Set the host field in HTTP the connection resource to %%HTTPHost%%. Also set the hostname field of Retrieve Resource activity to %%HTTPHost%%.

A demo project is attached (Filename:RetrieveResource.zip).

Issue/Introduction

RetrieveResource returns "localhost"in the WSDL's SOAP address location.

Attachments

RetrieveResource returns "localhost"in the WSDL's SOAP address location. get_app