OnDemand User Group

Support Forums => WEBI interface => Topic started by: jneetz on March 03, 2017, 06:53:43 AM

Title: Sample C# Code to using Content Inegrator SOA
Post by: jneetz on March 03, 2017, 06:53:43 AM
Hi,

Can I get sample with C# using Content integrator soa, just something real simple to get me started

Just trying to use GetRepositoryList .... What should string auditLogString be ?
   No errors in it, just not sure what is missing to get it working

Here is my very basic program

using System.Text;
using System.Threading.Tasks;
using ConsoleApplication2.webRef2wsdl;

namespace ConsoleApplication2
{
    class Program
    {
        static void Main(string[] args)
        {
            SOAService webService = new SOAService();

            Console.WriteLine("START GetRepositoryList");
            RepositoryInfo[] repoList = webService.GetRepositoryList("");
            Console.WriteLine("END: GetRepositoryList");
        }
    }
}
Title: Re: Sample C# Code to using Content Inegrator SOA
Post by: Justin Derrick on March 03, 2017, 08:03:30 AM
Hi...

Just wanted to advise you that we'll need some more info...  Platform, versions, etc.  Also, if you can provide any examples of what you've already tried, or any error messages you're receiving, it will go a long way towards helping us to help you!  :)

-JD.
Title: Re: Sample C# Code to using Content Inegrator SOA
Post by: jneetz on March 04, 2017, 08:10:38 AM
Thanks for keeping me on track :)

Content Integrator 8.6 and WebSphere 7.0.0.33 setup on LINUX
Trying to create a Windows C# .NET application to use the Connectors setup in CI

Fyi:  I did get my simple code working .. Ended up just being a server connection problem with my PC

However:
   Is there and good Documentation on programming for CI SOA services, bring in the WSDL and using it.
   There is sample JAVA code for the API services, but still searching for sample C# code and anything with the SOA Services.

Thanks again