tags:

views:

63

answers:

2

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'));
A: 

oviously not. I'm not that stupid

Ageis
This should be a comment, not an answer.
Mike B
A: 

I had a similar problem. take a look at my answer: http://stackoverflow.com/questions/3803688/barnes-and-noble-seller-soap-api-using-php/3830405#3830405

Samuel