Re: Object sample not working

From: Date: Wed, 31 Jul 2002 09:21:39 +0000
Subject: Re: Object sample not working
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-182@lists.php.net to get a copy of this message
What kind of presentation? Maybe there is way to workaround this limitations. Andrey ----- Original Message ----- From: "Lay Peng" <laypeng@tetium.com> To: "Andrey Hristov" <ahristov@icygen.com> Cc: <soap@lists.php.net> Sent: Wednesday, July 31, 2002 12:08 PM Subject: RE: [PHP-SOAP-DEV] Object sample not working > okay, so long as one side is java (i.e. either java is as a > server object or client object), you need axis, even if the > server and client objects are in the same machine? > > Yeah, without the echo/print function in the server is a pain > for debugging and my existing php module (contains lots of > presentation stuff) cannot be re-used *sign*. > > > -----Original Message----- > From: Andrey Hristov [mailto:ahristov@icygen.com] > Sent: Wednesday, July 31, 2002 4:55 PM > To: Lay Peng > Cc: soap@lists.php.net > Subject: Re: [PHP-SOAP-DEV] Object sample not working > > > Sorry, I don't know whether you have to install Axis or not. But I think it > is not needed, so if you have PHP installed with php-soap your "server" SOAP > objects are accessible without installing any other soap package as axis. > But if you intend to use Java as client you have to have Axis installed to > use the classes. > Unfortunately it is night in USA and Brad is into the bed. > I've used php-soap mostly in client and in the server part. I've also done > some interoperability tests with python (python as server) and it works > well. > This is kind of problem with debugging the remote part. For this reason I > built a small log lib that I use for logging this and that. Another solution > is the use of mail() for debugging instead of echo do > mail('someemail@example.com','Debug','Your message here'); > your_message can be everything even you can use var_export to see the state > of variables. > > Regards, > Andrey > > ----- Original Message ----- > From: "Lay Peng" <laypeng@tetium.com> > To: "Andrey Hristov" <ahristov@icygen.com> > Cc: <soap@lists.php.net> > Sent: Wednesday, July 31, 2002 11:36 AM > Subject: RE: [PHP-SOAP-DEV] Object sample not working > > > > Oops sorry, I mean I can't echo/print anything from the server. > > That is, taking the example of object. If I echo some string > > from the class function, it will not be displayed when the > > client is being called at the browser. > > > > Btw, do you know what is the diff b/w Axis and php-soap? Do > > we need to install Axis in order to run the soap objects? > > > > Thnks, > > > > > > -----Original Message----- > > From: Andrey Hristov [mailto:ahristov@icygen.com] > > Sent: Wednesday, July 31, 2002 3:42 PM > > To: Lay Peng > > Cc: soap@lists.php.net > > Subject: Re: [PHP-SOAP-DEV] Object sample not working > > > > > > I've problems with the examples but they are there only to show what can > be > > done. > > It is possible to echo/print() from client but this action in the server > has > > not meaning. Brad uses output buffering to suppress the output of the > > server. Other wise ervery warning or any other stuff will break the > things. > > I am not sure whether this bug is fixed or not but I have experienced > > problems when using in scripts ob_strart() but have no ob_end*() call - > Brad > > can you confirm this. > > > > Regards, > > Andrey > > > > ----- Original Message ----- > > From: "Lay Peng" <laypeng@tetium.com> > > To: <phpsoaptoolkit-development@lists.sourceforge.net> > > Sent: Wednesday, July 31, 2002 5:55 AM > > Subject: [PHP-SOAP-DEV] Object sample not working > > > > > > > Hi, > > > > > > I am trying to learn more about interfacing php modules from javabean, > > > and am currently playing around with php-soap. > > > > > > The object sample that you have on the site doesn;t seem to work. I got > > > either no display or the browser will said something like it has > received > > > unrecognise response/character. Is the sample tested working? > > > > > > I have also tried writing my own module and it works. The only thing is > > that > > > I can't display anything from my class function. Is that the way it > works > > > i.e. > > > you cannot use echo or print from the php soap client? > > > > > > Thanks and best regards, > > > Lay Peng > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: Dice - The leading online job board > > > for high-tech professionals. Search and apply for tech jobs today! > > > http://seeker.dice.com/seeker.epl?rel_code=31 > > > _______________________________________________ > > > Phpsoaptoolkit-development mailing list > > > Phpsoaptoolkit-development@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/phpsoaptoolkit-development > > > > > > > > > > >

« previous php.soap (#182) next »