Loading ...
Sorry, an error occurred while loading the content.

Re: [soaplite] Extracting base64 value on server side

Expand Messages
  • Byrne Reese
    I would use the MIME::Base64 package to decode and encode base 64 values. You may also need to override the encoding namespace in SOAP::Lite. There was a very
    Message 1 of 2 , Dec 20, 2003
    • 0 Attachment
      I would use the MIME::Base64 package to decode and encode base 64 values.
      You may also need to override the encoding namespace in SOAP::Lite. There
      was a very recent thread on this group about how to do this that you might
      find helpful.

      >
      >
      >
      >
      > Using the SOAP::Deserializer I can see that the incoming XML looks
      > like the following,
      > but am unable to extract the value of the base64 item (shiffy).
      > Should I actually see
      > the value when displaying the XML, or do I have to do something else
      > to extract it? As
      > you can see, it appears to be empty, but I do see the value leaving
      > the client.
      >
      > Thanks for any help or ideas!
      >
      >>?xml version="1.0" encoding="UTF-8"?SOAP-ENV:Envelope
      > xmlns:xsd="http://www.w3.org/1999/XMLSchema"
      > xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
      > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
      > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"SOAP-ENV:Bodym:song
      > xmlns:m="http://www.mydomain.com/Music"shitfer
      > xsi:type="xsd:string"/shitfershiffy
      > xsi:type="xsd:base64"/shiffy/m:song/SOAP-ENV:Body/SOAP-ENV:Envelope
      >
      >
      >
      >
      > To unsubscribe from this group, send an email to:
      > soaplite-unsubscribe@yahoogroups.com
      >
      >
      >
      >
      >
      > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
      >
      >
      >
      >
      >


      ^byrne :/
    Your message has been successfully submitted and would be delivered to recipients shortly.