PHP SoapClient Generating Different Formatted SOAP Request?

I think you may be better served using an array with parameter names for indices.

I think you may be better served using an array with parameter names for indices $this->webService->createAccount(array('arg0'=>'test@test. Com')...); or use the __soapCall function.

Tried that but it did not work. – ryanzec Feb 24 at 14:16 can you post the results of the getLastRequest call after trying this method? – Deep Kapadia Feb 26 at 15:42.

I was having a similar problem (with the self closing operation tag) Turns out, the problem was with how I was passing the params. The definition from the wsdl of the expected parameters was as follows: Validation of user credentials to student portal So, the method, ValidateStudent() expects one parameter (also called ValidateStudent -- this is defined in the second section) which is a complex type as defined in the first section. In my case, I had to pass the params as follows (as a single element, keyed as 'ValidateStudent', with sub-elements named as defined within the wsdl): $soapParams = array('ValidateStudent' => array( 'studentNumber' => $stuCode, 'surname' => $lastName, 'dob' => $dob, 'clientIP' => $ip, 'clientUserAgent' => $uAgent, 'clientReferrer' => $referer )); $response = $soapClient->__soapCall('ValidateStudent', $soapParams); So, basically, make sure you understand the definition as laid out in the wsdl you're working with, and follow its structure to a T.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions