axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Bull <anthony.b...@bcsoft.co.nz>
Subject Re: java.lang.NoSuchMethodError: javax.xml.namespace.QName
Date Mon, 28 Apr 2008 19:48:05 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Peter, <br>
<br>
I'm not positive on it, but I seem to remember getting this error when
I used a different version of the addressing/rampart modules with a
specific version of Axis 2.<br>
<br>
E.g.&nbsp; Axis 2 1.3 and rampart 1.2 and addressing 1.2.&nbsp; <br>
<br>
Changing all modules are jars to be for the same release of Axis 2
fixed it up.<br>
<br>
Rajesh, Peter (CLAIMS, WIP) wrote:
<blockquote
 cite="mid:A81ABA0183E2A6408356547D27525FF409F9F353@AD1HFDEXC306.ad1.prod"
 type="cite">
  <title>java.lang.NoSuchMethodError: javax.xml.namespace.QName</title>
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2900.3268" name="GENERATOR">
  <div dir="ltr" align="left"><font face="Arial" size="2">Hi,</font> </div>
  <p><font face="Arial" size="2">In the java client, to invoke an Axis2
webservice, when we try to create the ConfigurationContext as below,</font>
  </p>
  <p><font face="Arial" size="2">ConfigurationContext ctx =
ConfigurationContextFactory.<b>createConfigurationContextFromFileSystem</b>("<b>C:/Test/build/client_repository</b>",
null);</font></p>
  <p><font face="Arial" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</font><br>
  <font face="Arial" size="2">Below exception is thrown,</font> </p>
  <p><b><font face="Arial" size="2">java.lang.NoSuchMethodError:
javax.xml.namespace.QName.&lt;init&gt;(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V</font></b>
  </p>
  <p><font face="Arial" size="2">Please advice.</font> </p>
  <p><font face="Arial" size="2">Thanks &amp; Regards,</font> </p>
  <p><span class="034580316-28042008"><font color="#0000ff" face="Arial"
 size="2">Peter Rajesh</font></span></p>
  <font size="3"><br>
  <br>
*************************************************************************<br>
This communication, including attachments, is<br>
for the exclusive use of addressee and may contain proprietary,<br>
confidential and/or privileged information. If you are not the intended<br>
recipient, any use, copying, disclosure, dissemination or distribution
is<br>
strictly prohibited. If you are not the intended recipient, please
notify<br>
the sender immediately by return e-mail, delete this communication and<br>
destroy all copies.<br>
*************************************************************************<br>
  </font>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 

Anthony
------------------------------------- 
Anthony Bull
Senior Developer
Black Coffee Software Ltd
PO Box 10-192 The Terrace
Wellington, New Zealand
 
<a class="moz-txt-link-abbreviated" href="mailto:anthony.bull@bcsoft.co.nz">anthony.bull@bcsoft.co.nz</a>
Ph  +64 4 472 8818
Fax +64 4 472 8811
------------------------------------- 
<a class="moz-txt-link-abbreviated" href="http://www.bcsoft.co.nz">www.bcsoft.co.nz</a>
--------------------------------------------------------------- 
This email may contain confidential or privileged information, 
and is intended for use only by the addressee, or addressees. 
If you are not the intended recipient please advise the sender 
immediately and do not copy, use or disclose the contents to 
any other person or organisation.
Black Coffee Software Ltd accepts no responsibility for viruses 
received with this email, or to any changes made to the original 
content. Any views or opinions expressed in this email may be
personal to the sender and are not necessarily those of Black 
Coffee Software Ltd.
--------------------------------------------------------------- </pre>
</body>
</html>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message