Commerce Server General - Pipeline component return value

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > January 2007 > Pipeline component return value





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Pipeline component return value
Joe Meilinger

2006-12-18, 1:17 pm

Hello,

I'm working on a custom pipeline component in the Payment stage (custom
CC authorization), and the pipeline returns a value of 2 (WARNING) when the
CC is declined in the component code. However, after enabling the checkout
pipeline log, I see that the the IErrorLevel returned from the component is
1 (SUCCESS). I've stepped through the pipeline making sure that it returns
a value of 2, yet the component still reports success. Are there any
obvious reasons for this descrepency?

Thank you,

Joe Meilinger


WenJun Zhang[msft]

2006-12-19, 7:24 am

Hi Joe,

I think the IErrorLevel field in pipeline isn't simply equal to the return
value(error level) of Execute method of IPipelineComponent interface. We
just defines 3 pipeline error levels as below:

1 = OPPERRORLEV_SUCCESS
2 = OPPERRORLEV_WARN
3 = OPPERRORLEV_FAIL

However, as an example: If a pipeline component fails to be loaded, we will
generally see a record with COM error starts with 0x80... and IErrorLevel =
4 in pipeline log.

I will go to confirm the exact meaning of IErrorLevel in the log with our
internal group and follow up here as soon as I get any update on this.

Thanks and have a nice day.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

========================================
==========

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscript...ault.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscript...t/default.aspx.

========================================
==========

This posting is provided "AS IS" with no warranties, and confers no rights.
WenJun Zhang[msft]

2007-01-09, 1:32 am

Hi Joe,

Our Commerce escalation engineer wondered if you can share the pipeline log
to us or an excerpt from the log showing the full section with the error
conditions you are referring to. You can send email to me at:
wjzhang@online.microsoft.com (please remove online.).

Also for this kind of complicated and project based issues, you can
consider to use one of your MSDN Technical Support Incidents to work with
us via telephone based support. This will be the most effective way to
assist you. Please refer to the support note below.

To contact Microsoft Customer Support Services (CSS) to open the incident
for MSDN subscriber, please look at:
http://msdn.microsoft.com/subscript...t/default.aspx.

Thanks.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

========================================
==========

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscript...ault.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscript...t/default.aspx.

========================================
==========

This posting is provided "AS IS" with no warranties, and confers no rights.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com