Enter Case number reference for associated cases.

Case #

Status:

Type: APM as a Service

Old Article ID: 1695

Old Article Type: documentation

 

Information:

Detail the contextual information specific to the issue; i.e. Product, Version, Agent, System, etc.

  • Synthetic Classic - Web Service Data Feeds
  • Account Management Web Service version 4.0

Describe the problem, from the user perspective

 

Clearly list the Steps to resolve the issue

The Account Management Web Service version 4.0 (http://gpn.webservice.gomez.com/AccountManagementService40/AccountManagementWS.svc) WSDL file is delivering links with internal-only server names. As these servers are behind a load balancer, any applications that attempt to consume the service from outside the Gomez firewall will experience errors.

In order to consume the Web Service use the "flat" WSDL file located here:
http://gpn.webservice.gomez.com/AccountManagementService40/AccountManagementWS_FlatWSDL.svc?wsdl

When the WSDL is loaded into the consumer application, the EndPoint for the Web Service needs to be explicitly set. The syntax used in Visual Studio 2008 is included below. The code sample assumes the Web Service was given the namespace "" and has been added with a using declaration to the page.

To set the EndPoint in Visual Studio 2008:


GPN_WebService.GPN_WS.GPNAccountServiceInterfaceClient client = new GPN_WebService.GPN_WS.GPNAccountServiceInterfaceClient(); 
client.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://gpn.webservice.gomez.com/AccountManagementService40/AccountManagementWS.svc");
client.Endpoint.ListenUri = new Uri("http://gpn.webservice.gomez.com/AccountManagementService40/AccountManagementWS.svc");