[
https://issues.apache.org/jira/browse/AXIS2-5067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082868#comment-13082868
]
Hudson commented on AXIS2-5067:
-------------------------------
Integrated in axis2-1.5 #161 (See
[https://builds.apache.org/job/axis2-1.5/161/])
AXIS2-5067: Merged r1036675 and r1136177 to the 1.5 branch.
veithen :
Files :
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/module/pom.xml
* /axis/axis2/java/core/branches/1_5/modules/transport/http/pom.xml
*
/axis/axis2/java/core/branches/1_5/modules/soapmonitor/module/src/main/java/org/apache/axis2/handlers
* /axis/axis2/java/core/branches/1_5
*
/axis/axis2/java/core/branches/1_5/modules/saaj/test/org/apache/axis2/saaj/TestUtils.java
*
/axis/axis2/java/core/branches/1_5/modules/kernel/src/org/apache/axis2/transport/http/util/QueryStringParser.java
*
/axis/axis2/java/core/branches/1_5/modules/soapmonitor/module/src/main/resources/META-INF/module.xml
*
/axis/axis2/java/core/branches/1_5/modules/kernel/test/org/apache/axis2/transport/http/util/QueryStringParserTest.java
*
/axis/axis2/java/core/branches/1_5/modules/soapmonitor/servlet/src/main/java/org/apache/axis2/soapmonitor/servlet
*
/axis/axis2/java/core/branches/1_5/modules/saaj/src/org/apache/axis2/saaj/SOAPMessageImpl.java
* /axis/axis2/java/core/branches/1_5/modules/tool/axis2-repo-maven-plugin
* /axis/axis2/java/core/branches/1_5/modules/transport/http/src
* /axis/axis2/java/core/branches/1_5/modules/distribution
*
/axis/axis2/java/core/branches/1_5/modules/soapmonitor/servlet/src/main/java/org/apache/axis2/soapmonitor/applet
* /axis/axis2/java/core/branches/1_5/modules/transport/local
*
/axis/axis2/java/core/branches/1_5/modules/webapp/src/main/java/org/apache/axis2/webapp/AxisAdminServlet.java
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/servlet
*
/axis/axis2/java/core/branches/1_5/modules/webapp/src/main/java/org/apache/axis2/webapp/AdminAgent.java
* /axis/axis2/java/core/branches/1_5/modules/parent
*
/axis/axis2/java/core/branches/1_5/modules/saaj/src/org/apache/axis2/saaj/SOAPPartImpl.java
*
/axis/axis2/java/core/branches/1_5/modules/saaj/test/org/apache/axis2/saaj/SOAPMessageTest.java
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/module
> content-type header is not generated with SAAJ API
> --------------------------------------------------
>
> Key: AXIS2-5067
> URL: https://issues.apache.org/jira/browse/AXIS2-5067
> Project: Axis2
> Issue Type: Bug
> Components: saaj
> Affects Versions: 1.6.0
> Reporter: Ivan
> Assignee: Andreas Veithen
> Fix For: 1.5.6, 1.6.1, 1.7.0
>
> Attachments: AXIS2-5067-01.patch, AXIS2-5067.patch
>
>
> In the scenario below :
> SOAPMessage msg = MessageFactory.newInstance().createMessage();
> SOAPPart sp = msg.getSOAPPart();
> SOAPEnvelope envelope = sp.getEnvelope();
> SOAPBody bdy = envelope.getBody();
> SOAPBodyElement sbe = bdy.addBodyElement(envelope.createName("Body1",
> "ns1", "http://www.helloworld.org"));
> sbe.addChildElement(envelope.createName("c1", "ns1",
> "http://www.helloworld.org")).addTextNode("HelloWorld");
>
> URL url = new
> File("D:\\opensource\\axis2\\axis2\\axis2-1.5\\modules\\saaj\\pom.xml").toURI().toURL();
> AttachmentPart attachmentPart = msg.createAttachmentPart(new
> DataHandler(url));
> attachmentPart.setContentType("text/xml");
> msg.addAttachmentPart(attachmentPart);
> msg.saveChanges();
> If we use SOAPMessage.writeTo method to write to the message to an servlet
> outputstream, those boundary, content-id values are generated on the fly. And
> for the client applications, there is no way to get the corresponding
> content-type header.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]