Skip to content
Back to skills

Salesforce Api Soap

ASecurity

Implements interactions with Salesforce API using SOAP protocols for legacy systems integration efficiently, ensuring compliance and data integrity while supporting seamless data transactions across legacy systems and optimizing integration processes.

  • 4 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added June 12, 2026
businesspythondebuggingapisecuritydocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Scanned June 12, 2026

npx -y skills add paulpas/agent-skill-router --skill salesforce-api-soap --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Salesforce Api Soap?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Salesforce Api Soap
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/paulpas-salesforce-api-soap/badge)](https://www.skillsdirectory.com/skills/paulpas-salesforce-api-soap)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---




name: salesforce-api-soap
description: Implements interactions with Salesforce API using SOAP protocols for legacy systems integration efficiently, ensuring compliance and data integrity while supporting seamless data transactions across legacy systems and optimizing integration processes.
license: MIT
compatibility: opencode
metadata:
  version: "1.0.0"
  domain: coding
  triggers: salesforce api, soap api, crm integration, legacy systems, how do I use salesforce soap
  role: implementation
  scope: implementation
  output-format: code
  related-skills: salesforce-api-rest, salesforce-api-bulk
  archetypes:
  - tactical
  - operational
  anti_triggers:
  - generic skill dominance
  response_profile:
    verbosity: low
    directive_strength: high
    abstraction_level: tactical




---





# Salesforce API - SOAP Integration

Implements SOAP-based interactions with the Salesforce API designed for systems needing legacy access to CRM data efficiently, ensuring compliance and data integrity while supporting seamless data transactions across legacy systems and optimizing integration processes.

## When to Use
- When integrating with older systems that utilize SOAP.
- For data manipulation tasks that require strong typing and stricter protocols.
- When working with pre-existing SOAP service layers that require compliance checks for data integrity during transactions between integrated systems.

## Core Workflow\n1. **Set Up SOAP Client** — Configure a SOAP client to interface with Salesforce using WS-Security for authentication. Ensure that all communication is encrypted and secure.\n   **Checkpoint:** Verify the service endpoint and security settings are correct.\n2. **Invoke SOAP Methods** — Call Salesforce-specific methods to perform CRUD operations on CRM data. Structure method calls according to best practices for SOAP integrations.\n   **Checkpoint:** Ensure the correct SOAP actions are invoked based on the desired operations.\n3. **Process Responses** — Capture and parse the XML responses from Salesforce. Properly handle both successful and error XML structures.\n   **Checkpoint:** Validate that the returned XML matches expected formats and is free of errors. Ensure to log any discrepancies for debugging purposes.\n
## Implementation Patterns
### Pattern 1: Configuring the SOAP Client
```python
from zeep import Client
from zeep.transports import Transport

# Building a SOAP client
def create_soap_client(wsdl_url, username, password):
    transport = Transport()
    client = Client(wsdl=wsdl_url, transport=transport)
    # authentication can be handled here
    return client
```

### Pattern 2: Invoking a Method
```python
def get_account_details(client, account_id):
    result = client.service.query(f"SELECT Id, Name FROM Account WHERE Id = '{account_id}'")
    return result
```

## Constraints
### MUST DO
- Always handle authentication through WS-Security.
- Log request traffic and errors for debugging purposes.
### MUST NOT DO
- Share SOAP endpoint credentials in publicly accessible code repositories.
- Use deprecated SOAP methods that Salesforce no longer supports.

---

## Live References

> Authoritative documentation links for this skill's domain. The model follows markdown links at load time to resolve external references and inline content.

- [Salesforce SOAP API Documentation](https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_header_sessionid.htm)
- [SOAP API Authentication and Session Management](https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_header_sessionid.htm)
- [SOAP API sObject Reference](https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_sobjects.htm)
- [SOAP API Query Language (SOQL)](https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select.htm)
- [Salesforce SOAP API Best Practices](https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_intro.htm)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…