Forum Discussion

3 Replies

  • Seed's avatar
    Seed
    Occasional Contributor
    It looks like we have both SOAP-ENC and encodingStyle in the response. I guess we'll have to see why we have both.

    C
  • rtomasso's avatar
    rtomasso
    New Contributor
    I see the same warning as well, without having both SOAP-ENC and encodingStyle in the response.

    I'm using SOAP::Lite on the server, and I wonder if this warning from the documentation is applicable to this issue since it is coming from the Java sax class.


    Java SAX parser unable to parse message composed by SOAP::Lite
    In some cases SOAP messages created by SOAP::Lite may not be parsed properly by a SAX2/Java XML parser. This is due to a known bug in org.xml.sax.helpers.ParserAdapter. This bug manifests itself when an attribute in an XML element occurs prior to the XML namespace declaration on which it depends. However, according to the XML specification, the order of these attributes is not significant.
    http://www.megginson.com/SAX/index.html


    The warning itself is strange because encodingStyle is part of the spec at http://schemas.xmlsoap.org/soap/envelope/