Author Topic: Sample C# Code to using Content Inegrator SOA  (Read 137 times)

jneetz

  • Newbie
  • *
  • Posts: 8
    • View Profile
Sample C# Code to using Content Inegrator SOA
« 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");
        }
    }
}

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 1285
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Sample C# Code to using Content Inegrator SOA
« Reply #1 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.
#Install, #Educate, #Repair, #Upgrade, #Migrate, #Enhance, #Optimize.

Call:  +1-866-533-7742
Click:  http://JustinDerrick.com/
eMail:  jd@justinderrick.com
Wiki:  http://CMOD.wiki/

Interests:  #AIX6 #AIX7 #Linux #Multiplatforms #DB2v9 #DB2v10 #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #Training

jneetz

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Sample C# Code to using Content Inegrator SOA
« Reply #2 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