built in Soap extension php5 passing in params as associative array
        Posted  
        
            by Ageis
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Ageis
        
        
        
        Published on 2009-09-10T17:59:37Z
        Indexed on 
            2010/04/13
            21:03 UTC
        
        
        Read the original article
        Hit count: 246
        
php
I have this xml I'm wanting to pass to this web service function
<UserName>myuser</UserName> 
<Password>password</Password> 
<User>
    <AddCoverCode />
    <title>sdadasdsa</title>
</User>
</CreateNewUser>','',array(),'document', 'literal');
I'm using the soap extension buit in php5.
Is this what I'm supposed to be passing in the soapcall function as parameters?
array('CreateNewUser' => array(
    'UserName' =>  'sc', 
    'Password' =>  'i82372',
    'Registration' =>   array('username' =>'new','password' =>'ss'));
© Stack Overflow or respective owner