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

AW: [soaplite] Modifying soap:Envelope attributes

Expand Messages
  • Martin Busik
    Hi, ... a dirty one is: $soap- serializer- attr- {xmlns} = http://server.domain.com/model ; I m wondering that that you are requesting for this, because
    Message 1 of 2 , Oct 29, 2009
    • 0 Attachment
      Hi,

      > We have an issue trying to add an attribute to the soap:Envelope tag.
      >
      > The issue is that we need to add an xmlns attribute to the
      > soap:Envelope tag that is generated via a call method. I
      > have found ways to add it to my top level XML tag, but not to
      > modify the soap:Envelope tag. Is there a method to do this?

      a "dirty" one is:

      $soap->serializer->attr->{xmlns} = "http://server.domain.com/model";

      I'm wondering that that you are requesting for this, because

      <soap:Envelope xmlns="http://server.domain.com/model" ...

      is basically the same as

      <modEF xmlns="http://server.domain.com/model"

      (which you can achieve by calling
      $soap->serializer->default_ns("http://server.domain.com/model"))

      Where do you get problems while using the xmlns attribute on method-element
      (i.e. "your" top level element)?

      Cheers,
      Martin
    Your message has been successfully submitted and would be delivered to recipients shortly.