• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

How to get started with axis1.4 urgent

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic