twitcode.org
 
back consume web service ax 2012
XPP
2011-10-11
shashi_s


Set the address in the EndPointAddress object
Copy code copy code
  1. clientType = CLRInterop::getType("MyService.TestReference.Service1Client");
  2.         _client = AifUtil::createServiceClient(clientType);
  3.         endpoint = _client.get_Endpoint();
  4.         endPointAddress = new System.ServiceModel.EndpointAddress(@"http://MyServer/SampleWCF.Service1.svc");
  5.         endpoint.set_Address(endPointAddress);


Recent comments: ( 0 )


Please loggin to leave a comment!!