Hi everybody,

 

I got work around for this problem.

 

            The root cause was that when I deployed my MTOM web service on
remote server, It shows java.lang.UnsupportedClassVersionError: 

Because code was compiled on newer version of java (1.6) but deployed on
tomcat 5.5.27 which is following 1.5?

 

            By setting 'target' and 'source' to 1.5 in 'javac' task of
build.xml, I removed this error.

 

Thank to all.

Vaibhav Kr. Arya

 

  _____  

From: Vaibhav Arya [mailto:vaibhav.a...@otssolutions.com] 
Sent: Tuesday, July 14, 2009 16:15
To: axis-user@ws.apache.org
Subject: RE: [MTOM-Service .aar deployment]

 

Hi all,

Is there any solution for the .aar (MTOM web service) deployment error?

 

Waiting for the response,

 

Thanks & regards,

Vaibhav Kr. Arya

 

 

  _____  

From: Vaibhav Arya [mailto:vaibhav.a...@otssolutions.com] 
Sent: Tuesday, July 14, 2009 13:58
To: axis-user@ws.apache.org
Subject: [MTOM-Service .aar deployment]

 

Hi all,

 

I am trying to deploy sample-mtom.aar file.  This file has been created by
running 'ANT' for 'build.xml' available in 'samples\mtom' directory in
axis2-1.4.1 home directory.

 

My problem is that when I deploy this .aar file in 'services' directory of
tomcat 5.5.27 server on local host, the WSDL url is shown properly, and
service is working great, but when I deploy this .aar file in 'services'
directory of tomcat 5.5.27  of the remote server,  WSDL url shows 404
resource not found error.

 

            What I can understand so far is that, there is a file named
MTOMSample.wsdl inside META-INF directory of this .aar file.

 

            In this file there is an entry like,

 

  <service name="MTOMSample">

    <port name="MTOMSampleSOAP12port_http"
binding="tns:MTOMServiceSOAP12Binding">

      <soap12:address
location="http://localhost:8080/axis2/services/MTOMSample"/>

    </port>

    <port name="MTOMSampleSOAP11port_http"
binding="tns:MTOMServiceSOAP11Binding">

      <soap:address
location="http://localhost:8080/axis2/services/MTOMSample"/>

    </port>

  </service>

 

            I updated the location attribute in tags <soap12:address> and
<soap:address> with my remote server public IP, but still It doesn't work.

 

Is there any work around for this error?

 

Thanks in advance,

 

Regards,

Vaibhav Kumar Arya

 


============================================================================
=======================
Private, Confidential and Privileged. This e-mail and any files and
attachments transmitted with it are confidential and/or privileged. They are
intended solely for the use of the intended recipient. The content of this
e-mail and any file or attachment transmitted with it may have been changed
or altered without the consent of the author. If you are not the intended
recipient, please note that any review, dissemination, disclosure,
alteration, printing, circulation or Transmission of this e-mail and/or any
file or attachment transmitted with it, is prohibited and may be unlawful.
If you have received this e-mail or any file or attachment transmitted with
it in error please notify OTS Solutions at i...@otssolutions.com
============================================================================
=======================

============================================================================
=======================
Private, Confidential and Privileged. This e-mail and any files and
attachments transmitted with it are confidential and/or privileged. They are
intended solely for the use of the intended recipient. The content of this
e-mail and any file or attachment transmitted with it may have been changed
or altered without the consent of the author. If you are not the intended
recipient, please note that any review, dissemination, disclosure,
alteration, printing, circulation or Transmission of this e-mail and/or any
file or attachment transmitted with it, is prohibited and may be unlawful.
If you have received this e-mail or any file or attachment transmitted with
it in error please notify OTS Solutions at i...@otssolutions.com
============================================================================
=======================


============================================================================
=======================
Private, Confidential and Privileged. This e-mail and any files and
attachments transmitted with it are confidential and/or privileged. They are
intended solely for the use of the intended recipient. The content of this
e-mail and any file or attachment transmitted with it may have been changed
or altered without the consent of the author. If you are not the intended
recipient, please note that any review, dissemination, disclosure,
alteration, printing, circulation or Transmission of this e-mail and/or any
file or attachment transmitted with it, is prohibited and may be unlawful.
If you have received this e-mail or any file or attachment transmitted with
it in error please notify OTS Solutions at i...@otssolutions.com
============================================================================
=======================

============================================================================
=======================
Private, Confidential and Privileged. This e-mail and any files and
attachments transmitted with it are confidential and/or privileged. They are
intended solely for the use of the intended recipient. The content of this
e-mail and any file or attachment transmitted with it may have been changed
or altered without the consent of the author. If you are not the intended
recipient, please note that any review, dissemination, disclosure,
alteration, printing, circulation or Transmission of this e-mail and/or any
file or attachment transmitted with it, is prohibited and may be unlawful.
If you have received this e-mail or any file or attachment transmitted with
it in error please notify OTS Solutions at i...@otssolutions.com
============================================================================
=======================



===================================================================================================
Private, Confidential and Privileged. This e-mail and any files and attachments 
transmitted with it are confidential and/or privileged. They are intended 
solely for the use of the intended recipient. The content of this e-mail and 
any file or attachment transmitted with it may have been changed or altered 
without the consent of the author. If you are not the intended recipient, 
please note that any review, dissemination, disclosure, alteration, printing, 
circulation or Transmission of this e-mail and/or any file or attachment 
transmitted with it, is prohibited and may be unlawful. If you have received 
this e-mail or any file or attachment transmitted with it in error please 
notify OTS Solutions at i...@otssolutions.com
===================================================================================================

Reply via email to