amr abugwella - 2013-08-29

I try to to create web services with Document/Literal style the main problem when i use register function like that

$server->register('addNewDocument', // method name
array('parameters' => 'tns:document'), // input parameters

in input parameter it's return
Response not of type text/xml: text/html

but when i use it like that
$server->register('addNewDocument', // method name
array('source_unit_id' => 'xsd:long' ,

this working ok

what about this problem and the different between tns:documentContext & xsd:long

thanks