Re: .net and pear soap

From: Date: Wed, 23 Apr 2003 18:43:06 +0000
Subject: Re: .net and pear soap
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-565@lists.php.net to get a copy of this message
"William Harrison" <billfrog@toad.net> wrote in message news:Pine.LNX.4.44.0304151435520.21312-100000@beast.toad.net... > > What am I missing here? My php client talks to my php server, but I can't > for the life of me get a .net client to talk to it. What am I doing wrong > in my WSDL? I can't be the only one having so much trouble with such a > simple example... > I was having a similar problem so I started doing some digging and I found out that .net, specifically the Microsoft.VSDesigner tool that generates all of the proxy code from your WSDL didn't like this section of the WSDL generated by Disco.php. <soap:binding transport="http://schemas.xmlsoap.org/wsdl/http/" style="rpc" /> In looking at other WSDL's that work I was able to come up with a valid transport value that Microsoft.VSDesigner liked and built the proper proxy code for me. <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" /> I modified my Base.php by adding a define for SOAP_TRANSPORT_HTTP to match the above value, and modified Disco.php to use this value instead of the SOAP_HTTP value that it was originally using. I hope this helps. Rob

« previous php.soap (#565) next »