Re: Segmentation fault when calling webservice

2007-06-17 Thread Samisa Abeysinghe

Dr. Florian Steinborn wrote:

Hi there,
just a hint...

Yesterday I again hit the error that the server crashes with a 
segfault. But it was my problem: I misspelled the getter-function 
inside the lib of my webservice. As it is dynamically linked the 
linker will not recognize the problem during makeing. The next one to 
notice is the server at run time. It cannot resolve the function 
against any lib and crashes. It could be interesting to see if the 
server could learn to be tolerant like just stating cannot execute 
service.
+1 for meaningful error. I hope we could be able to do that using dlopen 
return codes. Will look into that. Thanks for the suggestion.


Samisa...


--
Samisa Abeysinghe : http://www.bloglines.com/blog/samisa


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re-generating code for only one xsd

2007-06-17 Thread Spike Mulligan

I'm working with Axis2(ADB) to generate server code for a WSDL with includes
to multiple schema files.  Particular files undergo regular extensions and
changes while others are much more stable.  My question is that when a
change occurs to a particular file am I able to regenerate only the code for
the schema that changed or can I only regenerate it for the whole WSDL?


Ignore newly added fields to remain compatible

2007-06-17 Thread Mirco Jeske

Hi group,
I am dealing with a couple of web services facing a problem with newly 
added fields. One wsdl changed as there was added an additional field. 
Unfortunately I cannot rebuild my stubs due to heavy release problems. 
Therefore I would like to configure axis to just ignore this new field. 
Is there a way to stay compatible as long as the original fields remain 
available no matter how may new field would haven been added?


thanx for any hint, mirco

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Re-generating code for only one xsd

2007-06-17 Thread Davanum Srinivas

You can run org.apache.axis2.schema.XSD2Java to generate code from a single xsd

thanks,
dims

On 6/17/07, Spike Mulligan [EMAIL PROTECTED] wrote:

I'm working with Axis2(ADB) to generate server code for a WSDL with includes
to multiple schema files.  Particular files undergo regular extensions and
changes while others are much more stable.  My question is that when a
change occurs to a particular file am I able to regenerate only the code for
the schema that changed or can I only regenerate it for the whole WSDL?




--
Davanum Srinivas :: http://davanum.wordpress.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Deploying problem - what am i missing?

2007-06-17 Thread omega-psi

Hey there!

After getting myself some good literature about Axis2 and having some ideas
in mind, i started to code. I tried to implement my first services. But
something doesnt work, and i ran pretty much out of ideas.

I have axis2-1.2 saved @ C:\axis2-1.2\ so my environment varibale AXIS2_HOME
ist set to this location. I have tried to set up the SampleService, which is
introduced @the apache site. I copied the code of SampleService.java and the
services.xml, so there are no possible typos. This is my project-tree:
http://farm2.static.flickr.com/1439/560665214_e05287894e_o.jpg 
I create the aar by jar cvf SampleService.aar ./*. The SampleService.aar has
a size of 151kb and contains all files of the directory.

I use the Web Administration application to upload the generated service
archive, but i get an error:
Error: org.apache.axis2.deployment.DeploymentException: Processing
Operations Modules with an error of The following error occurred during
schema generation: java.lang.ClassNotFoundException: Class Not found :
org.apache.axis2.axis2userguide.SampleService at
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:147)
at ... /* Much mor in between these errors. */ 38 more Caused by:
java.lang.ClassNotFoundException: Class Not found :
org.apache.axis2.axis2userguide.SampleService at
org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:84)
... 46 more
-- 
View this message in context: 
http://www.nabble.com/Deploying-problem---what-am-i-missing--tf3936686.html#a11165228
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Deploying problem - what am i missing?

2007-06-17 Thread Martin Gainty
dont know if the SampleService.java file is missing altogether or 
SampleService.java not compiled ..
lets assuming you are using SampleService is a pojo (a Plain Old Java 
Object) I dont know without looking at the WSDL but we'll assume its POJO


cd %AXIS+HOME%\samples\pojo

ant -verbose
the end distribution archive is a Axis Service Archive (*.aar)
note the location of the new .aar (archived service files) as in this 
Archived file

C:\AXIS\axis2-1.1\samples\pojo\build\AddressBookService.aar

you can either use the Admin tool to upload
http://localhost:8080/axis2-/axis2-admin/login

OR
I've had good luck by copying to WEB-INF\services
copy C:\AXIS\axis2-1.1\samples\pojo\build\*.aar 
C:\Tomcat\TOMCAT~1.5\webapps\axis2-\WEB-INF\services

