aspose file tools*
The moose likes Web Services and the fly likes How to get started with axis1.4 urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to get started with axis1.4 urgent" Watch "How to get started with axis1.4 urgent" New topic
Author

How to get started with axis1.4 urgent

lingesh sagara
Greenhorn

Joined: Jun 06, 2007
Posts: 12
hi friends,
i installed axis1.4. i have java1.5,tamcat6.0 and axis1.4.
when i am executing happyaxis.jsp i am getting the following output.
Needed Components

* Found SAAJ API ( javax.xml.soap.SOAPMessage ) at C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib\saaj.jar

* Found JAX-RPC API ( javax.xml.rpc.Service ) at C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib\jaxrpc.jar

* Found Apache-Axis ( org.apache.axis.transport.http.AxisServlet ) at C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib\axis.jar

* Found Jakarta-Commons Discovery ( org.apache.commons.discovery.Resource ) at C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib\commons-discovery-0.2.jar

* Found Jakarta-Commons Logging ( org.apache.commons.logging.Log ) at C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib\commons-logging-1.0.4.jar

* Found Log4j ( org.apache.log4j.Layout ) at C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar

* Found IBM's WSDL4Java ( com.ibm.wsdl.factory.WSDLFactoryImpl ) at C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib\wsdl4j-1.5.1.jar

* Found JAXP implementation ( javax.xml.parsers.SAXParserFactory ) at an unknown location

* Found Activation API ( javax.activation.DataHandler ) at C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis\WEB-INF\lib\activation.jar

and when i am executing the sample example program "EchoHeader.jws" http://localhost:8080/axis/EchoHeaders.jws?method=list
i am getting following error SOAP message instead of correct one
soapenv:Envelope>

<soapenv:Body>

<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>

<faultstring>
java.lang.RuntimeException: No compiler found in your classpath! (you may need to add 'tools.jar')
</faultstring>

<detail>
<ns1:hostname>lingesh</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope

for WSDL "http://localhost:8080/axis/EchoHeaders.jws?wsdl"
AXIS error

Sorry, something seems to have gone wrong... here are the details:

Fault - ; nested exception is:
java.lang.RuntimeException: No compiler found in your classpath! (you may need to add 'tools.jar')

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.RuntimeException: No compiler found in your classpath! (you may need to add 'tools.jar')
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:lingesh
could anybody help me plzzzzzzzzzzzzzzzz
Simon Baker
Ranch Hand

Joined: Sep 09, 2004
Posts: 57
Hi,

I started using Axis1.4 some time ago, and it was my first foray into web services. I found the book Developing Web Services with Apache Axis (Ka Iok Tong) extremely helpful.

As a bit of an aside, I've now switched to Axis2 and have found it a whole lot easier to understand and use (and it apparently performs significantly better too).

Unless you have a specific need to avoid Axis2 I would suggest you at least take a look at it.

Cheers,
Simon
 
 
subject: How to get started with axis1.4 urgent