b2c-webservices

Automate B2C Commerce service integration with LocalServiceRegistry and the Service Framework.

51|16|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-webservices
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: b2c-webservices
Source: https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/tree/main/skills/b2c/skills/b2c-webservices
Command: npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-webservices

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps developers implement and maintain external service integrations in B2C Commerce by providing a structured pattern built around the Service Framework and LocalServiceRegistry, covering HTTP, SOAP, FTP, and SFTP workflows.

Core Features & Use Cases

  • Structured service definitions across HTTP/REST, SOAP, FTP, and SFTP.
  • Credential, profile, and logging configurations aligned with Business Manager workflows.
  • Examples for request/response parsing, error handling, mocking, and circuit-breaking strategies.

Quick Start

To begin, inspect the HTTP example in the references to create a basic service, adapt the endpoint and parsing logic, and run a local test against a mock endpoint.

Frequently Asked Questions about b2c-webservices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure B2C Commerce external service integrations using LocalServiceRegistry?

B2C Commerce external service integrations are configured using LocalServiceRegistry and the Service Framework. Developers define HTTP, REST, SOAP, FTP, and SFTP service calls, manage credentials in services.xml, and enable circuit-breaker workflows.

What is the best way to structure createRequest and parseResponse callbacks for a B2C web service?

The best way to structure createRequest and parseResponse callbacks is using the Service Framework's code templates. These templates provide structured patterns for executing service calls, handling errors, and parsing response data within LocalServiceRegistry.

Can I use the B2C Service Framework to handle FTP and SFTP file transfers?

Yes, the B2C Service Framework supports FTP and SFTP file transfers. Developers can define structured service definitions for these protocols, configure credentials in services.xml, and apply logging and circuit-breaking strategies.

Does the B2C Service Framework support circuit-breaker enabled workflows for external service calls?

Yes, the B2C Service Framework supports circuit-breaker enabled workflows. Developers can implement error handling, mocking, and circuit-breaking strategies to manage HTTP, REST, and SOAP service calls robustly.

How do I manage credentials for SOAP and HTTP web services in B2C Commerce?

Credentials for SOAP and HTTP web services in B2C Commerce are managed in services.xml. The Service Framework aligns credential, profile, and logging configurations with Business Manager workflows.

What are the limitations of using LocalServiceRegistry for B2C Commerce web service integrations?

LocalServiceRegistry web service integrations require alignment with Business Manager workflows for credential and profile configuration. Developers must implement error handling, mocking, and circuit-breaking strategies to manage external service failures.