Tim,

Xalan is part of the JDK. I had similar problems when I tried to use my
own (newer) version of xalan which I put in the endorsed directory of my
tomcat server. Please check where you put xalan.jar and/or try to remove
it completely from your classpath.

Yves

On Wed, 2005-01-12 at 09:34 +0000, Tim R J Langford wrote:
> Hello Everyone,
> 
> I am trying to write an Axis consumer client that can interact with an 
> external .NET based web service. They use ws token based authorisation, 
> so I need to use wss4j to sign my outgoing messages with a token to 
> allow it to be processed. To do this I have followed the client sections 
> of the  'Apache wss4j Deployment Tutorial', but so far I have been 
> unsuccessfull. Currently, I recieve the following attached stack trace. 
> Does this make sense to anyone? If anyone can help me use this 
> infomraiton to help me resolve the problem I would be most indebted.
> 
> Thanks,
> 
> Tim
> 
> 
> PS: I wondered if it was a problem with my jars?
> 
> 
> Plain text document attachment (stacktrace.txt)
> - Unable to patch xalan function table.
> java.lang.NoSuchFieldException: m_functions
>       at java.lang.Class.getField(Class.java:919)
>       at org.apache.xml.security.Init.registerHereFunction(Init.java:429)
>       at org.apache.xml.security.Init.init(Init.java:124)
>       at 
> org.apache.ws.security.WSSecurityEngine.<clinit>(WSSecurityEngine.java:132)
>       at 
> org.apache.ws.axis.security.WSDoAllSender.<clinit>(WSDoAllSender.java:69)
>       at java.lang.Class.forName0(Native Method)
>       at java.lang.Class.forName(Class.java:219)
>       at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:176)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
>       at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
>       at 
> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353)
>       at 
> org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295)
>       at 
> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
>       at 
> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
>       at 
> org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
>       at 
> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
>       at 
> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
>       at 
> org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:507)
>       at 
> org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:264)
>       at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:344)
>       at org.apache.axis.client.AxisClient.invoke(AxisClient.java:133)
>       at org.apache.axis.client.Call.invokeEngine(Call.java:2719)
>       at org.apache.axis.client.Call.invoke(Call.java:2702)
>       at org.apache.axis.client.Call.invoke(Call.java:2378)
>       at org.apache.axis.client.Call.invoke(Call.java:2301)
>       at org.apache.axis.client.Call.invoke(Call.java:1758)
>       at 
> flight_engine.schemas_goldmedal_co_uk.AirServiceSoapStub.requestAvailableFares(Unknown
>  Source)
>       at 
> kaleidoscope.business.fab.handlers.goldmedal.AxisTestClient.goldMedalFlightEngineTest(AxisTestClient.java:148)
>       at 
> kaleidoscope.business.fab.handlers.goldmedal.AxisTestClient.main(AxisTestClient.java:226)

Reply via email to