shutdown axis2-
startup axis2-

Viel Gluck
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

- Original Message - 
From: omega-psi [EMAIL PROTECTED]

To: axis-user@ws.apache.org
Sent: Sunday, June 17, 2007 1:30 PM
Subject: Deploying problem - what am i missing?




Hey there!

After getting myself some good literature about Axis2 and having some 
ideas

in mind, i started to code. I tried to implement my first services. But
something doesnt work, and i ran pretty much out of ideas.

I have axis2-1.2 saved @ C:\axis2-1.2\ so my environment varibale 
AXIS2_HOME
ist set to this location. I have tried to set up the SampleService, which 
is
introduced @the apache site. I copied the code of SampleService.java and 
the

services.xml, so there are no possible typos. This is my project-tree:
http://farm2.static.flickr.com/1439/560665214_e05287894e_o.jpg
I create the aar by jar cvf SampleService.aar ./*. The SampleService.aar 
has

a size of 151kb and contains all files of the directory.

I use the Web Administration application to upload the generated service
archive, but i get an error:
Error: org.apache.axis2.deployment.DeploymentException: Processing
Operations Modules with an error of The following error occurred during
schema generation: java.lang.ClassNotFoundException: Class Not found :
org.apache.axis2.axis2userguide.SampleService at
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:147)
at ... /* Much mor in between these errors. */ 38 more Caused by:
java.lang.ClassNotFoundException: Class Not found :
org.apache.axis2.axis2userguide.SampleService at
org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:84)
... 46 more
--
View this message in context: 
http://www.nabble.com/Deploying-problem---what-am-i-missing--tf3936686.html#a11165228

Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [AXIS2] Importing a external schema in WSDL

2007-06-17 Thread dharmendra3

Iam trying to deploy it in weblogic.
It gives me the same error saying that xsd0.xsd not found under domain root.
is it because of weblogic.
do i have to make any changes to my classpath.

Iam using the latest release axis2-1.2



