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
 
1.3 bug - services.xml mentions ECMServiceMessageReceiverInOnly whic

1.3 bug - services.xml mentions ECMServiceMessageReceiverInOnly whic

2007-12-03       - By Amila Suriarachchi

 Back
I generated the code for your wsdl and in services.xml it generates it like
this
           <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out" class="
com.selectica.ws.ecm.ECMServiceSoapMessageReceiverInOut"/>
           <messageReceiver mep="http://www.w3.org/ns/wsdl/robust-in-only"
class="com.selectica.ws.ecm.ECMServiceSoapMessageReceiverRobustInOnly"/>


if you have time please check. with a new nighly build.

And also it is better to make sure you system works with axis2-SNAPSHOT. in
this way you can guarantee that you system works with next Axis2 release.

thanks,
Amila.



On Nov 30, 2007 7:01 AM, Pantvaidya, Vishwajit <vpantvai@(protected)>
wrote:

>  Wsdl attached (basically the services.xml is out of sync with the java
> code when I use Axis2 1.3 GA for wsdl2java).
>
>
>
> I am currently using the Nov 9 nightly for wsdl2java and 1.3 GA at runtime
> and that is working. I was just trying to see if I can use 1.3 GA release
> for wsdljava as well so that I can completely do away with the nightly
> build.
>
>
>
>
>
> - Vish.
>
>
>   -- ---- ---- ---- ---- ---- --
>
> *From:* Amila Suriarachchi [mailto:amilasuriarachchi@(protected)]
> *Sent:* Thursday, November 29, 2007 2:30 AM
> *To:* axis-user@(protected)
> *Subject:* Re: [Axis2] 1.3 bug - services.xml mentions
> ECMServiceMessageReceiverInOnly which is missing from wsdl2java generated
> code
>
>
>
> I tested with this wsdl, but seems good.
> can you attach your wsdl?
>
> Amila
>
> On Nov 29, 2007 3:40 PM, Amila Suriarachchi <amilasuriarachchi@(protected) >
> wrote:
>
> this must be due to a change I recently did to remove depreciated class.
> I'll look at into it.
>
> Could you please attach your wsdl?
>
>
>
>
>  On Nov 28, 2007 8:19 AM, Pantvaidya, Vishwajit < vpantvai@(protected)>
> wrote:
>
> I used Axis2 1.3 release wsdl2java to generate code and services.xml and
> find that the code is missing the ECMServiceMessageReceiverInOnly class. So
> when I build the aar and deploy it I get java.lang.ClassNotFoundException:
> ...ECMServiceMessageReceiverInOnly".
>
>
>
> services.xml has:
>
> <messageReceiver mep=http://www.w3.org/ns/wsdl/in-onlyclass="..
.ECMServiceMessageReceiverInOnly"/>
>
> <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out"
> class="...ECMServiceMessageReceiverInOut"/>
>
> But the wsdl2java generated code has the
> ECMServiceMessageReceiverRobustInOnly class instead of
> ECMServiceMessageReceiverInOnly.
>
>
>
> Then I tried wsdl2java with the Nov 9 nightly build and it deployed fine.
> I saw that the generated services.xml has:
>
> <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out"
> class="...ECMServiceMessageReceiverInOut"/>
>
> <messageReceiver mep="http://www.w3.org/ns/wsdl/robust-in-only"
> class="?ECMServiceMessageReceiverRobustInOnly"/>
>
> and both the messagereceiver classes are generated by wsdl2java.
>
>
>
> Is this a known problem in axis2-1.3 that was fixed later? If not ? I
> could add it to the note I am planning to submit on the migration to axis2.
>
>
>
>
>
> - Vish.
>
>
>
>   --
> Amila Suriarachchi,
> WSO2 Inc.
>
>
>
>
> --
> Amila Suriarachchi,
> WSO2 Inc.
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To unsubscribe, e-mail: axis-user-unsubscribe@(protected)
> For additional commands, e-mail: axis-user-help@(protected)
>



--
Amila Suriarachchi,
WSO2 Inc.

&nbsp;I generated the code for your wsdl and in services.xml it generates it
like this<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;messageReceiver mep=&quot;<a href="http://www.w3.org/ns/wsdl/in-out">http:/
/www.w3.org/ns/wsdl/in-out</a>&quot; class=&quot;
com.selectica.ws.ecm.ECMServiceSoapMessageReceiverInOut&quot;/&gt;<br>&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;messageReceiver
mep=&quot;<a href="http://www.w3.org/ns/wsdl/robust-in-only">http://www.w3.org
/ns/wsdl/robust-in-only</a>&quot; class=&quot;
com.selectica.ws.ecm.ECMServiceSoapMessageReceiverRobustInOnly&quot;/&gt;<br>
<br><br>if you have time please check. with a new nighly build.<br><br>And also
it is better to make sure you system works with axis2-SNAPSHOT. in this way you
can guarantee that you system works with next Axis2 release.
<br><br>thanks,<br>Amila.<br><br><br><br><div class="gmail_quote">On Nov 30,
2007 7:01 AM, Pantvaidya, Vishwajit &lt;<a href="mailto:vpantvai@(protected)"
>vpantvai@(protected)</a>&gt; wrote:<br><blockquote class="gmail_quote" style=
"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding
-left: 1ex;">











<div link="blue" vlink="blue" lang="EN-US">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font
-family: Arial; color: navy;">Wsdl attached (basically the services.xml
is out of sync with the java code when I use Axis2 1.3 GA for wsdl2java).</span
></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font
-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font
-family: Arial; color: navy;">I am currently using the Nov 9 nightly for
wsdl2java and 1.3 GA at runtime and that is working. I was just trying to see
if I can use 1.3 GA release for wsdljava as well so that I can completely do
away with the nightly build.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font
-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font
-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font
-family: Arial; color: navy;">- Vish.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font
-family: Arial; color: navy;">&nbsp;</span></font></p>

<div style="border-style: none none none solid; border-color: -moz-use-text
-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium
medium 1.5pt; padding: 0in 0in 0in 4pt;">

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman"
size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family:
Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"
><span style="font-size: 10pt; font-family: Tahoma;"> Amila Suriarachchi
[mailto:<a href="mailto:amilasuriarachchi@(protected)" target="_blank"
>amilasuriarachchi@(protected)</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, November 29, 2007
2:30 AM<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:axis-user@(protected)
.apache.org" target="_blank">axis-user@(protected)</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Axis2] 1.3 bug -
services.xml mentions ECMServiceMessageReceiverInOnly which is missing from
wsdl2java generated code</span></font></p>

</div><div><div></div><div class="Wj3C7c">

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;<
/span></font></p>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">I tested with this wsdl,
but seems good.<br>
can you attach your wsdl?<br>
<br>
Amila</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Nov
29, 2007 3:40 PM, Amila Suriarachchi &lt;<a href="mailto:amilasuriarachchi
@(protected)" target="_blank">amilasuriarachchi@(protected) </a>&gt;
wrote:</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">this
must be due to a change I recently did to remove depreciated
class.<br>
I&#39;ll look at into it. <br>
<br>
Could you please attach your wsdl?</span></font></p>

<div>

<div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"><br>
<br>
<br>
</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Nov
28, 2007 8:19 AM, Pantvaidya,
Vishwajit &lt; <a href="mailto:vpantvai@(protected)" target="_blank"
>vpantvai@(protected)</a>&gt; wrote:</span></font></p>

<div link="blue" vlink="purple">

<div>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial
;">I
used Axis2 1.3 release wsdl2java to generate code and services.xml and find
that the code is missing the ECMServiceMessageReceiverInOnly class. So when I
build the aar and deploy it I get java.lang.ClassNotFoundException:
...ECMServiceMessageReceiverInOnly&quot;.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial
;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial
;">services.xml
has:</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial
;">&lt;messageReceiver
mep=<a href="http://www.w3.org/ns/wsdl/in-only" target="_blank">http://www.w3
.org/ns/wsdl/in-only</a>
class=&quot;...ECMServiceMessageReceiverInOnly&quot;/&gt; </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial
;">&lt;messageReceiver
mep=&quot;<a href="http://www.w3.org/ns/wsdl/in-out" target="_blank">http://www
.w3.org/ns/wsdl/in-out</a>&quot;
class=&quot;...ECMServiceMessageReceiverInOut&quot;/&gt;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial
;">But
the wsdl2java generated code has the ECMServiceMessageReceiverRobustInOnly
class instead of ECMServiceMessageReceiverInOnly.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial
;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial
;">Then
I tried wsdl2java with the Nov 9 nightly build and it deployed fine. I saw that
the generated services.xml has:</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial
;">&lt;messageReceiver
mep=&quot;<a href="http://www.w3.org/ns/wsdl/in-out" target="_blank">http://www
.w3.org/ns/wsdl/in-out</a>&quot;
class=&quot;...ECMServiceMessageReceiverInOut&quot;/&gt;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial
;">&lt;messageReceiver
mep=&quot;<a href="http://www.w3.org/ns/wsdl/robust-in-only" target="_blank"
>http://www.w3.org/ns/wsdl/robust-in-only</a>&quot;
class=&quot;?ECMServiceMessageReceiverRobustInOnly&quot;/&gt;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial
;">and
both the messagereceiver classes are generated by wsdl2java.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial
;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial
;">Is
this a known problem in axis2-1.3 that was fixed later? If not ? I could add it
to the note I am planning to submit on the migration to axis2.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial
;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial
;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial
;">-
Vish.</span></font></p>

</div>

</div>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br clear="all">
</span></font></p>

</div>

</div>

<p><font color="#888888" face="Times New Roman" size="3"><span style="font-size
: 12pt; color: rgb(136, 136, 136);">-- <br>
Amila Suriarachchi,<br>
WSO2 Inc. </span></font></p>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br clear="all">
<br>
-- <br>
Amila Suriarachchi,<br>
WSO2 Inc. </span></font></p>

</div></div></div>

</div>

</div>


<br>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------<br>To
unsubscribe, e-mail: <a href="mailto:axis-user-unsubscribe@(protected)">axis
-user-unsubscribe@(protected)</a><br>For additional commands, e-mail:
<a href="mailto:axis-user-help@(protected)">axis-user-help@(protected)</a>
<br></blockquote></div><br><br clear="all"><br>-- <br>Amila Suriarachchi,<br
>WSO2 Inc.