Is there a way to call a SOAP function and pass the required XML as an
argument instead of an object?  I can get this to work:

$oClient = new SoapClient( $sWSDL_URI, array( 'trace' => TRUE,
'exceptions'    => TRUE );

$oArgObj = new ArgObj();
$oArgObj->node1 = 'value'
$oArgObj->node2 = 'value'
$oArgObj->node3 = 'value'

$oClient->doMyAction( $oArgObj );

but not this:

$oClient = new SoapClient( $sWSDL_URI, array( 'trace' => TRUE,
'exceptions'    => TRUE );

$sXML = 
'<doMyAction><node1>value</node1><node2>value</node2><node3>value</node3></doMyAction>';

Which, if I look at the result from __getLastRequest(), is exactly
what the XML sent looks like (minus the SOAP body, etc).

The error I keep gettings is "xml-resolve-missing-var-error".  Is
there any way I can just send the XML?  Or does it have to be an
object with the appropriate properties set?

thnx,
Chris

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to