I am having some difficulty in trying to connect to the
XWeb1003 web service (Version 2.1). I have tried to gather as much
information from the Online1003 sample project as possible, however, that
project is using WSE and, according to Microsoft, I need to use WCF.
Here is the code that I attempted to use to get access to
the web service, but it is failing:
XWeb1003Port XWeb1003P = newXWeb1003Port();
NetworkCredential BSACredentials = newNetworkCredential(UserName,
Password);
XWeb1003P.Credentials = BSACredentials;
LoadApplicationRequest LoadRequest = newLoadApplicationRequest();
LoadRequest.Application_ID = PlanID;
LoadApplicationResponse LoadResponse =
XWeb1003P.LoadApplication(LoadRequest);
Is there a newer version of the sample code targeted for
later versions of .NET/Visual Studio? Alternatively, can you provide some
sample code that would establish the security credentials in .NET 3.5 and
Visual Studio 2010?
--Tad