Re: [Axis2] excludeOperations in services.xml problem
On Fri, Dec 12, 2008 at 5:40 AM, Deepal jayasinghe deep...@gmail.comwrote: hmmm, an excluded operation cannot be invoked, as far as I know from Axis 1.3. I will verify. Nope exclude operations will only exclude from WSDL, if that is not the case then something has broken. I dont think it should be that way. If an operation is excluded then we should not create an Axis operation for it. And I think that this is the current behaviour of Axis2. Thus a excluded operation cannot be invoked, it will not be displayed in the WSDL as well. Thanks, Keith. Deepal Nadir Amra Deepal Jayasinghe dee...@opensource.lk wrote on 12/11/2008 04:20:43 PM: [image removed] Re: [Axis2] excludeOperations in services.xml problem Deepal Jayasinghe to: axis-user 12/11/2008 04:21 PM Please respond to axis-user Hi, I have a webservices (written in Java) with several operations. I want to exclude couple of operations from that. I?ve used the excludeOperations tag in services.xml as shown below. I?m using Axis2 1.4. excludeOperations operationcopy/operation operationmove/operation /excludeOperations After restarting the app server when I see view the WSDL in the browser, I still see these 2 operations also I was able to access those operations from the Java client. Excluding operation mean, you do not display them in the WSDL but you can invoke them. Anyway please create a JIRA and attach your service. I will have a look at. Deepal Thanks Raghu -- Thank you! http://blogs.deepal.org -- Thank you! http://blogs.deepal.org -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org
Re: [Axis2] excludeOperations in services.xml problem
On Fri, Dec 12, 2008 at 5:40 AM, Deepal jayasinghe deep...@gmail.com mailto:deep...@gmail.com wrote: hmmm, an excluded operation cannot be invoked, as far as I know from Axis 1.3. I will verify. Nope exclude operations will only exclude from WSDL, if that is not the case then something has broken. I dont think it should be that way. If an operation is excluded then we should not create an Axis operation for it. And I think that this is the current behaviour of Axis2. Thus a excluded operation cannot be invoked, it will not be displayed in the WSDL as well. Thanks Keith, I was confused this with control operations. I am sorry. Yes if you exclude we do not create Axis operation, only way to invoke them using java reflection. For example if you have init method in the service implementation class, that will be excluded. But at the run time we can execute that method. Deepal
Re: [Axis2] excludeOperations in services.xml problem
have you looked into using annotation? specifically the tag @WebMethod(exclude=true) Deepal jayasinghe deep...@gmail.com 12/11/2008 05:10 PM Please respond to axis-user@ws.apache.org From Deepal jayasinghe deep...@gmail.com To axis-user@ws.apache.org cc Subject Re: [Axis2] excludeOperations in services.xml problem hmmm, an excluded operation cannot be invoked, as far as I know from Axis 1.3. I will verify. Nope exclude operations will only exclude from WSDL, if that is not the case then something has broken. Deepal Nadir Amra Deepal Jayasinghe dee...@opensource.lk wrote on 12/11/2008 04:20:43 PM: [image removed] Re: [Axis2] excludeOperations in services.xml problem Deepal Jayasinghe to: axis-user 12/11/2008 04:21 PM Please respond to axis-user Hi, I have a webservices (written in Java) with several operations. I want to exclude couple of operations from that. I?ve used the excludeOperations tag in services.xml as shown below. I?m using Axis2 1.4. excludeOperations operationcopy/operation operationmove/operation /excludeOperations After restarting the app server when I see view the WSDL in the browser, I still see these 2 operations also I was able to access those operations from the Java client. Excluding operation mean, you do not display them in the WSDL but you can invoke them. Anyway please create a JIRA and attach your service. I will have a look at. Deepal Thanks Raghu -- Thank you! http://blogs.deepal.org -- Thank you! http://blogs.deepal.org
Re: [Axis2] excludeOperations in services.xml problem
have you looked into using annotation? specifically the tag @WebMethod(exclude=true) Unfortunately no, but that is something we can easily fix. So let's create a JIRA :) Deepal *Deepal jayasinghe deep...@gmail.com* *12/11/2008 05:10 PM* Please respond to axis-user@ws.apache.org From *Deepal jayasinghe deep...@gmail.com* To axis-user@ws.apache.org cc Subject Re: [Axis2] excludeOperations in services.xml problem hmmm, an excluded operation cannot be invoked, as far as I know from Axis 1.3. I will verify. Nope exclude operations will only exclude from WSDL, if that is not the case then something has broken. Deepal Nadir Amra Deepal Jayasinghe dee...@opensource.lk wrote on 12/11/2008 04:20:43 PM: [image removed] Re: [Axis2] excludeOperations in services.xml problem Deepal Jayasinghe to: axis-user 12/11/2008 04:21 PM Please respond to axis-user Hi, I have a webservices (written in Java) with several operations. I want to exclude couple of operations from that. I?ve used the excludeOperations tag in services.xml as shown below. I?m using Axis2 1.4. excludeOperations operationcopy/operation operationmove/operation /excludeOperations After restarting the app server when I see view the WSDL in the browser, I still see these 2 operations also I was able to access those operations from the Java client. Excluding operation mean, you do not display them in the WSDL but you can invoke them. Anyway please create a JIRA and attach your service. I will have a look at. Deepal Thanks Raghu -- Thank you! http://blogs.deepal.org -- Thank you! http://blogs.deepal.org -- Thank you! http://blogs.deepal.org
RE: [Axis2] excludeOperations in services.xml problem
Hi, I have a webservices (written in Java) with several operations. I want to exclude couple of operations from that. I've used the excludeOperations tag in services.xml as shown below. I'm using Axis2 1.4. excludeOperations operationcopy/operation operationmove/operation /excludeOperations After restarting the app server when I see view the WSDL in the browser, I still see these 2 operations also I was able to access those operations from the Java client. Thanks Raghu
Re: [Axis2] excludeOperations in services.xml problem
Hi, I have a webservices (written in Java) with several operations. I want to exclude couple of operations from that. I’ve used the excludeOperations tag in services.xml as shown below. I’m using Axis2 1.4. excludeOperations operationcopy/operation operationmove/operation /excludeOperations After restarting the app server when I see view the WSDL in the browser, I still see these 2 operations also I was able to access those operations from the Java client. Excluding operation mean, you do not display them in the WSDL but you can invoke them. Anyway please create a JIRA and attach your service. I will have a look at. Deepal Thanks Raghu -- Thank you! http://blogs.deepal.org
Re: [Axis2] excludeOperations in services.xml problem
hmmm, an excluded operation cannot be invoked, as far as I know from Axis 1.3. I will verify. Nadir Amra Deepal Jayasinghe dee...@opensource.lk wrote on 12/11/2008 04:20:43 PM: [image removed] Re: [Axis2] excludeOperations in services.xml problem Deepal Jayasinghe to: axis-user 12/11/2008 04:21 PM Please respond to axis-user Hi, I have a webservices (written in Java) with several operations. I want to exclude couple of operations from that. I?ve used the excludeOperations tag in services.xml as shown below. I?m using Axis2 1.4. excludeOperations operationcopy/operation operationmove/operation /excludeOperations After restarting the app server when I see view the WSDL in the browser, I still see these 2 operations also I was able to access those operations from the Java client. Excluding operation mean, you do not display them in the WSDL but you can invoke them. Anyway please create a JIRA and attach your service. I will have a look at. Deepal Thanks Raghu -- Thank you! http://blogs.deepal.org
Re: [Axis2] excludeOperations in services.xml problem
hmmm, an excluded operation cannot be invoked, as far as I know from Axis 1.3. I will verify. Nope exclude operations will only exclude from WSDL, if that is not the case then something has broken. Deepal Nadir Amra Deepal Jayasinghe dee...@opensource.lk wrote on 12/11/2008 04:20:43 PM: [image removed] Re: [Axis2] excludeOperations in services.xml problem Deepal Jayasinghe to: axis-user 12/11/2008 04:21 PM Please respond to axis-user Hi, I have a webservices (written in Java) with several operations. I want to exclude couple of operations from that. I?ve used the excludeOperations tag in services.xml as shown below. I?m using Axis2 1.4. excludeOperations operationcopy/operation operationmove/operation /excludeOperations After restarting the app server when I see view the WSDL in the browser, I still see these 2 operations also I was able to access those operations from the Java client. Excluding operation mean, you do not display them in the WSDL but you can invoke them. Anyway please create a JIRA and attach your service. I will have a look at. Deepal Thanks Raghu -- Thank you! http://blogs.deepal.org -- Thank you! http://blogs.deepal.org
[Axis2] excludeOperations in services.xml problem
Hi, I have a webservices (written in Java) with several operations. I want to exclude couple of operations from that. I've used the excludeOperations tag in services.xml as shown below excludeOperations operationcopy/operation operationmove/operation /excludeOperations After restarting the app server when I see view the WSDL in the browser, I still see these 2 operations also I was able to access those operations from the Java client. Thanks Raghu
Re: [Axis2] excludeOperations in services.xml problem
What is the Axis2 version you are using? Azeez On Tue, Dec 2, 2008 at 8:30 PM, Raghu Upadhyayula [EMAIL PROTECTED] wrote: Hi, I have a webservices (written in Java) with several operations. I want to exclude couple of operations from that. I've used the excludeOperations tag in services.xml as shown below excludeOperations operationcopy/operation operationmove/operation /excludeOperations After restarting the app server when I see view the WSDL in the browser, I still see these 2 operations also I was able to access those operations from the Java client. Thanks Raghu -- Thanks Afkham Azeez Blog: http://afkham.org Developer Portal: http://www.wso2.org WSAS Blog: http://wso2wsas.blogspot.com Company: http://wso2.com GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E 0760
RE: [Axis2] excludeOperations in services.xml problem
I'm using Axis2 1.4 -Raghu From: Afkham Azeez [mailto:[EMAIL PROTECTED] Sent: Tue 12/2/2008 6:22 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] excludeOperations in services.xml problem What is the Axis2 version you are using? Azeez On Tue, Dec 2, 2008 at 8:30 PM, Raghu Upadhyayula [EMAIL PROTECTED] wrote: Hi, I have a webservices (written in Java) with several operations. I want to exclude couple of operations from that. I've used the excludeOperations tag in services.xml as shown below excludeOperations operationcopy/operation operationmove/operation /excludeOperations After restarting the app server when I see view the WSDL in the browser, I still see these 2 operations also I was able to access those operations from the Java client. Thanks Raghu -- Thanks Afkham Azeez Blog: http://afkham.org http://afkham.org/ Developer Portal: http://www.wso2.org http://www.wso2.org/ WSAS Blog: http://wso2wsas.blogspot.com http://wso2wsas.blogspot.com/ Company: http://wso2.com http://wso2.com/ GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E 0760 winmail.dat- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]