I don't want to use soap extension in the project how do I remove the soap extension from the Salesforce module. when I am deploying the code to Acquia using pipelines build I am getting below error.

Problem 1
- Installation request for messageagency/force.com-toolkit-for-php v1.0.0 -> satisfiable by messageagency/force.com-toolkit-for-php[v1.0.0].
- messageagency/force.com-toolkit-for-php v1.0.0 requires ext-soap ^7.1 -> the requested PHP extension soap is missing from your system.
Problem 2
- messageagency/force.com-toolkit-for-php v1.0.0 requires ext-soap ^7.1 -> the requested PHP extension soap is missing from your system.
- drupal/salesforce 3.3.0 requires messageagency/force.com-toolkit-for-php ^1.0.0 -> satisfiable by messageagency/force.com-toolkit-for-php[v1.0.0].
- Installation request for drupal/salesforce 3.3.0 -> satisfiable by drupal/salesforce[3.3.0].

please help us with the solution.

Thank you.

Comments

arjunatdrupal created an issue. See original summary.

arjunonemail@gmail.com’s picture

Version: 8.x-3.x-dev » 8.x-3.3
aaronbauman’s picture

Version: 8.x-3.3 » 8.x-3.x-dev
Status: Active » Needs review
StatusFileSize
new1.48 KB

I'm not sure if it will work to move the dependency to a submodule composer.json file, but given the lack of demand for SOAP support I think this makes sense even if it implies manually updating root composer deps.

aaronbauman’s picture

Version: 8.x-3.x-dev » 8.x-4.x-dev
StatusFileSize
new327 bytes

Here's the same for 4.x

  • AaronBauman committed de763dc on 8.x-3.x
    Issue #3060540 by AaronBauman: How do i remove soap extension dependency...
  • AaronBauman committed 66370ef on 8.x-4.x
    Issue #3060540 by AaronBauman: How do i remove soap extension dependency...
aaronbauman’s picture

Status: Needs review » Fixed
arjunonemail@gmail.com’s picture

@AaronBauman Thank you for the support.

We have installed the latest version 8.x-4.0-beta1 released 21 June 2019 this was fixed the soap extension issue. however, we are still unable to remove soap extension dependency in 8.x-3.3 version after applying the patch provided (salesforce_soap-composer-3060540-3.patch)

aaronbauman’s picture

StatusFileSize
new1.48 KB

Looks like some cruft snuck into #3
Here's a patch that may work better.

If this doesn't work, please check your root composer.json for extraneous soap related dependencies

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.