-
September 10th, 2009, 02:40 AM
#1
PHP pass complex type to WCF
Right now I use PHP soapclient to call the WCF, but cannot pass complex object to the WCF
WCF Code
Code:
public int Test (input env){
return 0;}
public class input{
public int ID;}
PHP code
Code:
$client = new SoapClient('http://localhost:5555/jobdispatch.svc?wsdl');
$env->ID=1;
$webService1 = $client-> Test($env);
when Debug in WCF, found the env is null;I also try the __SoapCall, get the same result.
How to solve it.
Thanks
Last edited by PeejAvery; September 10th, 2009 at 09:03 AM.
Reason: Added code tags.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|