Hi, I am new to webservices and running into an issue.
What i'm trying to do is basically build a webservice that will take a user's input and then connect to another webservice to get some results. So, the user will select a service (a function), and from that, it will connect to a third party webservice, get the results, analyze and return what is needed by that service. I've been building each part seperately. I wasn't sure on how to approach things, but I went ahead and used JAXB to bind the data for the third party webservice. I was able to get the wsdl and schema's from them, and I was able to get that working perfectly. What I did was I used JAXB to generate the classes from the schema and I generated the client code from the WSDL through Eclipse. I was able to access the third party webservice perfectly with no issues. The next thing I did was I got Axis2 (axis2.1.4.1) installed on jboss5.0.0. I went ahead and built my webserive class, and then compiled all the code, created a services.xml under META-INF and jar everything in a file.aar. I went ahead and deployed that and was able to get my webservice up and running. Now I'm trying to access one of my functions which calls the third party webservice. When I do that, I get the following: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled. Exception in thread "main" AxisFault faultCode: {http://www.w3.org/2003/05/soap-envelope}Receiver faultSubcode: faultString: org/apache/axis/client/Service faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTracerg/apache/axis/client/Service at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) I'm not sure why it's failing on org/apache/axis/client/Service and I'm not even sure if my approach is correct. Any help would be appreciated. Thanks!! -- View this message in context: http://old.nabble.com/Axis-Fault----org-apache-axis-client-Service-tp26374162p26374162.html Sent from the Axis - User mailing list archive at Nabble.com.