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

6384AW: Modifying soap:Envelope attributes

Expand Messages
  • Martin Busik
    Oct 30, 2009

      > If the xmlns does not appear in the Envelope tag then we get
      > the following error from the server:
      > org.xml.sax.SAXException: SimpleDeserializer encountered a
      > child element, which is NOT expected, in something it was
      > trying to deserialize.

      I had a similiar problem. The XML-Schema definition contained the following


      this causes some implementations to expect the following xml:

      <ns:modEF xmlns:ns="urn:whatever>

      Sending just (the SOAP::Lite-Default):

      <modEF xmlns="urn:whatever">

      causes an error. May be, this is the same in your case.

      To create the "qualified" parameters, just use:

      $NS = "http://server.domain.com/model";

      $prefix = $proxy->serializer->find_prefix($NS);

      $obj = SOAP::Data->name("$prefix:modEF" => ...