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

Threaded View

  1. #1
    Join Date
    Sep 2009

    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
    public int Test (input env){
    return 0;}
    public class input{
       public int ID;}
    PHP code
    $client = new SoapClient('http://localhost:5555/jobdispatch.svc?wsdl');
    $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.

    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

On-Demand Webinars (sponsored)