cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jara Cesnek (JIRA)" <>
Subject [jira] Created: (CXF-1352) SOAP with Attachments is not working or cannot get to work !?
Date Thu, 03 Jan 2008 18:34:34 GMT
SOAP with Attachments is not working or cannot get to work !?

                 Key: CXF-1352
             Project: CXF
          Issue Type: Bug
          Components: Aegis Databinding, Configuration, Documentation, Samples
    Affects Versions: 2.0.3
            Reporter: Jara Cesnek

SOAP with Attachments generate always xsd:base64Binary into WSDL.
Even after hours trying I cannot get expected stuff in WSDL like this :
            <soap:body parts="" namespace="http://attachment.tip/" use="literal"/>
            <mime:content part="octet" type="application/octet-stream"/>

1) No documentation on CXF web site at all (so may be I am totaly wrong about switching on
SwA in CXF ?!)

2) In is one test case ClientServerSwaTest. Cant compile
because missing and other.

Anyway I follow test case and publish this method :

    public void testDataHandler(DataHandler arg1) {

In wsdl arg1 appears as xsd:base64Binary (same result as arg1 type was byte[]).

Clients sends data in base64 format and arg1 in this method is always NULL ! This seems to
me as bug.

1) Should I explicitly switch on SwA support ?
2) Should use @SOAPBinding(style=SOAPBinding.Style.RPC)
3) Should @XmlMimeType("application/octet-stream")
4) Support this AegisDataBinding ?

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

View raw message