You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Fabien Couvert <fa...@bull.net> on 2008/06/26 14:16:20 UTC
Axis2 1.3 to Axis2 1.4
Hi all,
I try to upgrade Axis2 to 1.4 version but I get this exception when I
try to createConfigurationContextFromFileSystem :
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/ws/commons/schema/resolver/URIResolver
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
Anyone have an idea please ?
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Patch to org.apache.axis2.saaj.SOAPConnectionImpl to set time-out
Posted by Bartolomeo Nicolotti <bn...@siapcn.it>.
Hi,
I'm using org.apache.axis2.saaj.SOAPConnectionImpl.call to send raw SOAP
messages to a webservice I could not consume otherwise.
Sometimes I got:
e.toString():javax.xml.soap.SOAPException: Read timed out
org.apache.axis2.saaj.SOAPConnectionImpl.handleSOAPMessage(SOAPConnectionImpl.java:194)
org.apache.axis2.saaj.SOAPConnectionImpl.call(SOAPConnectionImpl.java:130)
So I would increment the time-out as in
http://wso2.org/library/230#SO_TIMEOUT
but I couldn't find any way.
Also SAAJ standard implementation seems to lack the possibility to set a
HttpConnection time out!
So I've got the source of SOAPConnectionImpl, saved a copy in my client
project and added near line 110:
// initialize and set Options
Options options = new Options();
options.setTo(new EndpointReference(url.toString()));
++++ options.setProperty(HTTPConstants.SO_TIMEOUT, timeOut );
++++ options.setProperty(HTTPConstants.CONNECTION_TIMEOUT, timeOut);
// initialize the Sender
OperationClient opClient;
try {
serviceClient = new ServiceClient();
timeOut is a private int also added, with getter and setter.
Is this Ok?
Is there another way to do this without having to patch the code?
Many thanks in advance.
Bye
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Ho to handle in wsdl
Posted by keith chapman <ke...@gmail.com>.
If you use Axis2 for the above case you dont need to edit your WSDL. In this
case you can provide an OMElement as the request. This is the simplest way
to create an OMElemet.
String str = "<echo><echoString>XML echo string</echoString></echo>";
StAXOMBuilder staxOMBuilder = new StAXOMBuilder(new
ByteArrayInputStream(str.getBytes()));
OMElement element = staxOMBuilder.getDocumentElement();
If you generate a stub for this WSDL using Axis2 the dataType of request
will be an OMElement too.
Thanks,
Keith.
On Thu, Jun 26, 2008 at 6:08 PM, Bartolomeo Nicolotti <bn...@siapcn.it>
wrote:
> Hi there!
>
> I've a wsdl for a web service that I've to consume with elements of this
> kind:
>
> <s:element maxOccurs="1" minOccurs="0" name="Request">
> <s:complexType>
> <s:sequence>
> <s:any/>
> </s:sequence>
> </s:complexType>
> </s:element>
>
> both in the request and in the response messages.
>
> The goal of doing this is to put generic xml in Request tag.
>
> The documentation of the web service suggests that to use this wsdl with
> axis1 you have to replace the above with:
>
> <s:element maxOccurs="1" minOccurs="0" name="Request"
> type="apachesoap:Element"/>
>
> If I do this wsdl2java gives an error because it cannot find
> apachesoap:Element. Which xmlns must I include so that the Request
> should be binded to the org.w3c.dom.Element type?
>
> Is there a better way to handle <s:any> in axis2? Or in general to put
> generic xml in a tag?
>
> Many thanks in advance.
>
> Bye!
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/
blog: http://www.keith-chapman.org
Ho to handle in wsdl
Posted by Bartolomeo Nicolotti <bn...@siapcn.it>.
Hi there!
I've a wsdl for a web service that I've to consume with elements of this
kind:
<s:element maxOccurs="1" minOccurs="0" name="Request">
<s:complexType>
<s:sequence>
<s:any/>
</s:sequence>
</s:complexType>
</s:element>
both in the request and in the response messages.
The goal of doing this is to put generic xml in Request tag.
The documentation of the web service suggests that to use this wsdl with
axis1 you have to replace the above with:
<s:element maxOccurs="1" minOccurs="0" name="Request"
type=”apachesoap:Element”/>
If I do this wsdl2java gives an error because it cannot find
apachesoap:Element. Which xmlns must I include so that the Request
should be binded to the org.w3c.dom.Element type?
Is there a better way to handle <s:any> in axis2? Or in general to put
generic xml in a tag?
Many thanks in advance.
Bye!
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 1.3 to Axis2 1.4
Posted by Fabien Couvert <fa...@bull.net>.
Hi,
Another idea please ?
I'm completely blocked.
Fabien Couvert a écrit :
> Fabien Couvert a écrit :
>
> I checked the system classpath and it doesn't containt any jar. Only a
> .zip file for quicktime.
> Where tomcat can find Jaxb2.0 ?!
>
> here is the error server side :
> [ERROR] AxisServlet.doPost() - JAXB 2.0 API is being loaded from the
> bootstrap classloader, but this RI (from
> jar:file:/D:/produits/Tomcat%206.0/webapps/axis2/WEB-INF/lib/jaxb-impl-2.1.6.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
> needs 2.1 API. Use the endorsed directory mechanism to place
> jaxb-api.jar in the bootstrap classloader. (See
> http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
>
> Thank you
>
>> sumedha rubasinghe a écrit :
>>> Well... then how about your system classpath?
>>> Open up a new command window and check what jars are in your classpath.
>>>
>>> /sumedha
>>>
>>> rubasinghe a écrit :
>>>
>>> Hi,
>>>
>>> I tested axis2-1.4 war with java version "1.5.0_14" & Tomcat
>>> 6.0.16 .o
>>> It works fine. So this must be due to an additional jar file
>>> in your system classpath.
>>>
>>> Try printing contents of classpath variable just before tomcat
>>> starts.
>>> axis2.war contains jaxb-api-2.1.jar file. There must be an
>>> older version of the same jar file in your classpath, which
>>> gets loaded before 2.1 jar.
>>>
>>> /sumedha
>>>
>>>
>>>
>>>
>>> On Fri, Jun 27, 2008 at 1:21 PM, Fabien Couvert
>>> <fabien.couvert@bull.net <ma...@bull.net>
>>> <mailto:fabien.couvert@bull.net
>>> <ma...@bull.net>>> wrote:
>>>
>>> I use Jdk1.5.0-14
>>>
>>> Did you think that is the problem ?
>>>
>>> keith chapman a écrit :
>>>
>>> Should be an issue with the JDK you are using not with
>>> Tomcat.
>>> What is your JDK version?
>>>
>>> Thanks,
>>> Keith.
>>>
>>> On Fri, Jun 27, 2008 at 12:02 PM, Fabien Couvert
>>> <fabien.couvert@bull.net
>>> <ma...@bull.net>
>>> <mailto:fabien.couvert@bull.net
>>> <ma...@bull.net>>
>>> <mailto:fabien.couvert@bull.net
>>> <ma...@bull.net>
>>> <mailto:fabien.couvert@bull.net
>>> <ma...@bull.net>>>> wrote:
>>>
>>> Thank you for your answer
>>>
>>> I did a mistake in the lib name ...
>>>
>>> But now I have another error, is there an
>>> incompatibility
>>> between
>>> Axis2 1.4 and Tomcat 6.0.16 ?
>>>
>>> The error :
>>> Impossible to call remote service with url.
>>> Caused by: org.apache.axis2.AxisFault:
>>> java.lang.LinkageError:
>>> JAXB 2.0 API is being loaded from the bootstrap
>>> classloader, but
>>> this RI (from
>>>
>>> jar:file:/D:/produits/Tomcat%206.0/webapps/axis2/WEB-INF/lib/jaxb-impl-2.1.6.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
>>>
>>> needs 2.1 API. Use the endorsed directory mechanism
>>> to place
>>> jaxb-api.jar in the bootstrap classloader. (See
>>> http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
>>>
>>> Thank you
>>>
>>> sumedha rubasinghe a écrit :
>>>
>>> Hi,
>>> Do you have XmlSchema-1.4.2.jar in your
>>> classpath?
>>>
>>> /sumedha
>>>
>>> On Thu, Jun 26, 2008 at 5:46 PM, Fabien Couvert
>>> <fabien.couvert@bull.net
>>> <ma...@bull.net>
>>> <mailto:fabien.couvert@bull.net
>>> <ma...@bull.net>>
>>> <mailto:fabien.couvert@bull.net
>>> <ma...@bull.net>
>>> <mailto:fabien.couvert@bull.net
>>> <ma...@bull.net>>>
>>> <mailto:fabien.couvert@bull.net
>>> <ma...@bull.net>
>>> <mailto:fabien.couvert@bull.net
>>> <ma...@bull.net>>
>>> <mailto:fabien.couvert@bull.net
>>> <ma...@bull.net>
>>> <mailto:fabien.couvert@bull.net
>>> <ma...@bull.net>>>>> wrote:
>>>
>>> Hi all,
>>>
>>> I try to upgrade Axis2 to 1.4 version but I
>>> get this
>>> exception
>>> when I try to
>>> createConfigurationContextFromFileSystem :
>>>
>>> Exception in thread "main"
>>> java.lang.NoClassDefFoundError:
>>>
>>> org/apache/ws/commons/schema/resolver/URIResolver
>>> at
>>>
>>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
>>>
>>>
>>>
>>> Anyone have an idea please ?
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail:
>>> axis-user-unsubscribe@ws.apache.org
>>> <ma...@ws.apache.org>
>>> <mailto:axis-user-unsubscribe@ws.apache.org
>>> <ma...@ws.apache.org>>
>>> <mailto:axis-user-unsubscribe@ws.apache.org
>>> <ma...@ws.apache.org>
>>> <mailto:axis-user-unsubscribe@ws.apache.org
>>> <ma...@ws.apache.org>>>
>>> <mailto:axis-user-unsubscribe@ws.apache.org
>>> <ma...@ws.apache.org>
>>> <mailto:axis-user-unsubscribe@ws.apache.org
>>> <ma...@ws.apache.org>>
>>> <mailto:axis-user-unsubscribe@ws.apache.org
>>> <ma...@ws.apache.org>
>>> <mailto:axis-user-unsubscribe@ws.apache.org
>>> <ma...@ws.apache.org>>>>
>>>
>>> For additional commands, e-mail:
>>> axis-user-help@ws.apache.org
>>> <ma...@ws.apache.org>
>>> <mailto:axis-user-help@ws.apache.org
>>> <ma...@ws.apache.org>>
>>> <mailto:axis-user-help@ws.apache.org
>>> <ma...@ws.apache.org>
>>> <mailto:axis-user-help@ws.apache.org
>>> <ma...@ws.apache.org>>>
>>> <mailto:axis-user-help@ws.apache.org
>>> <ma...@ws.apache.org>
>>> <mailto:axis-user-help@ws.apache.org
>>> <ma...@ws.apache.org>>
>>> <mailto:axis-user-help@ws.apache.org
>>> <ma...@ws.apache.org>
>>> <mailto:axis-user-help@ws.apache.org
>>> <ma...@ws.apache.org>>>>
>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail:
>>> axis-user-unsubscribe@ws.apache.org
>>> <ma...@ws.apache.org>
>>> <mailto:axis-user-unsubscribe@ws.apache.org
>>> <ma...@ws.apache.org>>
>>> <mailto:axis-user-unsubscribe@ws.apache.org
>>> <ma...@ws.apache.org>
>>> <mailto:axis-user-unsubscribe@ws.apache.org
>>> <ma...@ws.apache.org>>>
>>> For additional commands, e-mail:
>>> axis-user-help@ws.apache.org
>>> <ma...@ws.apache.org>
>>> <mailto:axis-user-help@ws.apache.org
>>> <ma...@ws.apache.org>>
>>> <mailto:axis-user-help@ws.apache.org
>>> <ma...@ws.apache.org>
>>> <mailto:axis-user-help@ws.apache.org
>>> <ma...@ws.apache.org>>>
>>>
>>>
>>>
>>>
>>> -- Keith Chapman
>>> Senior Software Engineer
>>> WSO2 Inc.
>>> Oxygenating the Web Service Platform.
>>> http://wso2.org/
>>>
>>> blog: http://www.keith-chapman.org
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>> <ma...@ws.apache.org>
>>> <mailto:axis-user-unsubscribe@ws.apache.org
>>> <ma...@ws.apache.org>>
>>> For additional commands, e-mail:
>>> axis-user-help@ws.apache.org
>>> <ma...@ws.apache.org>
>>> <mailto:axis-user-help@ws.apache.org
>>> <ma...@ws.apache.org>>
>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>> <ma...@ws.apache.org>
>>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>> <ma...@ws.apache.org>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 1.3 to Axis2 1.4
Posted by Fabien Couvert <fa...@bull.net>.
Fabien Couvert a écrit :
I checked the system classpath and it doesn't containt any jar. Only a
.zip file for quicktime.
Where tomcat can find Jaxb2.0 ?!
here is the error server side :
[ERROR] AxisServlet.doPost() - JAXB 2.0 API is being loaded from the
bootstrap classloader, but this RI (from
jar:file:/D:/produits/Tomcat%206.0/webapps/axis2/WEB-INF/lib/jaxb-impl-2.1.6.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
needs 2.1 API. Use the endorsed directory mechanism to place
jaxb-api.jar in the bootstrap classloader. (See
http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
Thank you
> sumedha rubasinghe a écrit :
>> Well... then how about your system classpath?
>> Open up a new command window and check what jars are in your classpath.
>>
>> /sumedha
>>
>> rubasinghe a écrit :
>>
>> Hi,
>>
>> I tested axis2-1.4 war with java version "1.5.0_14" & Tomcat
>> 6.0.16 .o
>> It works fine. So this must be due to an additional jar file
>> in your system classpath.
>>
>> Try printing contents of classpath variable just before tomcat
>> starts.
>> axis2.war contains jaxb-api-2.1.jar file. There must be an
>> older version of the same jar file in your classpath, which
>> gets loaded before 2.1 jar.
>>
>> /sumedha
>>
>>
>>
>>
>> On Fri, Jun 27, 2008 at 1:21 PM, Fabien Couvert
>> <fabien.couvert@bull.net <ma...@bull.net>
>> <mailto:fabien.couvert@bull.net
>> <ma...@bull.net>>> wrote:
>>
>> I use Jdk1.5.0-14
>>
>> Did you think that is the problem ?
>>
>> keith chapman a écrit :
>>
>> Should be an issue with the JDK you are using not with
>> Tomcat.
>> What is your JDK version?
>>
>> Thanks,
>> Keith.
>>
>> On Fri, Jun 27, 2008 at 12:02 PM, Fabien Couvert
>> <fabien.couvert@bull.net
>> <ma...@bull.net>
>> <mailto:fabien.couvert@bull.net
>> <ma...@bull.net>>
>> <mailto:fabien.couvert@bull.net
>> <ma...@bull.net>
>> <mailto:fabien.couvert@bull.net
>> <ma...@bull.net>>>> wrote:
>>
>> Thank you for your answer
>>
>> I did a mistake in the lib name ...
>>
>> But now I have another error, is there an
>> incompatibility
>> between
>> Axis2 1.4 and Tomcat 6.0.16 ?
>>
>> The error :
>> Impossible to call remote service with url.
>> Caused by: org.apache.axis2.AxisFault:
>> java.lang.LinkageError:
>> JAXB 2.0 API is being loaded from the bootstrap
>> classloader, but
>> this RI (from
>>
>> jar:file:/D:/produits/Tomcat%206.0/webapps/axis2/WEB-INF/lib/jaxb-impl-2.1.6.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
>>
>> needs 2.1 API. Use the endorsed directory mechanism
>> to place
>> jaxb-api.jar in the bootstrap classloader. (See
>> http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
>>
>> Thank you
>>
>> sumedha rubasinghe a écrit :
>>
>> Hi,
>> Do you have XmlSchema-1.4.2.jar in your classpath?
>>
>> /sumedha
>>
>> On Thu, Jun 26, 2008 at 5:46 PM, Fabien Couvert
>> <fabien.couvert@bull.net
>> <ma...@bull.net>
>> <mailto:fabien.couvert@bull.net
>> <ma...@bull.net>>
>> <mailto:fabien.couvert@bull.net
>> <ma...@bull.net>
>> <mailto:fabien.couvert@bull.net
>> <ma...@bull.net>>>
>> <mailto:fabien.couvert@bull.net
>> <ma...@bull.net>
>> <mailto:fabien.couvert@bull.net
>> <ma...@bull.net>>
>> <mailto:fabien.couvert@bull.net
>> <ma...@bull.net>
>> <mailto:fabien.couvert@bull.net
>> <ma...@bull.net>>>>> wrote:
>>
>> Hi all,
>>
>> I try to upgrade Axis2 to 1.4 version but I
>> get this
>> exception
>> when I try to
>> createConfigurationContextFromFileSystem :
>>
>> Exception in thread "main"
>> java.lang.NoClassDefFoundError:
>>
>> org/apache/ws/commons/schema/resolver/URIResolver
>> at
>>
>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
>>
>>
>>
>> Anyone have an idea please ?
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>>
>> <mailto:axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>>>
>> <mailto:axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>>
>> <mailto:axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>>>>
>>
>> For additional commands, e-mail:
>> axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>>
>> <mailto:axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>>>
>> <mailto:axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>>
>> <mailto:axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>>>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>>
>> <mailto:axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>>>
>> For additional commands, e-mail:
>> axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>>
>> <mailto:axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>>>
>>
>>
>>
>>
>> -- Keith Chapman
>> Senior Software Engineer
>> WSO2 Inc.
>> Oxygenating the Web Service Platform.
>> http://wso2.org/
>>
>> blog: http://www.keith-chapman.org
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>>
>> For additional commands, e-mail:
>> axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 1.3 to Axis2 1.4
Posted by Fabien Couvert <fa...@bull.net>.
I checked the system classpath and it doesn't containt any jar. Only a
.zip file for quicktime.
Where tomcat can find Jaxb2.0 ?!
sumedha rubasinghe a écrit :
> Well... then how about your system classpath?
> Open up a new command window and check what jars are in your classpath.
>
> /sumedha
>
> rubasinghe a écrit :
>
> Hi,
>
> I tested axis2-1.4 war with java version "1.5.0_14" & Tomcat
> 6.0.16 .o
> It works fine. So this must be due to an additional jar file
> in your system classpath.
>
> Try printing contents of classpath variable just before tomcat
> starts.
> axis2.war contains jaxb-api-2.1.jar file. There must be an
> older version of the same jar file in your classpath, which
> gets loaded before 2.1 jar.
>
> /sumedha
>
>
>
>
> On Fri, Jun 27, 2008 at 1:21 PM, Fabien Couvert
> <fabien.couvert@bull.net <ma...@bull.net>
> <mailto:fabien.couvert@bull.net
> <ma...@bull.net>>> wrote:
>
> I use Jdk1.5.0-14
>
> Did you think that is the problem ?
>
> keith chapman a écrit :
>
> Should be an issue with the JDK you are using not with
> Tomcat.
> What is your JDK version?
>
> Thanks,
> Keith.
>
> On Fri, Jun 27, 2008 at 12:02 PM, Fabien Couvert
> <fabien.couvert@bull.net
> <ma...@bull.net>
> <mailto:fabien.couvert@bull.net <ma...@bull.net>>
> <mailto:fabien.couvert@bull.net
> <ma...@bull.net>
> <mailto:fabien.couvert@bull.net
> <ma...@bull.net>>>> wrote:
>
> Thank you for your answer
>
> I did a mistake in the lib name ...
>
> But now I have another error, is there an
> incompatibility
> between
> Axis2 1.4 and Tomcat 6.0.16 ?
>
> The error :
> Impossible to call remote service with url.
> Caused by: org.apache.axis2.AxisFault:
> java.lang.LinkageError:
> JAXB 2.0 API is being loaded from the bootstrap
> classloader, but
> this RI (from
>
> jar:file:/D:/produits/Tomcat%206.0/webapps/axis2/WEB-INF/lib/jaxb-impl-2.1.6.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
> needs 2.1 API. Use the endorsed directory mechanism
> to place
> jaxb-api.jar in the bootstrap classloader. (See
> http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
>
> Thank you
>
> sumedha rubasinghe a écrit :
>
> Hi,
> Do you have XmlSchema-1.4.2.jar in your classpath?
>
> /sumedha
>
> On Thu, Jun 26, 2008 at 5:46 PM, Fabien Couvert
> <fabien.couvert@bull.net
> <ma...@bull.net>
> <mailto:fabien.couvert@bull.net
> <ma...@bull.net>>
> <mailto:fabien.couvert@bull.net
> <ma...@bull.net>
> <mailto:fabien.couvert@bull.net <ma...@bull.net>>>
> <mailto:fabien.couvert@bull.net
> <ma...@bull.net>
> <mailto:fabien.couvert@bull.net
> <ma...@bull.net>>
> <mailto:fabien.couvert@bull.net
> <ma...@bull.net>
> <mailto:fabien.couvert@bull.net
> <ma...@bull.net>>>>> wrote:
>
> Hi all,
>
> I try to upgrade Axis2 to 1.4 version but I
> get this
> exception
> when I try to
> createConfigurationContextFromFileSystem :
>
> Exception in thread "main"
> java.lang.NoClassDefFoundError:
> org/apache/ws/commons/schema/resolver/URIResolver
> at
>
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
>
>
> Anyone have an idea please ?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>>
> <mailto:axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>>>
> <mailto:axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>>
> <mailto:axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>>>>
>
> For additional commands, e-mail:
> axis-user-help@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-help@ws.apache.org
> <ma...@ws.apache.org>>
> <mailto:axis-user-help@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-help@ws.apache.org
> <ma...@ws.apache.org>>>
> <mailto:axis-user-help@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-help@ws.apache.org
> <ma...@ws.apache.org>>
> <mailto:axis-user-help@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-help@ws.apache.org
> <ma...@ws.apache.org>>>>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>>
> <mailto:axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>>>
> For additional commands, e-mail:
> axis-user-help@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-help@ws.apache.org
> <ma...@ws.apache.org>>
> <mailto:axis-user-help@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-help@ws.apache.org
> <ma...@ws.apache.org>>>
>
>
>
>
> -- Keith Chapman
> Senior Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> http://wso2.org/
>
> blog: http://www.keith-chapman.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>>
> For additional commands, e-mail:
> axis-user-help@ws.apache.org <ma...@ws.apache.org>
> <mailto:axis-user-help@ws.apache.org
> <ma...@ws.apache.org>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> For additional commands, e-mail: axis-user-help@ws.apache.org
> <ma...@ws.apache.org>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 1.3 to Axis2 1.4
Posted by sumedha rubasinghe <su...@gmail.com>.
Well... then how about your system classpath?
Open up a new command window and check what jars are in your classpath.
/sumedha
rubasinghe a écrit :
>
>> Hi,
>> I tested axis2-1.4 war with java version "1.5.0_14" & Tomcat 6.0.16 .o
>> It works fine. So this must be due to an additional jar file in your
>> system classpath.
>>
>> Try printing contents of classpath variable just before tomcat starts.
>> axis2.war contains jaxb-api-2.1.jar file. There must be an older version
>> of the same jar file in your classpath, which gets loaded before 2.1 jar.
>>
>> /sumedha
>>
>>
>>
>>
>> On Fri, Jun 27, 2008 at 1:21 PM, Fabien Couvert <fabien.couvert@bull.net<mailto:
>> fabien.couvert@bull.net>> wrote:
>>
>> I use Jdk1.5.0-14
>>
>> Did you think that is the problem ?
>>
>> keith chapman a écrit :
>>
>> Should be an issue with the JDK you are using not with Tomcat.
>> What is your JDK version?
>>
>> Thanks,
>> Keith.
>>
>> On Fri, Jun 27, 2008 at 12:02 PM, Fabien Couvert
>> <fabien.couvert@bull.net <ma...@bull.net>
>> <mailto:fabien.couvert@bull.net
>> <ma...@bull.net>>> wrote:
>>
>> Thank you for your answer
>>
>> I did a mistake in the lib name ...
>>
>> But now I have another error, is there an incompatibility
>> between
>> Axis2 1.4 and Tomcat 6.0.16 ?
>>
>> The error :
>> Impossible to call remote service with url.
>> Caused by: org.apache.axis2.AxisFault: java.lang.LinkageError:
>> JAXB 2.0 API is being loaded from the bootstrap
>> classloader, but
>> this RI (from
>>
>> jar:file:/D:/produits/Tomcat%206.0/webapps/axis2/WEB-INF/lib/jaxb-impl-2.1.6.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
>> needs 2.1 API. Use the endorsed directory mechanism to place
>> jaxb-api.jar in the bootstrap classloader. (See
>> http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
>>
>> Thank you
>>
>> sumedha rubasinghe a écrit :
>>
>> Hi,
>> Do you have XmlSchema-1.4.2.jar in your classpath?
>>
>> /sumedha
>>
>> On Thu, Jun 26, 2008 at 5:46 PM, Fabien Couvert
>> <fabien.couvert@bull.net
>> <ma...@bull.net>
>> <mailto:fabien.couvert@bull.net <ma...@bull.net>>
>> <mailto:fabien.couvert@bull.net
>> <ma...@bull.net>
>> <mailto:fabien.couvert@bull.net
>> <ma...@bull.net>>>> wrote:
>>
>> Hi all,
>>
>> I try to upgrade Axis2 to 1.4 version but I get this
>> exception
>> when I try to createConfigurationContextFromFileSystem :
>>
>> Exception in thread "main"
>> java.lang.NoClassDefFoundError:
>> org/apache/ws/commons/schema/resolver/URIResolver
>> at
>>
>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
>>
>>
>> Anyone have an idea please ?
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>>
>> <mailto:axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>>>
>>
>> For additional commands, e-mail:
>> axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>>
>> <mailto:axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>>
>> For additional commands, e-mail:
>> axis-user-help@ws.apache.org <ma...@ws.apache.org>
>> <mailto:axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>>
>>
>>
>>
>>
>> -- Keith Chapman
>> Senior Software Engineer
>> WSO2 Inc.
>> Oxygenating the Web Service Platform.
>> http://wso2.org/
>>
>> blog: http://www.keith-chapman.org
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
Re: Axis2 1.3 to Axis2 1.4
Posted by Fabien Couvert <fa...@bull.net>.
Hi,
the only thing in my classpath for tomcat is : "D:\produits\Tomcat
6.0\bin\bootstrap.jar"
Did you think that the jaxb-api was include in the bootstrap.jar ?
Thank you
Fabien
sumedha rubasinghe a écrit :
> Hi,
> I tested axis2-1.4 war with java version "1.5.0_14" & Tomcat 6.0.16 .
> It works fine. So this must be due to an additional jar file in your
> system classpath.
>
> Try printing contents of classpath variable just before tomcat starts.
> axis2.war contains jaxb-api-2.1.jar file. There must be an older
> version of the same jar file in your classpath, which gets loaded
> before 2.1 jar.
>
> /sumedha
>
>
>
>
> On Fri, Jun 27, 2008 at 1:21 PM, Fabien Couvert
> <fabien.couvert@bull.net <ma...@bull.net>> wrote:
>
> I use Jdk1.5.0-14
>
> Did you think that is the problem ?
>
> keith chapman a écrit :
>
> Should be an issue with the JDK you are using not with Tomcat.
> What is your JDK version?
>
> Thanks,
> Keith.
>
> On Fri, Jun 27, 2008 at 12:02 PM, Fabien Couvert
> <fabien.couvert@bull.net <ma...@bull.net>
> <mailto:fabien.couvert@bull.net
> <ma...@bull.net>>> wrote:
>
> Thank you for your answer
>
> I did a mistake in the lib name ...
>
> But now I have another error, is there an incompatibility
> between
> Axis2 1.4 and Tomcat 6.0.16 ?
>
> The error :
> Impossible to call remote service with url.
> Caused by: org.apache.axis2.AxisFault: java.lang.LinkageError:
> JAXB 2.0 API is being loaded from the bootstrap
> classloader, but
> this RI (from
>
> jar:file:/D:/produits/Tomcat%206.0/webapps/axis2/WEB-INF/lib/jaxb-impl-2.1.6.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
> needs 2.1 API. Use the endorsed directory mechanism to place
> jaxb-api.jar in the bootstrap classloader. (See
> http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
>
> Thank you
>
> sumedha rubasinghe a écrit :
>
> Hi,
> Do you have XmlSchema-1.4.2.jar in your classpath?
>
> /sumedha
>
> On Thu, Jun 26, 2008 at 5:46 PM, Fabien Couvert
> <fabien.couvert@bull.net
> <ma...@bull.net>
> <mailto:fabien.couvert@bull.net <ma...@bull.net>>
> <mailto:fabien.couvert@bull.net
> <ma...@bull.net>
> <mailto:fabien.couvert@bull.net
> <ma...@bull.net>>>> wrote:
>
> Hi all,
>
> I try to upgrade Axis2 to 1.4 version but I get this
> exception
> when I try to createConfigurationContextFromFileSystem :
>
> Exception in thread "main"
> java.lang.NoClassDefFoundError:
> org/apache/ws/commons/schema/resolver/URIResolver
> at
>
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
>
>
> Anyone have an idea please ?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>>
> <mailto:axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>>>
>
> For additional commands, e-mail:
> axis-user-help@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-help@ws.apache.org
> <ma...@ws.apache.org>>
> <mailto:axis-user-help@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-help@ws.apache.org
> <ma...@ws.apache.org>>>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>>
> For additional commands, e-mail:
> axis-user-help@ws.apache.org <ma...@ws.apache.org>
> <mailto:axis-user-help@ws.apache.org
> <ma...@ws.apache.org>>
>
>
>
>
> --
> Keith Chapman
> Senior Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> http://wso2.org/
>
> blog: http://www.keith-chapman.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> For additional commands, e-mail: axis-user-help@ws.apache.org
> <ma...@ws.apache.org>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 1.3 to Axis2 1.4
Posted by sumedha rubasinghe <su...@gmail.com>.
Hi,
I tested axis2-1.4 war with java version "1.5.0_14" & Tomcat 6.0.16 .
It works fine. So this must be due to an additional jar file in your system
classpath.
Try printing contents of classpath variable just before tomcat starts.
axis2.war contains jaxb-api-2.1.jar file. There must be an older version of
the same jar file in your classpath, which gets loaded before 2.1 jar.
/sumedha
On Fri, Jun 27, 2008 at 1:21 PM, Fabien Couvert <fa...@bull.net>
wrote:
> I use Jdk1.5.0-14
>
> Did you think that is the problem ?
>
> keith chapman a écrit :
>
>> Should be an issue with the JDK you are using not with Tomcat. What is
>> your JDK version?
>>
>> Thanks,
>> Keith.
>>
>> On Fri, Jun 27, 2008 at 12:02 PM, Fabien Couvert <fabien.couvert@bull.net<mailto:
>> fabien.couvert@bull.net>> wrote:
>>
>> Thank you for your answer
>>
>> I did a mistake in the lib name ...
>>
>> But now I have another error, is there an incompatibility between
>> Axis2 1.4 and Tomcat 6.0.16 ?
>>
>> The error :
>> Impossible to call remote service with url.
>> Caused by: org.apache.axis2.AxisFault: java.lang.LinkageError:
>> JAXB 2.0 API is being loaded from the bootstrap classloader, but
>> this RI (from
>>
>> jar:file:/D:/produits/Tomcat%206.0/webapps/axis2/WEB-INF/lib/jaxb-impl-2.1.6.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
>> needs 2.1 API. Use the endorsed directory mechanism to place
>> jaxb-api.jar in the bootstrap classloader. (See
>> http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
>>
>> Thank you
>>
>> sumedha rubasinghe a écrit :
>>
>> Hi,
>> Do you have XmlSchema-1.4.2.jar in your classpath?
>>
>> /sumedha
>>
>> On Thu, Jun 26, 2008 at 5:46 PM, Fabien Couvert
>> <fabien.couvert@bull.net <ma...@bull.net>
>> <mailto:fabien.couvert@bull.net
>> <ma...@bull.net>>> wrote:
>>
>> Hi all,
>>
>> I try to upgrade Axis2 to 1.4 version but I get this exception
>> when I try to createConfigurationContextFromFileSystem :
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/apache/ws/commons/schema/resolver/URIResolver
>> at
>>
>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
>>
>>
>> Anyone have an idea please ?
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>
>> <mailto:axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>>
>>
>> For additional commands, e-mail:
>> axis-user-help@ws.apache.org <ma...@ws.apache.org>
>> <mailto:axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>
>>
>>
>>
>>
>> --
>> Keith Chapman
>> Senior Software Engineer
>> WSO2 Inc.
>> Oxygenating the Web Service Platform.
>> http://wso2.org/
>>
>> blog: http://www.keith-chapman.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
Re: Axis2 1.3 to Axis2 1.4
Posted by Fabien Couvert <fa...@bull.net>.
I use Jdk1.5.0-14
Did you think that is the problem ?
keith chapman a écrit :
> Should be an issue with the JDK you are using not with Tomcat. What is
> your JDK version?
>
> Thanks,
> Keith.
>
> On Fri, Jun 27, 2008 at 12:02 PM, Fabien Couvert
> <fabien.couvert@bull.net <ma...@bull.net>> wrote:
>
> Thank you for your answer
>
> I did a mistake in the lib name ...
>
> But now I have another error, is there an incompatibility between
> Axis2 1.4 and Tomcat 6.0.16 ?
>
> The error :
> Impossible to call remote service with url.
> Caused by: org.apache.axis2.AxisFault: java.lang.LinkageError:
> JAXB 2.0 API is being loaded from the bootstrap classloader, but
> this RI (from
> jar:file:/D:/produits/Tomcat%206.0/webapps/axis2/WEB-INF/lib/jaxb-impl-2.1.6.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
> needs 2.1 API. Use the endorsed directory mechanism to place
> jaxb-api.jar in the bootstrap classloader. (See
> http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
>
> Thank you
>
> sumedha rubasinghe a écrit :
>
> Hi,
> Do you have XmlSchema-1.4.2.jar in your classpath?
>
> /sumedha
>
> On Thu, Jun 26, 2008 at 5:46 PM, Fabien Couvert
> <fabien.couvert@bull.net <ma...@bull.net>
> <mailto:fabien.couvert@bull.net
> <ma...@bull.net>>> wrote:
>
> Hi all,
>
> I try to upgrade Axis2 to 1.4 version but I get this exception
> when I try to createConfigurationContextFromFileSystem :
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/ws/commons/schema/resolver/URIResolver
> at
>
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
>
>
> Anyone have an idea please ?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> <mailto:axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>>
>
> For additional commands, e-mail:
> axis-user-help@ws.apache.org <ma...@ws.apache.org>
> <mailto:axis-user-help@ws.apache.org
> <ma...@ws.apache.org>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> For additional commands, e-mail: axis-user-help@ws.apache.org
> <ma...@ws.apache.org>
>
>
>
>
> --
> Keith Chapman
> Senior Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> http://wso2.org/
>
> blog: http://www.keith-chapman.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Could not validate encryption against any of the supported
token types: Axis2.0 and Weblogic 9.2
Posted by Dimuthu Leelarathne <mu...@apache.org>.
Hi,
What is the policy binding you used for this case? Did you give the
correct key stores to decrypt?
Thank you,
Dimuthu
On Mon, 2008-06-30 at 13:03 +0530, anan.rapheal@wipro.com wrote:
> Hi,
>
> I have generated stubs using axis2.0 from a weblogic
> generated WSDL( webservice is deployed on Weblogic 9.2). Webservice
> has security policy (Auth.xml). I am trying to invoke the webservice
> using Apache2.1.3 and Rampart 1.3 modules.
>
> I am getting the following error:
> Exception in thread "main" org.apache.axis2.AxisFault:Could not
> validate encryption against any of the supported token types
>
> Please share any pointers as to how to resolve this issue.
>
> Thanks
> Anan
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any
> attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of
> viruses. The company accepts no liability for any damage caused by any
> virus transmitted by this email.
>
> www.wipro.com
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Could not validate encryption against any of the supported token types: Axis2.0 and Weblogic 9.2
Posted by an...@wipro.com.
Hi,
I have generated stubs using axis2.0 from a weblogic generated WSDL(
webservice is deployed on Weblogic 9.2). Webservice has security policy
(Auth.xml). I am trying to invoke the webservice using Apache2.1.3 and
Rampart 1.3 modules.
I am getting the following error:
Exception in thread "main" org.apache.axis2.AxisFault:Could not validate
encryption against any of the supported token types
Please share any pointers as to how to resolve this issue.
Thanks
Anan
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Re: Axis2 1.3 to Axis2 1.4
Posted by keith chapman <ke...@gmail.com>.
Should be an issue with the JDK you are using not with Tomcat. What is your
JDK version?
Thanks,
Keith.
On Fri, Jun 27, 2008 at 12:02 PM, Fabien Couvert <fa...@bull.net>
wrote:
> Thank you for your answer
>
> I did a mistake in the lib name ...
>
> But now I have another error, is there an incompatibility between Axis2 1.4
> and Tomcat 6.0.16 ?
>
> The error :
> Impossible to call remote service with url.
> Caused by: org.apache.axis2.AxisFault: java.lang.LinkageError: JAXB 2.0 API
> is being loaded from the bootstrap classloader, but this RI (from
> jar:file:/D:/produits/Tomcat%206.0/webapps/axis2/WEB-INF/lib/jaxb-impl-2.1.6.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
> needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in
> the bootstrap classloader. (See
> http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
>
> Thank you
>
> sumedha rubasinghe a écrit :
>
>> Hi,
>> Do you have XmlSchema-1.4.2.jar in your classpath?
>>
>> /sumedha
>>
>> On Thu, Jun 26, 2008 at 5:46 PM, Fabien Couvert <fabien.couvert@bull.net<mailto:
>> fabien.couvert@bull.net>> wrote:
>>
>> Hi all,
>>
>> I try to upgrade Axis2 to 1.4 version but I get this exception
>> when I try to createConfigurationContextFromFileSystem :
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/apache/ws/commons/schema/resolver/URIResolver
>> at
>>
>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
>>
>>
>> Anyone have an idea please ?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> <ma...@ws.apache.org>
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>> <ma...@ws.apache.org>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/
blog: http://www.keith-chapman.org
Re: Axis2 1.3 to Axis2 1.4
Posted by Fabien Couvert <fa...@bull.net>.
Thank you for your answer
I did a mistake in the lib name ...
But now I have another error, is there an incompatibility between Axis2
1.4 and Tomcat 6.0.16 ?
The error :
Impossible to call remote service with url.
Caused by: org.apache.axis2.AxisFault: java.lang.LinkageError: JAXB 2.0
API is being loaded from the bootstrap classloader, but this RI (from
jar:file:/D:/produits/Tomcat%206.0/webapps/axis2/WEB-INF/lib/jaxb-impl-2.1.6.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
needs 2.1 API. Use the endorsed directory mechanism to place
jaxb-api.jar in the bootstrap classloader. (See
http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
Thank you
sumedha rubasinghe a écrit :
> Hi,
> Do you have XmlSchema-1.4.2.jar in your classpath?
>
> /sumedha
>
> On Thu, Jun 26, 2008 at 5:46 PM, Fabien Couvert
> <fabien.couvert@bull.net <ma...@bull.net>> wrote:
>
> Hi all,
>
> I try to upgrade Axis2 to 1.4 version but I get this exception
> when I try to createConfigurationContextFromFileSystem :
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/ws/commons/schema/resolver/URIResolver
> at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
>
>
> Anyone have an idea please ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> For additional commands, e-mail: axis-user-help@ws.apache.org
> <ma...@ws.apache.org>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 1.3 to Axis2 1.4
Posted by sumedha rubasinghe <su...@gmail.com>.
Hi,
Do you have XmlSchema-1.4.2.jar in your classpath?
/sumedha
On Thu, Jun 26, 2008 at 5:46 PM, Fabien Couvert <fa...@bull.net>
wrote:
> Hi all,
>
> I try to upgrade Axis2 to 1.4 version but I get this exception when I try
> to createConfigurationContextFromFileSystem :
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/ws/commons/schema/resolver/URIResolver
> at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
>
>
> Anyone have an idea please ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>