SOAP 1.2 contentType problem for Response
------------------------------------------

                 Key: AXIS2-2409
                 URL: https://issues.apache.org/jira/browse/AXIS2-2409
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: kernel
    Affects Versions: 1.2
            Reporter: Gee Chia


Following was captured in TCPMon for a response message for SOAP 1.2. The 
problem is the ";;" before the charset= attribute in the  Content-Type, it 
actually caused parsing problem. 

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: 
application/soap+xml;action="http://services.example.org/startResponse";;charset=UTF-8
Transfer-Encoding: chunked

Observation:
As I traced the code, I observed  
org.apache.axis2.transport.http.SOAPMessageFormatter:: getContentType() returns 
a correct contentType, 
(like 
application/soap+xml;charset=UTF-8;action="http://services.example.org/startResponse";;),
 Then in SOAPMessageFormatter::writeTo method, once it called  
OMElement.serializeAndConsume(out, format), the TCPMon displays shows the 
content type with ";;". 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to