Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-851

No XML declaration in SOAP responses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • jbossws-1.0.0
    • jbossws-1.0.0
    • jbossws-native
    • None

      I was tracing the jbossws SOAP messages with etherreal and found out that the responding soap messages do not have XML declarations.

      SOAP messages normally have at lest for example <?xml version="1.0" encoding="UTF-8"?>.

      The reason might be, that the method isWriteXMLDeclaration() in org.jboss.ws.soap.SOAPMessageImpl always returns false because the propValue in line

      Object propValue = getProperty(WRITE_XML_DECLARATION);

      is null.

              tdiesler@redhat.com Thomas Diesler
              faxe13_jira Gert Kropiunik (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: