Mailing List
Home
Forum Home
Maven - Project building tool
Axis - Java SOAP implementation
Lucene - Full-featured text search engine APIs
Cocoon - MVC web framework based on XML/XSL
Fop - Create PDF, PCL, PS, SVG, XML driven by XSL formatting objects.
Log4J - A log library
POI - Java Excel, Word and other Microsoft Office files manipulating library
Oracle database error code ...
Subjects
log4j warning: No appenders could be found
java security AccessControlException: access denied (java io FilePermission clie
java lang InstantiationException: org apache tools ant Main
Apache Axis Tutorial
Subject: Struts <logic iterate >
log4j properties How to parse outpu to multiple files
configuring log4j with BEA Weblogic 8 1
How to use XSL FOP Java together
JSP precompile
Proposal: Adding jar manifest classpath in jar and war plugins
Servlet File Download dialog problem (IE6,Adobe 6 0)
java security AccessControlException: access denied (java io FilePermission
Unsupported major minor version 48 0 problem while running the an
   telope task
Subject: axis wsdl2java Ant Task usage
net sf hibernate MappingException: Error reading resource: test/User hbm xml
Building EAR ANT Script for websphere 5 0
CREATING WAR Files
Classpath problem
jsp data into Excel
Jboss 3 2 3+ vs Tomcat Axis Question
RE: How to include jars and add them into the MANIFEST MF/Class Path
attribute
Printing problem
Subject: InstantiationException
Couldn 't find trusted certificate
Please : How can one install ant 1 6 0 under Eclipse 2 1 ?
Excel: Too many different cell formats
Subject: AXIS: tomcat timeout ?
1 3 final: now giving me java io FileNotFoundException (Too many
open files)
XDoclet, Struts and Maven: Where to start? SOLUTION
Subject: Running junit tests fails
 
Subject: Re: *SPAM*: 08.50/4.0 - Re: Problem building available services

Subject: Re: *SPAM*: 08.50/4.0 - Re: Problem building available services

2007-10-03       - By Suran Jayathilaka

 Back
Ana Bel?n Ant?n Giron?s wrote:
> Hi!
>  
> Thank you very much for your help, Suran and Lahiru.
>  
> >First of all, I see that your class uses generics. Please note that
> Axis2 only supports simple-types, arrays and beans. Since Axis2 is
> JDK1.4 compliant, generics are not >supported.
> >So what you can do is replace your genericised List arguments with arrays.
> >e.g.: replace List<Class32> with Class32[].
>  
>  
> I think I am more confused than I thought :-(. Because of your
> explanation I deduce that I should use another web service framework,
> maybe Apache Tuscany. Is this right?
>  
> >Your service folder structure looks ok to me. When the eclipse plugin
> has created the .aar file, check whether it contains the intended
> structure.
> >(rename the .aar file to .zip and you'll be able to deal with it using
> any zip tool, or extract the .aar file somewhere and take a look at
> the extracted structure, or do  "jar tvf" on the archive).
>  
> Regarding the generation of .aar files. I checked the structure
> generated before and I thought that it was wrong, because where is the
> "MyService.class"??. The generated structure is:
> -MyService.aar
>     -configuration
>         - .............
>     -lib (the libraries that I described in my latter mail)
>     -META-INF
>         -MANIFEST.MF
>         -services.xml (the same xml that I described in my latter mail)
>      -plugins
>        
> Thanks,
>  
> Ana.
>  
>
Hi Ana,
Obviously, as members of the Axis2 dev community, we wouldn't be
suggesting that you move to another framework, although that is up to
you. :-)

Might I ask what you rconfusion is in regards to our suggestions? In
removing generics?

Also, you can try creating the service archive manually, using the java
jar tool. Again, you are welcome to ask for any help in solving any
problems that may arise.

Cheers.
Suran



<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
 <meta content="text/html;charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ana Bel&eacute;n Ant&oacute;n Giron&eacute;s wrote:
<blockquote cite="mid260E4ACD2B8543A79ECC05292813C776@(protected)"
type="cite">
 <title></title>
 <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1">
 <meta content="MSHTML 6.00.6000.16525" name="GENERATOR">
 <div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="316000910-03102007">Hi!</span></font></div>
 <div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="316000910-03102007"></span></font>&nbsp;</div>
 <div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="316000910-03102007"><span
class="316000910-03102007">Thank you very much for your help, Suran
and Lahiru. </span></span></font></div>
 <div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="316000910-03102007"><span
class="316000910-03102007"></span></span></font>&nbsp;</div>
 <div dir="ltr" align="left"><font><span class="316000910-03102007">&gt;First
of all, I see that your class uses generics. Please note that Axis2
only supports simple-types, arrays and beans. Since Axis2 is JDK1.4
compliant, generics are not &gt;supported.<br>
&gt;So what you can do is replace your genericised List arguments with
arrays.<br>
&gt;e.g.: replace List&lt;Class32&gt; with Class32[].</span></font></div>
 <div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="316000910-03102007"></span></font>&nbsp;</div>
 <div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="316000910-03102007"></span></font>&nbsp;</div>
 <div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="316000910-03102007">I think I am more confused
than I thought :-(. Because of your explanation I deduce that I should
use another web service framework, maybe Apache Tuscany. Is this right?</span><
/font></div>
 <div>&nbsp;</div>
 <div><span class="316000910-03102007">&gt;</span>Your service folder
structure looks ok to me. When the eclipse plugin has created the .aar
file, check whether it contains the intended structure.<br>
 <span class="316000910-03102007">&gt;</span>(rename the .aar file to
.zip and you'll be able to deal with it using any zip tool, or extract
the .aar file somewhere and take a look at the extracted structure, or
do&nbsp;<span class="316000910-03102007">&nbsp;</span>"jar&nbsp;tvf"&nbsp;on
the archive).</div>
 <div>&nbsp;</div>
 <div><span class="316000910-03102007"></span><font face="Arial"><font
color="#0000ff"><font size="2">R<span class="316000910-03102007">egarding
the generation of .aar files. I checked the structure generated before
and I thought that it was wrong, because where is the
"MyService.class"??.&nbsp;The generated structure is: </span></font></font><
/font><br>
 </div>
 <div class="OutlookMessageHeader" dir="ltr" align="left" lang="es"><span
class="316000910-03102007"></span><font face="Arial"><font
color="#0000ff"><font size="2">-<span class="316000910-03102007">MyService.aar
</span></font></font></font></div>
 <div class="OutlookMessageHeader" dir="ltr" align="left" lang="es"><font><font
color="#0000ff"><font size="2"><span class="316000910-03102007"></span></font>
</font></font><span
class="316000910-03102007"><font color="#0000ff" face="Arial" size="2">&nbsp;
&nbsp;&nbsp;&nbsp;-configuration</font></span></div>
 <div class="OutlookMessageHeader" dir="ltr" align="left" lang="es"><span
class="316000910-03102007"><font color="#0000ff" face="Arial" size="2">&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-
.............&nbsp;</font></span></div>
 <div class="OutlookMessageHeader" dir="ltr" align="left" lang="es"><span
class="316000910-03102007"></span><span class="316000910-03102007"><font
color="#0000ff" face="Arial" size="2">&nbsp;&nbsp;&nbsp;&nbsp;-lib (the
libraries that I
described in my&nbsp;latter mail)</font></span></div>
 <div class="OutlookMessageHeader" dir="ltr" align="left" lang="es"><span
class="316000910-03102007"></span><span class="316000910-03102007"><font
color="#0000ff" face="Arial" size="2">&nbsp;&nbsp;&nbsp;&nbsp;-META-INF</font>
</span></div>
 <div class="OutlookMessageHeader" dir="ltr" align="left" lang="es"><span
class="316000910-03102007"></span><span class="316000910-03102007"><font
color="#0000ff" face="Arial" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;-MANIFEST.MF</font></span></div>
 <div class="OutlookMessageHeader" dir="ltr" align="left" lang="es"><span
class="316000910-03102007"></span><span class="316000910-03102007"><font
color="#0000ff" face="Arial" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;-services.xml (the same
xml that I described in my latter mail)</font></span><br>
&nbsp;<font face="Arial"><font color="#0000ff"><font size="2"><span
class="316000910-03102007">&nbsp;&nbsp;&nbsp; </span><span class="316000910
-03102007">-plugins</span></font></font></font></div>
 <div class="OutlookMessageHeader" dir="ltr" align="left" lang="es"><font
face="Arial"><font color="#0000ff"><font size="2"><span
class="316000910-03102007">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><
/font></font></font></div>
 <div class="OutlookMessageHeader" dir="ltr" align="left" lang="es"><font
face="Arial"><font color="#0000ff"><font size="2"><span
class="316000910-03102007">Thanks, </span></font></font></font></div>
 <div class="OutlookMessageHeader" dir="ltr" align="left" lang="es"><font
face="Arial"><font color="#0000ff"><font size="2"><span
class="316000910-03102007"></span></font></font></font>&nbsp;</div>
 <div class="OutlookMessageHeader" dir="ltr" align="left" lang="es"><font
face="Arial"><font color="#0000ff"><font size="2"><span
class="316000910-03102007">Ana.</span></font></font></font></div>
 <div class="OutlookMessageHeader" dir="ltr" align="left" lang="es"><font
face="Arial"><font color="#0000ff"><font size="2"><span
class="316000910-03102007"></span></font></font></font>&nbsp;</div>
 <br>
</blockquote>
Hi Ana,<br>
Obviously, as members of the Axis2 dev community, we wouldn't be
suggesting that you move to another framework, although that is up to
you. :-)<br>
<br>
Might I ask what you rconfusion is in regards to our suggestions? In
removing generics?<br>
<br>
Also, you can try creating the service archive manually, using the java
jar tool. Again, you are welcome to ask for any help in solving any
problems that may arise.<br>
<br>
Cheers.<br>
Suran<br>
<br>
<br>
</body>
</html>