  | | | 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.
I generated the code for your wsdl and in services.xml it generates it like this<br> <messageReceiver mep="<a href="http://www.w3.org/ns/wsdl/in-out">http:/ /www.w3.org/ns/wsdl/in-out</a>" class=" com.selectica.ws.ecm.ECMServiceSoapMessageReceiverInOut"/><br> <messageReceiver mep="<a href="http://www.w3.org/ns/wsdl/robust-in-only">http://www.w3.org /ns/wsdl/robust-in-only</a>" class=" com.selectica.ws.ecm.ECMServiceSoapMessageReceiverRobustInOnly"/><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 <<a href="mailto:vpantvai@(protected)" >vpantvai@(protected)</a>> 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;"> </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;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font -family: Arial; color: navy;"> </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;"> </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;"> < /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 <<a href="mailto:amilasuriarachchi @(protected)" target="_blank">amilasuriarachchi@(protected) </a>> 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'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 < <a href="mailto:vpantvai@(protected)" target="_blank" >vpantvai@(protected)</a>> 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".</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial ;"> </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 ;"><messageReceiver mep=<a href="http://www.w3.org/ns/wsdl/in-only" target="_blank">http://www.w3 .org/ns/wsdl/in-only</a> class="...ECMServiceMessageReceiverInOnly"/> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial ;"><messageReceiver mep="<a href="http://www.w3.org/ns/wsdl/in-out" target="_blank">http://www .w3.org/ns/wsdl/in-out</a>" class="...ECMServiceMessageReceiverInOut"/></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 ;"> </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 ;"><messageReceiver mep="<a href="http://www.w3.org/ns/wsdl/in-out" target="_blank">http://www .w3.org/ns/wsdl/in-out</a>" class="...ECMServiceMessageReceiverInOut"/></span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial ;"><messageReceiver mep="<a href="http://www.w3.org/ns/wsdl/robust-in-only" target="_blank" >http://www.w3.org/ns/wsdl/robust-in-only</a>" class="?ECMServiceMessageReceiverRobustInOnly"/></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 ;"> </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 ;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial ;"> </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.
|
|
 |