[jboss-user] [JBossWS] - Possible JBoss SwA Bug

malmit do-not-reply at jboss.com
Fri Nov 3 14:23:47 EST 2006

I am trying to build a document literal web service in JBoss 4.0.5 and can't get around this exception:

org.jboss.ws.WSException: Cannot obtain java/xml type mapping for: {http://www.w3.org/2001/XMLSchema}base64Binary

Here's what my wsdl looks like:



  <SOAP:binding style="document" transport="http://schemas.xmlsoap.org/soap/http">
      <SOAP:operation style="document" soapAction="Ping">
        < input>
              <SOAP:body use="literal"/>
              <mime:content part="data" type="gzip"/>
        </ input>
        < output>
          <SOAP:body use="literal"/>
        </ output>        

In my mapping.xml file that wscompile generated, this mapping was generated for the data mime:content:


My ultimate goal is to allow a web service request containing parameters passed via a normal web service request and allow an attachment of a base64 encoded binary file.  Is this a bug in JBoss 4.0.5 or did I do something wrong?

Thanks in advanced,

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

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

More information about the jboss-user mailing list