mgainty wrote:
 
 I agree with Ajith--
 
 so in this situation
 xs:include schemaLocation=./Whatever.xsd/
 make sure you have validated the Whatever.xsd beforehand
 http://www.w3schools.com/dom/dom_validate.asp
 
 M--
 This email message and any files transmitted with it contain confidential
 information intended only for the person(s) to whom this email message is
 addressed.  If you have received this email message in error, please
 notify
 the sender immediately by telephone or email and destroy the original
 message without making a copy.  Thank you.
 
 - Original Message - 
 From: Ajith Ranabahu [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Sent: Saturday, June 16, 2007 12:03 AM
 Subject: Re: [AXIS2] Importing a external schema in WSDL
 
 
 Hi,
 I have to admit that we had some problems with relative imports in
 some *previous* releases. However the absolute URL's case always
 worked.
 So here are somethings you can try

 1. Try using the latest release. Since it seems to work without a
 problem for us its worth to try in your setting.

 2. Please check whether you have any network restrictions, perhaps the
 personal firewall ? Best thing is to see whether you can access the
 URL by some other means, may be the browser. However this is not a
 fool proof method since personal firewalls are likely to have
 exceptions for programs such as the browser.

 3. If non of this work a somewhat dirty solution would be to inline
 the schemas in the WSDL.

 Ajith

 On 6/15/07, dharmendra3 [EMAIL PROTECTED] wrote:

 Anyone had sucess using schema imports in wsdl.
 if I use relative url(shema import) my deployment complains and if i use
 absolute url for schema location wsdl2java fails.
 DeploymentEngine complains that its not able to find the xsd file.

 Iam loosing my patience here.

 Iam assuming that axis2 does not support a basic feature of importing
 schemas in the wsdl.






 dharmendra3 wrote:
 
  When I try to import a schema with relative url,wsdl2ava is working 
  fine
  but deployment is causing the problem saying that its not able to find 
  the
  xsd file (It looks for xsd file from the domain root).
 
  If I use absolute url (schemalocation) wsdl2java is failing.
 
 
  Is this a bug with the wsdl4j,how can I resolve this.
 

 --
 View this message in context: 
 http://www.nabble.com/-AXIS2---Importing-a-external-schema-in-WSDL-tf3884021.html#a11150477
 Sent from the Axis - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 -- 
 Ajith Ranabahu

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/-AXIS2---Importing-a-external-schema-in-WSDL-tf3884021.html#a11166907
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Rampart 1.2 Configuration

2007-06-17 Thread Anthony Bull
Hi, can anyone point me to some examples of the newer style Rampart 
configuration? The example links on the Rampart homepage are broken, and 
the Rampart 1.2 samples/examples in the distro are all for the former 
Rampart 1.0 configuration setup (which I already have working).


cheers,
Anthony.

--
Anthony
-
Anthony Bull
Senior Developer
Black Coffee Software Ltd
PO Box 10-192 The Terrace
Wellington, New Zealand

[EMAIL PROTECTED]
Ph  +64 4 472 8818
Fax +64 4 472 8811
Mobile 021 303 692
-
www.bcsoft.co.nz
---
This email may contain confidential or privileged information,
and is intended for use only by the addressee, or addressees.
If you are not the intended recipient please advise the sender
immediately and do not copy, use or disclose the contents to
any other person or organisation.
Black Coffee Software Ltd accepts no responsibility for viruses
received with this email, or to any changes made to the original
content. Any views or opinions expressed in this email may be
personal to the sender and are not necessarily those of Black
Coffee Software Ltd.
---



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Rampart 1.2 Configuration

2007-06-17 Thread Ruchith Fernando

Hi Anthony,

Rampart-1.2 uses the same WS-Policy and WS-SecurityPolicy based config
that we introduced in RAmpart-1.1

Please look at the samples/policy dir in the rampart-bin distro.

Thanks,
Ruchith

On 6/18/07, Anthony Bull [EMAIL PROTECTED] wrote:

Hi, can anyone point me to some examples of the newer style Rampart
configuration? The example links on the Rampart homepage are broken, and
the Rampart 1.2 samples/examples in the distro are all for the former
Rampart 1.0 configuration setup (which I already have working).

cheers,
Anthony.

--
Anthony
-
Anthony Bull
Senior Developer
Black Coffee Software Ltd
PO Box 10-192 The Terrace
Wellington, New Zealand

[EMAIL PROTECTED]
Ph  +64 4 472 8818
Fax +64 4 472 8811
Mobile 021 303 692
-
www.bcsoft.co.nz
---
This email may contain confidential or privileged information,
and is intended for use only by the addressee, or addressees.
If you are not the intended recipient please advise the sender
immediately and do not copy, use or disclose the contents to
any other person or organisation.
Black Coffee Software Ltd accepts no responsibility for viruses
received with this email, or to any changes made to the original
content. Any views or opinions expressed in this email may be
personal to the sender and are not necessarily those of Black
Coffee Software Ltd.
---



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
www.ruchith.org
www.wso2.org

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Help : POJO service operations overriding..

2007-06-17 Thread Ajay Kumar Gour

Hi All,

I have a POJO service developed in Axis2-1.1.1. Currently its exposing all
the methods defined in Web Service class as web service methods. But i
want to restrict it to few methods only.

service name=MyWebService scope=request
 description
 My Test WebService
 /description
 messageReceivers
 messageReceiver
 mep=http://www.w3.org/2004/08/wsdl/in-only;
class=org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver/
 messageReceiver
 mep=http://www.w3.org/2004/08/wsdl/in-out;
class=org.apache.axis2.rpc.receivers.RPCMessageReceiver/
 /messageReceivers

 parameter name=ServiceClasscom.s7.WebServiceClass/parameter
operation name=doSomething1/
operation name=doSomething2/
operation name=doSomething3/
operation name=doSomething4/
/service

My web service class has other methods also, but i want to expose only the
few methods. Even after specifying those methods in services.xml (iam
using services.xml same as mentioned above), all methods are exposed.

I am not able to understand whats wrong with this?

-Thanks,
Ajay

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WS-Security - UsernameToken doesnt work, is this a Rampart BUG?

2007-06-17 Thread Ruchith Fernando

My guess is there's some missing config. Remember just engaging
rampart is not sufficient! One MUST provide the policy/configuration
for Rampart to enforce.

Thanks,
Ruchith

On 6/16/07, Glen Mazza [EMAIL PROTECTED] wrote:

That would appear, indeed, to be an alarmingly big security hole.  We
are most probably misunderstanding something though.  But as for
forgetting some configuration, one would guess what you have done should
fail by default anyway (i.e., no special configuration should be
necessary to *enable* security if the tags are missing, only perhaps to
*disable*).

Glen

Am Freitag, den 15.06.2007, 17:45 -0300 schrieb Eduardo Muller:
  With this configuration (see
 http://www-usr.inf.ufsm.br/~muller/rampart.jpg ),

 where the tag UsernameToken is replaced with
 incorrectTagUsernameToken,

 the web service will be call without pass through the class
 ServerPWCBHandler.

  That means, authentication doesnt work. Is this a rampart BUG?

 I know how to fix this in
 the org.apache.rampart.handler.WSDoAllReceiver class.
 But i want to know if this is necessary (means there is a BUG) or i
 forgot some configuration??

 Atenciosamente Eduardo!!




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
www.ruchith.org
www.wso2.org

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem deploying Rahas

2007-06-17 Thread Ruchith Fernando

Hi,

Seems like you are missing the wss4j jar in the classpath.
Please include all jars in the lib dir of the rampart-distro in the
classpath in addition to the jars in the axis2 bin distro.

Thanks,
Ruchith

On 6/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Hi all,

I would like to use Rampart and Rahas in order to create a WS-Trust STS,
that exchanges SAML2.0 tokens (using OpenSAML? I don't know, suggestions
are welcome!).

I use JBoss 4.0.5GA. I've unpacked the Axis2 .war file, I put the .mar in the
WEB-INF/modules/ and I edited modules.list.

I got this error, from JBoss:

16:00:50,087 INFO  [TomcatDeployer] deploy, ctxPath=/axis2,
warUrl=.../tmp/deploy/tmp46200axis2-exp.war/
16:00:53,594 INFO  [ModuleDeployer] Deploying module: addressing-1.2
16:00:54,511 INFO  [ModuleDeployer] Deploying module: rahas-1.1
16:00:58,808 ERROR [STDERR] java.lang.ClassNotFoundException: No
ClassLoaders found for: org.apache.ws.security.transform.STRTransform
16:00:58,813 ERROR [STDERR] at
org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
16:00:58,814 ERROR [STDERR] at
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
16:00:58,814 ERROR [STDERR] at
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
16:00:58,815 ERROR [STDERR] at
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
16:00:58,816 ERROR [STDERR] at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
16:00:58,817 ERROR [STDERR] at java.lang.Class.forName0(Native Method)
16:00:58,817 ERROR [STDERR] at java.lang.Class.forName(Class.java:164)
16:00:58,818 ERROR [STDERR] at
org.apache.xml.security.transforms.Transform.register(Unknown Source)
16:00:58,818 ERROR [STDERR] at
org.apache.ws.security.WSSConfig.init(WSSConfig.java:83)
16:00:58,819 ERROR [STDERR] at
org.apache.ws.security.WSSConfig.getNewInstance(WSSConfig.java:95)
16:00:58,820 ERROR [STDERR] at
org.apache.ws.security.WSSConfig.clinit(WSSConfig.java:47)
16:00:58,821 ERROR [STDERR] at
org.apache.ws.security.WSSecurityEngine.clinit(WSSecurityEngine.java:51)
16:00:58,822 ERROR [STDERR] at
org.apache.ws.security.handler.WSHandler.clinit(WSHandler.java:62)
16:00:58,823 ERROR [STDERR] at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)



Have you any ideas?

Thank you for your work,

Massimiliano Masi





This message was sent using IMP, the Internet Messaging Program.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
www.ruchith.org
www.wso2.org

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WS-Security - UsernameToken doesnt work, is this a Rampart BUG?

2007-06-17 Thread Ruchith Fernando

Hi,

Can you please post the rampart configuration of the service? (policy
and services.xml)

Thanks,
Ruchith

On 6/16/07, Eduardo Muller [EMAIL PROTECTED] wrote:


 With this configuration (see
http://www-usr.inf.ufsm.br/~muller/rampart.jpg ),

where the tag UsernameToken is replaced with incorrectTagUsernameToken,

the web service will be call without pass through the class
ServerPWCBHandler.

 That means, authentication doesnt work. Is this a rampart BUG?

I know how to fix this in the
org.apache.rampart.handler.WSDoAllReceiver class.
But i want to know if this is necessary (means there is a BUG) or i forgot
some configuration??

Atenciosamente Eduardo!!





--
www.ruchith.org
www.wso2.org

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Deploying problem - what am i missing?

2007-06-17 Thread omega-psi


I tried the pojo-sample and it works... i'll give it another round...


mgainty wrote:
 
 dont know if the SampleService.java file is missing altogether or 
 SampleService.java not compiled ..
 lets assuming you are using SampleService is a pojo (a Plain Old Java 
 Object) I dont know without looking at the WSDL but we'll assume its POJO
 
 cd %AXIS+HOME%\samples\pojo
 
 ant -verbose
 the end distribution archive is a Axis Service Archive (*.aar)
 note the location of the new .aar (archived service files) as in this 
 Archived file
 C:\AXIS\axis2-1.1\samples\pojo\build\AddressBookService.aar
 
 you can either use the Admin tool to upload
 http://localhost:8080/axis2-/axis2-admin/login
 
 OR
 I've had good luck by copying to WEB-INF\services
 copy C:\AXIS\axis2-1.1\samples\pojo\build\*.aar 
 C:\Tomcat\TOMCAT~1.5\webapps\axis2-\WEB-INF\services
 shutdown axis2-
 startup axis2-
 
 Viel Gluck
 Martin--
 This email message and any files transmitted with it contain confidential
 information intended only for the person(s) to whom this email message is
 addressed.  If you have received this email message in error, please
 notify
 the sender immediately by telephone or email and destroy the original
 message without making a copy.  Thank you.
 
 - Original Message - 
 From: omega-psi [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Sent: Sunday, June 17, 2007 1:30 PM
 Subject: Deploying problem - what am i missing?
 
 

 Hey there!

 After getting myself some good literature about Axis2 and having some 
 ideas
 in mind, i started to code. I tried to implement my first services. But
 something doesnt work, and i ran pretty much out of ideas.

 I have axis2-1.2 saved @ C:\axis2-1.2\ so my environment varibale 
 AXIS2_HOME
 ist set to this location. I have tried to set up the SampleService, which 
 is
 introduced @the apache site. I copied the code of SampleService.java and 
 the
 services.xml, so there are no possible typos. This is my project-tree:
 http://farm2.static.flickr.com/1439/560665214_e05287894e_o.jpg
 I create the aar by jar cvf SampleService.aar ./*. The SampleService.aar 
 has
 a size of 151kb and contains all files of the directory.

 I use the Web Administration application to upload the generated service
 archive, but i get an error:
 Error: org.apache.axis2.deployment.DeploymentException: Processing
 Operations Modules with an error of The following error occurred during
 schema generation: java.lang.ClassNotFoundException: Class Not found :
 org.apache.axis2.axis2userguide.SampleService at
 org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:147)
 at ... /* Much mor in between these errors. */ 38 more Caused by:
 java.lang.ClassNotFoundException: Class Not found :
 org.apache.axis2.axis2userguide.SampleService at
 org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:84)
 ... 46 more
 -- 
 View this message in context: 
 http://www.nabble.com/Deploying-problem---what-am-i-missing--tf3936686.html#a11165228
 Sent from the Axis - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Deploying-problem---what-am-i-missing--tf3936686.html#a11169847
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help : POJO service operations overriding..

2007-06-17 Thread Deepal Jayasinghe
Hi Ajay
[1] might me helpful.

[1] :  http://wso2.org/library/232

Thanks
Deepal
 Hi All,

 I have a POJO service developed in Axis2-1.1.1. Currently its exposing
 all
 the methods defined in Web Service class as web service methods. But i
 want to restrict it to few methods only.

 service name=MyWebService scope=request
  description
  My Test WebService
  /description
  messageReceivers
  messageReceiver
  mep=http://www.w3.org/2004/08/wsdl/in-only;
 
 class=org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver/
  messageReceiver
  mep=http://www.w3.org/2004/08/wsdl/in-out;
  class=org.apache.axis2.rpc.receivers.RPCMessageReceiver/
  /messageReceivers

  parameter name=ServiceClasscom.s7.WebServiceClass/parameter
 operation name=doSomething1/
 operation name=doSomething2/
 operation name=doSomething3/
 operation name=doSomething4/
 /service

 My web service class has other methods also, but i want to expose only
 the
 few methods. Even after specifying those methods in services.xml (iam
 using services.xml same as mentioned above), all methods are exposed.

 I am not able to understand whats wrong with this?

 -Thanks,
 Ajay

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Thanks,
Deepal

The highest tower is built one brick at a time



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help : POJO service operations overriding..

2007-06-17 Thread Ajay Kumar Gour

Hi Deepal,

Thanks a ton, it worked.

-Ajay

On Mon, 18 Jun 2007 00:52:28 -0400, Deepal Jayasinghe  
[EMAIL PROTECTED] wrote:



http://wso2.org/library/232




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]