Have a look at the ideal branch, I think I did something similar. You can build a simplexmlelement and insert it into a domdocument, or just build a domdocument from scratch which fully supports namespaces.

On Sat, Jul 20, 2013 at 12:03 AM, Alexander Deruwe
<notifications@github.com> wrote:

>> +
>> +    public function setTimestamp($value)
>> +    {
>> +        return $this->setParameter('timestamp', $value);
>> +    }
>> +
>> +    /**
>> +     * @return SoapClient
>> +     */
>> +    protected function getSoapClient()
>> +    {
>> +        return new SoapClient($this->getEndpoint(), array(
>> +            'location' => $this->getEndpoint(),
>> +            'cache_wsdl' => WSDL_CACHE_NONE,
>> +        ));
>> +    }
> Can't get ```SimpleXMLElement``` to add the namespace prefixes on the children properly using the ```CardSave``` method, so I guess it's either build the whole XML by hand. Or stick to the ```SoapClient``` stuff...
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/adrianmacneil/omnipay/pull/94/files#r5292648