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 linaservice <su...@163.com> on 2009/06/09 18:29:30 UTC
Re: addAnonymousOperations() in Stubs ?
pierre betz wrote:
>
> Hi everyone,
>
> I'm using wsdl2java to create some web services.
>
> The creation of the stubs and skeletons was working with axis2 1.3, but I
> had some problems, like some OMElements/Objects[]..
> So I tried to use the axis2 1.4 nightly built, but I have another problem.
>
> In all my stubs, I have a "addAnonymousOperations()" method called, but
> declaraed and implemented nowhere.
>
> I saw in the JIRA that this is a bug from axis2.. but I just vould know if
> I
> can complete my code myself. In fact, I just can't use axis2 1.3 or axis2
> 1.4 to deploy and create my webservices...
>
> If anyone as any ideas to corrige my code, I would thanks him a lot!
>
> _______________
>
> here is the code generated by axis2 1.4 :
>
>
> private void populateAxisService() throws org.apache.axis2.AxisFault {
>
> //creating the Service with a unique name
> _service = new org.apache.axis2.description.AxisService("Country" +
> getUniqueSuffix());
> * addAnonymousOperations(); *// here the function not declared
> anywhere
>
> //creating the operations
> org.apache.axis2.description.AxisOperation __operation;
>
> _operations = new org.apache.axis2.description.AxisOperation[4];
>
> __operation = new
> org.apache.axis2.description.OutInAxisOperation();
>
>
> Someone has an Idea ? like just deleting the line, or implementing the
> function somewhere (but I don't know the use of the function) ?
>
> thanks !
>
>
--
View this message in context: http://www.nabble.com/addAnonymousOperations%28%29-in-Stubs---tp17337681p23946522.html
Sent from the Axis - User mailing list archive at Nabble.com.
Re: addAnonymousOperations() in Stubs ?
Posted by ibrahim demir <ib...@yahoo.com>.
Just delete or comment out that line. It has no side-effect. Everything works fine without it.
Yours
Ibrahim DEMIR
CyberSoft Yazilim Muh.
http://www.ibrahimdemir.org
________________________________
From: linaservice <su...@163.com>
To: axis-user@ws.apache.org
Sent: Tuesday, June 9, 2009 7:29:30 PM
Subject: Re: addAnonymousOperations() in Stubs ?
pierre betz wrote:
>
> Hi everyone,
>
> I'm using wsdl2java to create some web services.
>
> The creation of the stubs and skeletons was working with axis2 1.3, but I
> had some problems, like some OMElements/Objects[]..
> So I tried to use the axis2 1.4 nightly built, but I have another problem.
>
> In all my stubs, I have a "addAnonymousOperations()" method called, but
> declaraed and implemented nowhere.
>
> I saw in the JIRA that this is a bug from axis2.. but I just vould know if
> I
> can complete my code myself. In fact, I just can't use axis2 1.3 or axis2
> 1.4 to deploy and create my webservices...
>
> If anyone as any ideas to corrige my code, I would thanks him a lot!
>
> _______________
>
> here is the code generated by axis2 1.4 :
>
>
> private void populateAxisService() throws org.apache.axis2.AxisFault {
>
> //creating the Service with a unique name
> _service = new org.apache.axis2.description.AxisService("Country" +
> getUniqueSuffix());
> * addAnonymousOperations(); *// here the function not declared
> anywhere
>
> //creating the operations
> org.apache.axis2.description.AxisOperation __operation;
>
> _operations = new org.apache.axis2.description.AxisOperation[4];
>
> __operation = new
> org.apache.axis2.description.OutInAxisOperation();
>
>
> Someone has an Idea ? like just deleting the line, or implementing the
> function somewhere (but I don't know the use of the function) ?
>
> thanks !
>
>
--
View this message in context: http://www.nabble.com/addAnonymousOperations%28%29-in-Stubs---tp17337681p23946522.html
Sent from the Axis - User mailing list archive at Nabble.com.