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

Re: [soaplite] Is there a way to control the charset in content-type

Expand Messages
  • Paul Kulchenko
    Hi, Joseph! ... Shouldn t make any difference, both a valid as far as I remember and case doesn t matter in this aspect. ... Yes, you can still change if you
    Message 1 of 2 , Jun 14, 2001
    • 0 Attachment
      Hi, Joseph!

      > I am sending via SOAP::Lite
      > Content-Type: text/xml; charset=utf-8
      >
      > And they are expecting:
      > Content-Type: text/xml; charset="UTF-8"
      Shouldn't make any difference, both a valid as far as I remember and
      case doesn't matter in this aspect.

      > In SOAP::Lite is there a way to control the charset in the
      > header?
      Yes, you can still change if you follow the last example in SOAP
      Cookbook:

      use SOAP::Lite +trace =>
      transport => sub {
      $_[0]->content_type('text/xml; charset="UTF-8"') if
      $_[0]->isa('HTTP::Request')
      }
      ;

      Hope it helps. Let me know (offlist) what's on server side (maybe URL
      I can use to access it), I'll try to clarify the situation on
      soapbuilders list. Thank you.

      Best wishes, Paul.

      --- Joseph Norris <jozefn@...> wrote:
      >
      > In SOAP::Lite is there a way to control the charset in the
      > header?
      >
      > I am still trying to get my Perl script to talk to a Microsoft
      > soap server. The MicroSoft engineers are thinking that part
      > of the problem is this:
      >
      > I am sending via SOAP::Lite
      >
      > Content-Type: text/xml; charset=utf-8
      >
      >
      > And they are expecting:
      >
      > Content-Type: text/xml; charset="UTF-8"
      >
      > There is a difference though I don't think that this should matter
      > any more than <input type=text> is different than <input
      > type="TEXT">.
      > However, it might to their server.
      >
      > Thanks.
      >
      > #Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql)
      > print @c=map chr
      > $_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,
      > -68,4,-3,-1,7,1,14,-68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);
      >
      >
      >
      > To unsubscribe from this group, send an email to:
      > soaplite-unsubscribe@yahoogroups.com
      >
      >
      >
      > Your use of Yahoo! Groups is subject to
      > http://docs.yahoo.com/info/terms/
      >
      >


      __________________________________________________
      Do You Yahoo!?
      Spot the hottest trends in music, movies, and more.
      http://buzz.yahoo.com/
    Your message has been successfully submitted and would be delivered to recipients shortly.