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

jneetz

  • Jr. Member
  • **
  • Posts: 38
    • 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: 2228
  • 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.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

jneetz

  • Jr. Member
  • **
  • Posts: 38
    • 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