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

1566Re: [soaplite] SOAP Lite Client with Apache SOAP Server

Expand Messages
  • ft@sbs.co.at
    May 29, 2002
    • 0 Attachment
      Hi Paul,
      Thanks for the good advice. In fact, it was exactly the problem that the
      encodingStyle isn't included within the method-element. Additionally, the
      Apache SOAP Server insists on including the namespace definition within the
      same element of the XML-Stream. I had to code a special Serializer, which
      adds the encoding style and it's namespace automatically to the
      method-element as following:

      package MySerializer; @MySerializer::ISA = 'SOAP::Serializer';
      sub envelope {
      if ($_[1] =~ /^(?:method|response)$/) {
      $_[2] = SOAP::Data->name($_[2])
      = 'http://schemas.xmlsoap.org/soap/envelope/';


      If anybody knows a more elegant way of solving this problem, help would be
      Treml Florian
    • Show all 3 messages in this topic