Hi, this is a HTTP soap response to a RPC that returns a javax.activation.DataHandler type. with a Apache soap client I can get the attacment. The question is: How can write WSDL files to get such attached files ?
Guido. HTTP/1.0 200 OK Content-Type: multipart/related; boundary=829042.1005588032033.JavaMail.dimaio.hpi8832; type="text/xml"; start="1825624.1005588032063.apache-soap.hpi8832" Content-Length: 13109 Set-Cookie2: JSESSIONID=hc4jdxmcd2;Version=1;Discard;Path="/soap" Set-Cookie: JSESSIONID=hc4jdxmcd2;Path=/soap Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.) --6829042.1005588032033.JavaMail.dimaio.hpi8832 Content-Type: text/xml; charset=utf-8 Content-Transfer-Encoding: 8bit Content-ID: <1825624.1005588032063.apache-soap.hpi8832> Content-Length: 501 <?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body> <ns1:audioPreviewResponse xmlns:ns1="urn:xml-soap-demo-jas" SOAP- ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <return href ="cid:6761403.1005588032033.apache-soap.hpi8832"/> </ns1:audioPreviewResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> --6829042.1005588032033.JavaMail.dimaio.hpi8832 Content-Type: audio/x-ms-wma Content-Transfer-Encoding: 8bit Content-ID: <6761403.1005588032033.apache-soap.hpi8832> Content-Length: 12158 binary attchment bla, bla, bla, --6829042.1005588032033.JavaMail.dimaio.hpi8832--