From: Richard L. <ce...@l-...> - 2008-03-21 00:05:48
|
I think somebody asked the same question on php-general about a week or two ago... On Thu, March 20, 2008 4:43 am, Peter Snyder wrote: > Hi everyone, > > I'm using PHP5 SOAP extension to develop a web app that uses PayPal's > ExpressCheckout system. The headers need to look like: > > <SOAP-ENV:Header> > <RequesterCredentials xmlns=urn:ebay:api:PayPalAPI > xsi:type=ebl:CustomSecurityHeaderType> > <Credentials xmlns=urn:ebay:apis:eBLBaseComponents > xsi:type=ebl:UserIdPasswordType> > <Username>api_username</Username> > etc.... > > which is no problem except I can't figure out how to add the "type" > attribute to the 'RequesterCredentials element. I can use the SoapVar > to get the "type" attribute into the Credentials element, but as far > as I can tell no equivalent option exists for the SoapHeader method, > which I need to call to create RequesterCredentials in the first > place. > > Does anyone with more experience with the PHP SOAP extension have any > ideas on how I could accomplish this? I know how to do it in NuSOAP > (since you can create custom, verbatim headers there) but I can stay > with the native solution and not have to rip up what I've done > already. > > Anyway, if anyone has any thoughts or suggestions, they'd be much > appreciated. > > Thanks! > Pete > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? |