RE: [SOAP] WSDL getProxy() problem

From: Date: Fri, 11 Jul 2003 23:36:49 +0000
Subject: RE: [SOAP] WSDL getProxy() problem
Groups: php.soap 
Request: Send a blank email to php-soap+get-783@lists.php.net to get a copy of this message
Hi again. Ok, now I've gotten my WSDL webservice to work correctly in PHP, so I'm taking the next logical step and testing it with .NET. Version 0.7.5 fails. After some research I found the following page: http://www.gnegg.ch/archives/000050.html which has a beautiful explanation of why. I made the same change mentioned in the above page an viola! It works with .NET! I also went back and ran my PHP test client to verify that everything still worked using PHP, and indeed it does. Don't use java so I can't test it with Java, but I imagine it would also work. Does the spec say that the schema should have a trailing /? Should the trailing / be removed from all schema's or just SCHEMA_SOAP_HTTP? Unfortunately I don't know enough about SOAP yet to say, but I thought it was worth your attention. Very simple fix for interoperability :) (patch is included in the above page, btw). -Javier -----Original Message----- From: Arnaud Limbourg [mailto:arnaud.limbourg@club-internet.fr] Sent: Friday, July 11, 2003 3:31 PM To: Shane Caraveo Cc: soap@lists.php.net Subject: Re: [SOAP] WSDL getProxy() problem Enjoy your vacation then :) I'll keep you informed ;) Arnaud. > Unfortunately I'm gone for a week, without email...well, not > unfortunate > for me ;) When I get settled back in I can dig in if it's not already > figured out. > Shane > > Arnaud Limbourg wrote: > > > Thing is that i don't yet know the source really well, i'm helping > > shane who is very busy atm. He should be able to help. I'll cc him > > this mail so he may be able to help us. > > > > Arnaud. > > > > > >>I'm doing my best :) Just getting up to speed with the src now, I > >>just downloaded this for the first time yesterday :) > >> > >>Can you tell me for certain whether or not it would be in the client > >>or server? I realize you're busy but that would save me an > >>incredibly large amount of time tracking this down. > >> > >>-Javier > >> > >>-----Original Message----- > >>From: LIMBOURG Arnaud > >>[mailto:arnaud.limbourg.prestataire@cegetel.fr] > >>Sent: Thursday, July 10, 2003 11:22 PM > >>To: soap@lists.php.net > >>Subject: RE: [SOAP] WSDL getProxy() problem > >> > >> > >>I'll try to have a look but i can do with some help here. > >> > >>Arnaud. > >> > >> > >>>Tried it, it appears to work well but I have another bug to report. > >>> > >>>Notice that the example_server.php doesn't quite work correctly > >>>with the wsdl_client.php provided in the distribution, when using > >>>echoStruct or echoStructAsSimpleTypes, the scripts return '',0,and > >>>0 for string,int, and > >>>float respectively. > >>> > >>>I haven't managed to trace down where the bug is actually coming > >>>from, but the reason it's happening is that the struct as it > >>>appears during runtime on > >>>the server (in the echoStruct function) is actually a SOAPStruct that > >>>contains a property called "inputStruct" which is actually another > >>>SOAPStruct (which contains your actual values). Somewhere > >>>either on the > >>>client or server, the SOAPStruct is being nested into itself > >>>in a bizarre > >>>manner. This bug only appears to effect complex types, > >>>simple types get > >>>passed through fine. > >> > >> > >>-- > >>PHP Soap Mailing List (http://www.php.net/) > >>To unsubscribe, visit: http://www.php.net/unsub.php > >> > > > > > > > > > > -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.soap (#783) next »