Help with LOB / web service integration and SmartObjects

  • 21 September 2007
  • 3 replies
  • 2 views

Badge +1

Hi Guys,

This is probably quite an easy question, but for some reason I'm having trouble with it 🙂

Thanks,

Daniel.


3 replies

Badge +4

Hi Daniel,


You may need to create a Service Object assembly first and deploy it with the K2 Server Broker; prior to applying it to your Smart Object.


There are few steps to create a Service Object:


(1) Use VS2005 and create a class project


(2) make reference to


SourceCode.SmartObjects.Services.ServiceSDK


(3) Implement code to this Interface:


ServiceAssemblyBase


Including these Methods:


public

override string DescribeSchema() {// where you describe you the wrapper that call your Webservices}


public

override string GetConfigSection() {}


public override void Extend()


(4) Then Compile and deploy it to the Service Broker...


This is just a high level description and please contact your local K2 Consultant for some pratcical code sample.


Hope this is a good pointer.


Regards,


Marco

Badge +1

Hi Marco,

 

Thanks for the info!  I've contacted SourceCode SA and they've been able to provide me with a full example, which works great, exactly along the lines of what you explained above.

 

I've also been told that some official documentation and examples are going to become available at some point in the (near-?) future, which should help all the guys with similar questions :)

 

Regards,

 

Daniel. 

Badge +1

Hi Daniel,


I have the same requirement.  I too would benefit from this sample pack :)  Please could you provide me with a contact at SourceCode SA?


Thanks in advance!


Simon

Reply