Hi,

I recently started working with Axis2 and worked thru most of the samples,

I am using Windows XP SP2
Tomcat 5.5,
Java 5.0,
Ant 1.7

I downloaded the axis2-1.3-war.zip and placed the war in
C:\apache-tomcat-5.5.25\webapps and started Tomcat.

The Axis2 samples are in

C:\apache-tomcat-5.5.25\webapps\axis2\WEB-INF\samples.

Using the Readmes, I could build and copy the services to \services.

Rick




On Nov 21, 2007 6:18 AM, Hoda, Nadeem [USA] <[EMAIL PROTECTED]> wrote:
>
>
>
> Folks,
>
> I've tried to deploy the Axis2 samples out of the box, and I am getting the
> following error:
>
> Error: java.lang.NoSuchMethodError:
> org.w3c.dom.Document.getXmlEncoding()Ljava/lang/String;
>     at
> org.apache.ws.commons.schema.utils.DOMUtil.getXmlEncoding(DOMUtil.java:604)
>     at
> org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:388)
>     at
> org.apache.axis2.description.WSDLToAxisServiceBuilder.getXMLSchema(WSDLToAxisServiceBuilder.java:140)
>     at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.copyExtensibleElements(WSDL11ToAxisServiceBuilder.java:2202)
>     at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processTypes(WSDL11ToAxisServiceBuilder.java:384)
>     at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processTypes(WSDL11ToAxisServiceBuilder.java:373)
>     at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:321)
>     at
> org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:109)
>     at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:249)
>     at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:357)
>     at
> org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:65)
>     at
> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:137)
>     at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:584)
>     at
> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:141)
>     at
> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:318)
>     at
> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:220)
>     at
> org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:312)
>     at
> org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:64)
>     at
> org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:71)
>     at
> org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:83)
>     at java.util.TimerThread.mainLoop(Timer.java:432) at
> java.util.TimerThread.run(Timer.java:382)
>
> Anybody know what I am missing?
>
> I am using Java 1.4. Do I need to configure something specific for using
> Axis2 with Java 1.4?
>
> I have included xerces 2.9.1 into the app server (oc4j 10.1.2) as a global
> lib.
>
> Thanks,
>
> Nadeem

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to