RE: urgent help on interop with SOAP over TCP on .Net
I know .NET is using WSE with DIME, do you know if Axis2 support DIME? Thanks John -Original Message- From: Deepal jayasinghe [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 1:28 AM To: axis-user@ws.apache.org Subject: Re: urgent help on interop with SOAP over TCP on .Net Hi Chen, , I think you are talking about Axis2 TCP support ? First you can download Axis2 1.3 release from [1] , then you can use Axis2's TCP transport support for invoking the service using TCP transport. To use TCP in the client side you have to set the correct EPR like : tcp://127.0.0.1:8080/ , then Axis2 will send the request using TCP transport. [1] : http://ws.apache.org/axis2/download/1_3/download.cgi Thanks Deepal I have a .Net program sending SOAP message over TCP and I am trying to find something that running on a Java platform can receive it. I heard about Axis's RC2 before, but I am not able to find it anymore. Can anybody tell me about it or point me to the right product ? Thanks John - 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: urgent help on interop with SOAP over TCP on .Net
Does anybody know how I can download addressing.jar for Axis1.2 or later? Thanks John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
urgent help on interop with SOAP over TCP on .Net
I have a .Net program sending SOAP message over TCP and I am trying to find something that running on a Java platform can receive it. I heard about Axis's RC2 before, but I am not able to find it anymore. Can anybody tell me about it or point me to the right product ? Thanks John
RE: urgent help on interop with SOAP over TCP on .Net
I need to know how to get the message sent from .NET through SOAP over TCP. I have not much idea about it. I have been using Axis for Web services, which is basically SOAP over HTTP Any help will be appreciated. Thanks John -Original Message- From: Pushkar Bodas [mailto:[EMAIL PROTECTED] Sent: Monday, August 20, 2007 1:42 PM To: axis-user@ws.apache.org Subject: Re: urgent help on interop with SOAP over TCP on .Net Hi, Do you want to monitor the SOAP messages?if so, try and use TCPmon [http://ws.apache.org/commons/tcpmon/].if I got you wrong, please specify what you want to do by receiving it. Thanks and regards, Pushkar Chen, John (N-Avatar Inc.) wrote: I have a .Net program sending SOAP message over TCP and I am trying to find something that running on a Java platform can receive it. I heard about Axis's RC2 before, but I am not able to find it anymore. Can anybody tell me about it or point me to the right product ? Thanks John -- View this message in context: http://www.nabble.com/urgent-help-on-interop-with-SOAP-over-TCP-on-.Net- tf4299957.html#a12240551 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: Where to put Axis2 jar files on TOMCAT
Do you know why Axis2 is not able to locate the jar files I put under common/lib. It looks to me an Axis2 service is able to locate some jar files in common/lib such as Axis2-kernel.jar, but having problem with some such as stax-api.jar. Is it the case? I have to put my own jar file under common/lib since I have other web applications using it and invoke Axis stub class from a class in that jar file. Can anybody give me some help here? Please, I have tried all the options I can think of, including adding Axis jar files to my classpath(it didn't work either because of the tomcat class loader mechanism) Thanks John -Original Message- From: Joe Nathan [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2007 7:01 PM To: axis-user@ws.apache.org Subject: RE: Where to put Axis2 jar files on TOMCAT Instead of common lib, place them all together in the service specific lib. Then it works. But this also creates another problem: duplicate resource creations. Eventually, Axis and Tomcat should be merged as one. Otherwise, duplication problems will remain. regards. Chen, John (N-Avatar Inc.) wrote: Dims, Actually when I put all jar files in common\lib, I could not even deploy, I got java.lang.IllegalStateException: No valid ObjectCreator found. Thanks John -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2007 3:08 PM To: axis-user@ws.apache.org Cc: Jain, Kokil Subject: Re: Where to put Axis2 jar files on TOMCAT find all the stax related jars in your environment. easy thumb rule, you need to place the woodstox and stax jars in the same directory whether it is in WEB-INF/lib or commons/lib. more importantly remove any dups. thanks, dims On 6/27/07, Chen, John (N-Avatar Inc.) [EMAIL PROTECTED] wrote: I have been struggling with this issue for the last several days and I believe it is the Axis2 class loader issue Basically I am developing a system can act as both Web Services client and server. To use it as a Web Services client, I have to put my application jar file and all dependent Axis2 jar files under common/lib. To host my Web Services, I have a war file with my Web Services configuration and classes in it. My issue is, if I don't put any Axis2 jar files in the war file (WEB-INF/lib), I am getting the following exception, java.lang.IllegalStateException: No valid ObjectCreator found. at org.apache.axiom.om.util.StAXUtils$Pool.init(StAXUtils.java:44) at org.apache.axiom.om.util.StAXUtils.clinit(StAXUtils.java:68) at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:555) at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBui Then if I put those Axis2 jar files back in the war file, I don't have any problem deploying it, but I got the following exception when invoking the Web Services, ERROR AxisServlet - java.lang.LinkageError: Class javax/xml/stream/XMLStreamRead er violates loader constraints Thanks John -- Davanum Srinivas :: http://davanum.wordpress.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/Where-to-put-Axis2-jar-files-on-TOMCAT-tf3989363.h tml#a11334198 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: Where to put Axis2 jar files on TOMCAT
I think the problem is stax-api.jar, somehow I have to either put my Axis2 WEB-INF/lib or my classpath to expose it to Axis engine. So my solution is have it in my classpath and all other jar files under common/lib and it works for me. But why? John -Original Message- From: Chen, John (N-Avatar Inc.) Sent: Friday, June 29, 2007 2:29 PM To: axis-user@ws.apache.org Cc: [EMAIL PROTECTED] Subject: RE: Where to put Axis2 jar files on TOMCAT Do you know why Axis2 is not able to locate the jar files I put under common/lib. It looks to me an Axis2 service is able to locate some jar files in common/lib such as Axis2-kernel.jar, but having problem with some such as stax-api.jar. Is it the case? I have to put my own jar file under common/lib since I have other web applications using it and invoke Axis stub class from a class in that jar file. Can anybody give me some help here? Please, I have tried all the options I can think of, including adding Axis jar files to my classpath(it didn't work either because of the tomcat class loader mechanism) Thanks John -Original Message- From: Joe Nathan [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2007 7:01 PM To: axis-user@ws.apache.org Subject: RE: Where to put Axis2 jar files on TOMCAT Instead of common lib, place them all together in the service specific lib. Then it works. But this also creates another problem: duplicate resource creations. Eventually, Axis and Tomcat should be merged as one. Otherwise, duplication problems will remain. regards. Chen, John (N-Avatar Inc.) wrote: Dims, Actually when I put all jar files in common\lib, I could not even deploy, I got java.lang.IllegalStateException: No valid ObjectCreator found. Thanks John -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2007 3:08 PM To: axis-user@ws.apache.org Cc: Jain, Kokil Subject: Re: Where to put Axis2 jar files on TOMCAT find all the stax related jars in your environment. easy thumb rule, you need to place the woodstox and stax jars in the same directory whether it is in WEB-INF/lib or commons/lib. more importantly remove any dups. thanks, dims On 6/27/07, Chen, John (N-Avatar Inc.) [EMAIL PROTECTED] wrote: I have been struggling with this issue for the last several days and I believe it is the Axis2 class loader issue Basically I am developing a system can act as both Web Services client and server. To use it as a Web Services client, I have to put my application jar file and all dependent Axis2 jar files under common/lib. To host my Web Services, I have a war file with my Web Services configuration and classes in it. My issue is, if I don't put any Axis2 jar files in the war file (WEB-INF/lib), I am getting the following exception, java.lang.IllegalStateException: No valid ObjectCreator found. at org.apache.axiom.om.util.StAXUtils$Pool.init(StAXUtils.java:44) at org.apache.axiom.om.util.StAXUtils.clinit(StAXUtils.java:68) at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:555) at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBui Then if I put those Axis2 jar files back in the war file, I don't have any problem deploying it, but I got the following exception when invoking the Web Services, ERROR AxisServlet - java.lang.LinkageError: Class javax/xml/stream/XMLStreamRead er violates loader constraints Thanks John -- Davanum Srinivas :: http://davanum.wordpress.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/Where-to-put-Axis2-jar-files-on-TOMCAT-tf3989363.h tml#a11334198 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where to put Axis2 jar files on TOMCAT
Actually, here is the reason http://issues.apache.org/jira/browse/WSCOMMONS-70 John -Original Message- From: Chen, John (N-Avatar Inc.) Sent: Friday, June 29, 2007 4:59 PM To: axis-user@ws.apache.org Cc: [EMAIL PROTECTED] Subject: RE: Where to put Axis2 jar files on TOMCAT I think the problem is stax-api.jar, somehow I have to either put my Axis2 WEB-INF/lib or my classpath to expose it to Axis engine. So my solution is have it in my classpath and all other jar files under common/lib and it works for me. But why? John -Original Message- From: Chen, John (N-Avatar Inc.) Sent: Friday, June 29, 2007 2:29 PM To: axis-user@ws.apache.org Cc: [EMAIL PROTECTED] Subject: RE: Where to put Axis2 jar files on TOMCAT Do you know why Axis2 is not able to locate the jar files I put under common/lib. It looks to me an Axis2 service is able to locate some jar files in common/lib such as Axis2-kernel.jar, but having problem with some such as stax-api.jar. Is it the case? I have to put my own jar file under common/lib since I have other web applications using it and invoke Axis stub class from a class in that jar file. Can anybody give me some help here? Please, I have tried all the options I can think of, including adding Axis jar files to my classpath(it didn't work either because of the tomcat class loader mechanism) Thanks John -Original Message- From: Joe Nathan [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2007 7:01 PM To: axis-user@ws.apache.org Subject: RE: Where to put Axis2 jar files on TOMCAT Instead of common lib, place them all together in the service specific lib. Then it works. But this also creates another problem: duplicate resource creations. Eventually, Axis and Tomcat should be merged as one. Otherwise, duplication problems will remain. regards. Chen, John (N-Avatar Inc.) wrote: Dims, Actually when I put all jar files in common\lib, I could not even deploy, I got java.lang.IllegalStateException: No valid ObjectCreator found. Thanks John -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2007 3:08 PM To: axis-user@ws.apache.org Cc: Jain, Kokil Subject: Re: Where to put Axis2 jar files on TOMCAT find all the stax related jars in your environment. easy thumb rule, you need to place the woodstox and stax jars in the same directory whether it is in WEB-INF/lib or commons/lib. more importantly remove any dups. thanks, dims On 6/27/07, Chen, John (N-Avatar Inc.) [EMAIL PROTECTED] wrote: I have been struggling with this issue for the last several days and I believe it is the Axis2 class loader issue Basically I am developing a system can act as both Web Services client and server. To use it as a Web Services client, I have to put my application jar file and all dependent Axis2 jar files under common/lib. To host my Web Services, I have a war file with my Web Services configuration and classes in it. My issue is, if I don't put any Axis2 jar files in the war file (WEB-INF/lib), I am getting the following exception, java.lang.IllegalStateException: No valid ObjectCreator found. at org.apache.axiom.om.util.StAXUtils$Pool.init(StAXUtils.java:44) at org.apache.axiom.om.util.StAXUtils.clinit(StAXUtils.java:68) at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:555) at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBui Then if I put those Axis2 jar files back in the war file, I don't have any problem deploying it, but I got the following exception when invoking the Web Services, ERROR AxisServlet - java.lang.LinkageError: Class javax/xml/stream/XMLStreamRead er violates loader constraints Thanks John -- Davanum Srinivas :: http://davanum.wordpress.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/Where-to-put-Axis2-jar-files-on-TOMCAT-tf3989363.h tml#a11334198 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL
Where to put Axis2 jar files on TOMCAT
I have been struggling with this issue for the last several days and I believe it is the Axis2 class loader issue Basically I am developing a system can act as both Web Services client and server. To use it as a Web Services client, I have to put my application jar file and all dependent Axis2 jar files under common/lib. To host my Web Services, I have a war file with my Web Services configuration and classes in it. My issue is, if I don't put any Axis2 jar files in the war file (WEB-INF/lib), I am getting the following exception, java.lang.IllegalStateException: No valid ObjectCreator found. at org.apache.axiom.om.util.StAXUtils$Pool.init(StAXUtils.java:44) at org.apache.axiom.om.util.StAXUtils.clinit(StAXUtils.java:68) at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:555) at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBui Then if I put those Axis2 jar files back in the war file, I don't have any problem deploying it, but I got the following exception when invoking the Web Services, ERROR AxisServlet - java.lang.LinkageError: Class javax/xml/stream/XMLStreamRead er violates loader constraints Thanks John
RE: Where to put Axis2 jar files on TOMCAT
Dims, Actually when I put all jar files in common\lib, I could not even deploy, I got java.lang.IllegalStateException: No valid ObjectCreator found. Thanks John -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2007 3:08 PM To: axis-user@ws.apache.org Cc: Jain, Kokil Subject: Re: Where to put Axis2 jar files on TOMCAT find all the stax related jars in your environment. easy thumb rule, you need to place the woodstox and stax jars in the same directory whether it is in WEB-INF/lib or commons/lib. more importantly remove any dups. thanks, dims On 6/27/07, Chen, John (N-Avatar Inc.) [EMAIL PROTECTED] wrote: I have been struggling with this issue for the last several days and I believe it is the Axis2 class loader issue Basically I am developing a system can act as both Web Services client and server. To use it as a Web Services client, I have to put my application jar file and all dependent Axis2 jar files under common/lib. To host my Web Services, I have a war file with my Web Services configuration and classes in it. My issue is, if I don't put any Axis2 jar files in the war file (WEB-INF/lib), I am getting the following exception, java.lang.IllegalStateException: No valid ObjectCreator found. at org.apache.axiom.om.util.StAXUtils$Pool.init(StAXUtils.java:44) at org.apache.axiom.om.util.StAXUtils.clinit(StAXUtils.java:68) at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:555) at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBui Then if I put those Axis2 jar files back in the war file, I don't have any problem deploying it, but I got the following exception when invoking the Web Services, ERROR AxisServlet - java.lang.LinkageError: Class javax/xml/stream/XMLStreamRead er violates loader constraints Thanks John -- Davanum Srinivas :: http://davanum.wordpress.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] No valid ObjectCreator found.
Actually I am getting the same exception if I move all the Axis2 jar files to common/lib for TOMCAT. Does Axis2 automatically look up the common classpath? Thanks -Original Message- From: Jakub Korab [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 26, 2007 11:44 AM To: axis-user@ws.apache.org Subject: Re: [Axis2] No valid ObjectCreator found. The error message is in the last part: java.lang.ExceptionInInitializerError at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:555) at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilde r.java:93) at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigB uilder.java:76) at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(D eploymentEngine.java:640) at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration( FileSystemConfigurator.java:105) at org.apache.axis2.context.ConfigurationContextFactory.createConfiguration Context(ConfigurationContextFactory.java:60) at org.apache.axis2.context.ConfigurationContextFactory.createConfiguration ContextFromFileSystem(ConfigurationContextFactory.java:174) at org.apache.axis2.client.ServiceClient.initializeTransports(ServiceClient .java:211) at org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClie nt.java:138) at org.apache.axis2.client.ServiceClient.init(ServiceClient.java:133) at my package.ConveyancerServiceStub.init(ConveyancerServiceStub.java:61) at my package.ConveyancerServiceStub.init(ConveyancerServiceStub.java:88) at my package.ConveyancerServiceImpl.init(ConveyancerServiceImpl.java:42) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA ccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons tructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:82) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.in stantiate(SimpleInstantiationStrategy.java:78) at org.springframework.beans.factory.support.ConstructorResolver.autowireCo nstructor(ConstructorResolver.java:156) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac tory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:548) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac tory.createBean(AbstractAutowireCapableBeanFactory.java:352) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObjec t(AbstractBeanFactory.java:240) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.g etSingleton(DefaultSingletonBeanRegistry.java:132) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab stractBeanFactory.java:237) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab stractBeanFactory.java:153) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.re solveReference(BeanDefinitionValueResolver.java:225) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.re solveValueIfNecessary(BeanDefinitionValueResolver.java:114) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac tory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:801) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac tory.populateBean(AbstractAutowireCapableBeanFactory.java:592) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac tory.createBean(AbstractAutowireCapableBeanFactory.java:392) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObjec t(AbstractBeanFactory.java:240) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.g etSingleton(DefaultSingletonBeanRegistry.java:132) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab stractBeanFactory.java:237) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab stractBeanFactory.java:157) at CGTransformer.main(CGTransformer.java:81) Caused by: java.lang.IllegalStateException: No valid ObjectCreator found. at org.apache.axiom.om.util.StAXUtils$Pool.init(StAXUtils.java:44) at org.apache.axiom.om.util.StAXUtils.clinit(StAXUtils.java:68) ... 36 more I have tried this using JDK 1.4.2_10 and 1.5.0_07 and get the same problem (the target environment is 1.4.2). I have re-posted the above in a Jira issue. Cheers, Jakub Davanum Srinivas wrote: Which JDK version? also, please post the whole stack trace. If you can create a JIRA that would be even better. You have both stax and wstx jars, so you should be all set. but you are running into weird
RE: Axis2- question on creating ConfigurationContext
On my Axis2 client, I am using the following code to create ConfigurationContext so that I can engage the rampart. I understand we have to use absolute path for the module and axis2.xml. Is there anyway I can load those from my classpath ? I have an tomcat server running and I am wondering if I can put those file in a jar file and be part of my classpath. ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(c: /client_repo, c:/client_repo/conf/axis2.xml); Thanks John
Axis2- question on creating ConfigurationContext
On my Axis2 client, I am using the following code to create ConfigurationContext so that I can engage the rampart. I understand we have to use absolute path for the module and axis2.xml. Is there anyway I can load those from my classpath ? I have an tomcat server running and I am wondering if I can put those file in a jar file and be part of my classpath. Thanks John