0 Replies Latest reply on Apr 9, 2006 1:44 PM by Boris Khanales

    SOAP with attachments

    Boris Khanales Newbie

      I'm getting:

      2006-04-09 13:33:56,268 DEBUG [org.jboss.webservice.server.InvokerProviderJSE] makeNewServiceObject: class=its.webservices.interf.BatchService
      2006-04-09 13:33:56,284 ERROR [org.jboss.axis.providers.java.RPCInvocation] org.xml.sax.SAXException: Could not construct bean using: [ctor=public javax.activation.DataHandler(javax.activation.DataSource),args=[]]
      org.xml.sax.SAXException: Could not construct bean using: [ctor=public javax.activation.DataHandler(javax.activation.DataSource),args=[]]
      at org.jboss.axis.encoding.ser.BeanDeserializer.onEndElement(BeanDeserializer.java:529)
      at org.jboss.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:582)
      at org.jboss.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1249)
      at org.jboss.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:252)
      at org.jboss.axis.message.SOAPElementAxisImpl.publishToHandler(SOAPElementAxisImpl.java:1389)
      at org.jboss.axis.message.RPCElement.deserialize(RPCElement.java:262)
      at org.jboss.axis.message.RPCElement.getParams(RPCElement.java:396)


      In WSDL:
      < typeMapping
      deserializer="org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory"
      languageSpecificType="java:javax.activation.DataHandler"
      qname="ns3:DataHandler"
      serializer="org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      />

      Any help please...