473,378 Members | 1,066 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

C# Commerce Server 2002 Pipeline Component

Does anyone have a "fleshed out" example of Pipeline Component in C#. The
example in MSDN doesn't really show much. I am interested in the parameters
coming in and the return values. They are mostly just objects. What should
they be really? What should they be cast to? What type of object should I
really return?

using System;
using System.Runtime.InteropServices;
using Microsoft.CommerceServer.Runtime;
using Microsoft.CommerceServer.Interop;
using Microsoft.CommerceServer.Interop.Orders;

namespace Commerce

{
[GuidAttribute("7BB430D4-5DD0-4ed9-B453-A93AB813E540")]

public class CSharpTemplate : IPipelineComponentAdmin,
IPipelineComponent,
IPipelineComponentDescription,
IPersistDictionary
{
public CSharpTemplate(){this.InitNew();}
public String GetProgID(){return null; }
public void InitNew(){}
public Int32 IsDirty(){return 0; }
public void Load(Object pDispDict){}
public void Save(Object pDispDict, Int32 fSameAsLoad){}
public Int32 Execute(Object pdispOrder, Object pdispContext, Int32
Flags){return 0;}
public void EnableDesign(Int32 fEnable){}
public Object GetConfigData(){return null;}
public void SetConfigData(Object pdispDict){}
public System.Object ContextValuesRead(){return null;}
public System.Object ValuesRead(){return null;}
public System.Object ValuesWritten(){return null;}
}
}

Nov 17 '05 #1
0 1177

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Stuart | last post by:
Hi, I am relatively new to Cocoon and have some quick questions as to how it processes its pipelines: 1. I assume that each stage in a pipeline must complete fully before the next phase is...
0
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager...
2
by: Aaron | last post by:
I am kind of new the BizTalk 2004, can someone tell me how I can test my custom (decode) pipeline component in BTS 2004?
5
by: Paul de Goede | last post by:
I set the Response.Filter in my aspnet application but I have noticed that if you do a Server.Transfer that the filter doesn't get called. And in actual fact the response is mostly empty. It seems...
2
by: Microsoft | last post by:
Hi All. We currently use the Microsoft Commerce Server pipeline component to run the workflow for our application, however this is very limited when it comes to ASP.NET and has no programmable...
0
by: dougelderz | last post by:
I am integrating a CyberSource Commerce pipeline component to manage my payment transactions. CyberSource provides a hashtable COM object that is used to set data into the orderform before a...
2
by: Christian Perthen | last post by:
Hi, I am seeking an alternative component for MS Commerce Servers page object. Mostly used for creating and retrieving URLs Exemple, Dim strVar strVar = mscspage.requeststring("strVar",...
8
by: swell | last post by:
I would like to write a server with the low level API of python ( socket+select and/or socket+thread ) that allow me to register client and update them every X seconds ( could be the time, the...
3
by: Morgan Cheng | last post by:
"Server.Transfer(Request.FilePath);" make server re-evaluate current page. In debugger, I found that though the page's OnPreInit is called, delegates attached in HttpModule is not executed. Why...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.