|
Re: Soap Headers (Daniele Rostellato): msg#00078php.nusoap.general
1. If $s->requestSOAP does not have the SOAP request, you are using an old version of NuSOAP. You should consider using a newer version to be sure you have as few bugs as possible. 2. $GLOBALS['HTTP_RAW_POST_DATA'] should not be different to work with, e.g. substr should work as you expect. Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Daniele Rostellato" <crev.drostellato@xxxxxxxxxxxxxxxxx> To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, April 21, 2005 3:57 AM Subject: [Nusoap-general] Soap Headers (Daniele Rostellato) > Hello, > I tried to read Soap Headers (sent by a client to my > web service) like that > > --- > $s = new soap_server(); > ... > function MySOAPMethod($param) { > $soap = $s->requestSOAP; > // parse out headers or whatever you want to do... > } > --- > > but the $soap variable is always NULL. > Instead I can see soap request with $GLOBALS['HTTP_RAW_POST_DATA'], > but don't know how to handle this kind of variable so when I try > to substr() it I receive some unexpected results. > Could you help me? > Many thanks, > > Daniele Rostellato > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: New Crystal Reports XI. > Version 11 adds new functionality designed to reduce time involved in > creating, integrating, and deploying reporting solutions. Free runtime info, > new features, or free trial, at: http://www.businessobjects.com/devxi/728 > _______________________________________________ > Nusoap-general mailing list > Nusoap-general@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/nusoap-general > ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Soap Headers (Daniele Rostellato): 00078, Daniele Rostellato |
|---|---|
| Next by Date: | Newbie and Viamichelin: 00078, Janick-Yves BURBAN |
| Previous by Thread: | Soap Headers (Daniele Rostellato)i: 00078, Daniele Rostellato |
| Next by Thread: | Newbie and Viamichelin: 00078, Janick-Yves BURBAN |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |