The solution was to define the type for the DataHandler to be 
"application/octet-stream".  The solution looks like this:
<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <definitions name="ImagingService" 
  |     targetNamespace="http://web.imaging/ImagingService"; 
  |     xmlns:tns="http://web.imaging/ImagingService"; 
  |     xmlns="http://schemas.xmlsoap.org/wsdl/"; 
  |     xmlns:ns2="http://java.sun.com/jax-rpc-ri/internal"; 
  |     xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
  |     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
  |     xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";>
  | 
  |   <types/>
  |     
  |   <message name="FrontControllerInterface_getImage">
  |     <part name="String_1" type="xsd:string"/></message>
  |   <message name="FrontControllerInterface_getImageResponse">
  |     <part name="result" type="xsd:hexBinary"/></message>
  | 
  |   <portType name="FrontControllerInterface">
  |     <operation name="getImage" parameterOrder="String_1">
  |       <input message="tns:FrontControllerInterface_getImage"/>
  |       <output message="tns:FrontControllerInterface_getImageResponse"/>
  |     </operation>
  |   </portType>
  | 
  |   <binding name="FrontControllerInterfaceBinding" 
type="tns:FrontControllerInterface">
  |     <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="rpc"/>
  |     <operation name="getImage">
  |       <soap:operation soapAction=""/>
  |       <input>
  |         <soap:body use="literal" 
namespace="http://web.imaging/ImagingService"/>
  |       </input>
  |       <output>
  |         <mime:multipartRelated>
  |             <mime:part>
  |               <soap:body use="literal" 
namespace="http://web.imaging/ImagingService"/>
  |             </mime:part>
  |             <mime:part>
  |               <mime:content part="result" type="application/octet-stream"/>
  |             </mime:part>
  |             </mime:multipartRelated>
  |       </output>
  |     </operation>
  |   </binding>
  |   
  |   <service name="ImagingService">
  |     <port name="FrontControllerInterfacePort" 
binding="tns:FrontControllerInterfaceBinding">
  |       <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
  |     </port>
  |   </service>
  | </definitions>
  | 

This project is going to be rather large before I'm done, so I'm pretty unhappy 
about having to generate all of the WSDL file by hand from here on out, but as 
far as I can tell the only solution requires many changes to the WSDL file 
generated by wscompile from JWSDP.  I don't think I found any bugs.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904181#3904181

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904181


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to