function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mehdi EL BilaliMehdi EL Bilali 

WSDL Parsing incorrectly qualifies namespace

Hello everybody,

When utilizing classes generated via WSDL2Apex that contains multiple namespaces, the wrong namespace can specified in the request SOAP envelope.

1. Generate Apex classes via WSDL2Apex using a WSDL that contains multiple namespaces. 
2. Observe that in some scenarios, the outbound SOAP Envelopes are generated with the namespaces defined incorrectly. 

Please help up to find a solution for this.
ShashankShashank (Salesforce Developers) 
Hi Mehdi,

This has been identified by R&D and they are working on the fix. You can track the status of the issue here: