PHP pass complex type to WCF
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1

Thread: PHP pass complex type to WCF

  1. #1
    Join Date
    Sep 2009
    Posts
    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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center