Help - No serializer found for class java.util.LinkedList$ListItr
Hi, I am getting the following error while running my axis web service client. I am calling the service using static proxy approach. Thanks, Prasad - Exception: java.io.IOException: No serializer found for class java.util.LinkedList$ListItr in registry [EMAIL PROTECTED] at org.apache.axis.encoding.SerializationContext.serializeActual( SerializationContext.java:1507) at org.apache.axis.encoding.SerializationContext.serialize( SerializationContext.java:980) at org.apache.axis.encoding.SerializationContext.serialize( SerializationContext.java:734) at org.apache.axis.encoding.ser.BeanSerializer.serialize( BeanSerializer.java:230) at org.apache.axis.encoding.SerializationContext.serializeActual( SerializationContext.java:1504) at org.apache.axis.encoding.SerializationContext.serialize( SerializationContext.java:980) at org.apache.axis.encoding.SerializationContext.serialize( SerializationContext.java:801) at org.apache.axis.message.RPCParam.serialize(RPCParam.java:208) at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433) at org.apache.axis.message.MessageElement.output(MessageElement.java:1208) at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139) at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478) at org.apache.axis.message.MessageElement.output(MessageElement.java:1208) at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315) at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269) at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530) at org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount( AttachmentsImpl.java:554) at org.apache.axis.Message.getContentType(Message.java:486) at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java :343) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138) at org.apache.axis.strategies.InvocationStrategy.visit( InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812)
Re: Axis 1.2 WAR Distribution
John, Could you please point me to an existing project that deploys war file to maven repo? thanks, dims On 4/28/07, John Pfeifer <[EMAIL PROTECTED]> wrote: I can't seem to find the axis2.war file on the ibiblio maven repository. I was under the impression that the next release would contain the axis2 war file. Was the axis2 war file deployed to the maven repo, if so where can if find it. If not, can someone explain why this artifact isn't deployed to the maven repo. I makes building a customized axis2 war file a lot easier if you can just include the axis2 war as a dependency of your customized axis2 distribution. Otherwise, I have to download and save the axis2.war file and manage it locally (which I would prefer not to do). Thanks, jp4 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Davanum Srinivas :: http://davanum.wordpress.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [axis2] Generate XML schema from java class for parameter objects
Bo, Please log an enhancement issue in JIRA for adding support to Java2WSDL to specify additional classes for which schema needs to be generated. thanks, dims On 4/28/07, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: You might try JiBX or XMLBeans. On 4/27/07, Bo Xie <[EMAIL PROTECTED]> wrote: > Hi, > > I need advice on how to use java2wsdl or other tools to generate XML > schema from java class for operation parameters. I understand using > java2wsdl, it will generate the schema for all the data type used as > parameter for the operation. But I could not find a way to generate schema > for any derived class types. For example, if I have a method doSomething( > BaseType type). The generated schema will include schema for BaseType only. > I need to handcraft the schema for devicedTypeA, devicedTypeB into the WSDL > schema definition in order to pass deviceTypeA, deviceTypeB instances in > doSomething operation at runtime. > > Thanks for your time. > > -Bo > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Davanum Srinivas :: http://davanum.wordpress.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Axis-1.2 : JAXWS ???
Hi, I think it is better if no need to use services.xml when using annotation. Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN][Axis2]Axis2 1.2 Released
Jorge, JIRA Please...with your code sample so that we can recreate the problem. thanks, dims On 4/28/07, Jorge Fernandez <[EMAIL PROTECTED]> wrote: Hi, I would like to say thanks to all the developers for the great job they did with the new release, fixing the issues and for all the supporting work; but I'm not going to let you rest ;). Sorry for that: I've just installed the new release and some of the bugs were fixed and with these corrections I discover other. I reopened JIRA AXIS2-2325 with those now issues. Also I could see that the problem with hierarchy generation in the wsdl was almost fixed except in cases described in that JIRA. One problem I'm having now is that when I have a hierarchy, for the children, it generates them correctly but it doesn't generate the father. In my case I supose that this is because I haven't used them in the API from which I generate the WSDL. For example, I define the method: public boolean validateAdmin(Administrator admin); where Administrator class extends User. Java2WSDL would generate: .. but not: .. since I don't use User class in my API. (If I'm not wrong, wouldn't need to be generated) Regards, Jorge Fernández Davanum Srinivas <[EMAIL PROTECTED]> escribió: Till we fix the execute permission on the cgi :) please use http://www.apache.org/dyn/closer.cgi/ws/axis2/1_2/ (mirrors) http://www.apache.org/dist/ws/axis2/1_2/ (direct) thanks, dims On 4/27/07, Hickman, Craig wrote: > Seems to be a problem with the download.cgi ? > > -Original Message- > From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] > Sent: Friday, April 27, 2007 10:30 AM > To: axis-user@ws.apache.org > Subject: [ANN][Axis2]Axis2 1.2 Released > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Just over 4 months since the original 1.1.1 release, we are very proud to > announce the release of Apache Axis2 version 1.2 > > > Downloads are available at: > http://ws.apache.org/axis2/download.cgi > > Apache Axis2 is a complete re-design and re-write of the widely used Apache > Axis engine and is a more efficient, more scalable, more modular and more > XML-oriented Web services framework. It is carefully designed to support the > easy addition of plug-in "modules" that extend its functionality for > features such as security and reliability. > > Modules supporting WS-Security/Secure-Conversation (Apache Rampart), > WS-Trust (Apache Rahas), WS-Reliable Messaging (Apache Sandesha) and > WS-Eventing (Apache Savan) will be available after the Apache Axis2 > 1.2 release. Please see these projects' own sites for further information. > > Major Changes Since 1.1: > - - WSDL 2.0 fully support (reading, writing, and codegen) > - - POJO annotation (JSR 181) > - - JAX-WS integration > - - JAX-WS -annotation > - - Un-wrapping (Response) > - - ADB - support for union and list > - - Maven2 support > - - JSON support > - - Binary serialization (Fast infoste) > - - Codegen support for WSDL with Multiple services > - - HTTP code generation (both WSDL 1.1 and 2.0) > - - Custom deployer support > - - Message formatters > - - Message Builders > - - EJB Provider support > > > > Known Issues and Limitations in 1.2 Release: > > - - Xml-beans databinding does not support response uwwrapping > - - ADB databinding does not support minOccurs and maxOccures attributes in > sequence and choice elements > > > > Apache Axis2 1.2 is a major new release compared to Axis2 1.1. We are > striving for a simple and happy first time user experience as well as a > satisfying experienced user experience with this release. We welcome any and > all feedback at: > axis-user@ws.apache.org (please include "[axis2]" in the subject) > [EMAIL PROTECTED] (please include "[axis2]" in the subject) > http://issues.apache.org/jira/browse/AXIS2 > > Thank you for your interest in Apache Axis2! > > The Axis2 Development Team > http://ws.apache.org/axis2/ > > - > > > > Features of Apache Axis2: > > Programming Model > - Improved XML-centric client API with full WSDL and policy support > - Support for POJO and Spring services and clients > - Support for any message exchange pattern (MEP) > - Synchronous and asynchronous programming model > - Archived service deployment model supporting full service > encapsulation with versioning support > - Archived module deployment model supporting controlled > extensibility with versioning support > - Hot deployment > - WS-Policy driven code generation extensions > - Flexible service life cycle model > - Automatic support for POX (REST) style invocation of services > - Support for querying service's WSDL (with ?wsdl), schema (with > ?xsd) and po
Re: access to hibernate mapping file inside an .aar?
Try the following: ClassLoader classLoader = AxisService.class.getClassLoader(); At startup time, the TCCL does not kick in yet. -- dims On 4/28/07, Martin Polet <[EMAIL PROTECTED]> wrote: Actualy, the error occurs when I start tomcat, when it try to deploy the aar. Here is the stack trace when my SpringInit class (with startUp and Shutdown method) try to make a refresh on my applicationContext: public void startUp(ConfigurationContext configurationContext, AxisService axisService) { try { ClassLoader classLoader = axisService.getClassLoader(); ClassPathXmlApplicationContext appCtx = new ClassPathXmlApplicationContext(new String[] {"/WEB-INF/applicationContext.xml"}, false); appCtx.setClassLoader(classLoader); appCtx.refresh(); //error occurs here... System.out.println("spring loaded"); }catch (Exception ex) { ex.printStackTrace(); } } Here is the stack trace with the method: http://imacx.ath.cx/tmp/axis_error.txt Thx for your help Le 28-avr.-07 à 17:36, Davanum Srinivas a écrit : can u paste a stack trace? On 4/28/07, Martin Polet <[EMAIL PROTECTED]> wrote: Thx for your answer but i all ready done this. Here is my servide.xml: http://www.w3.org/2004/08/wsdl/in-out"; class="com.unisys.r4egov.eaw.axis.EawServiceAdbMessageReceiverInOut"/> composite org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier eawServiceAxis http://www.w3.org/2004/08/wsdl/in-out";> http://com.unisys.r4egov.unisys.eaw.axis/xsd/EawPortType/DeleteEawResponse http://www.w3.org/2004/08/wsdl/in-out";> http://com.unisys.r4egov.unisys.eaw.axis/xsd/EawPortType/AddEawResponse http://www.w3.org/2004/08/wsdl/in-out";> http://com.unisys.r4egov.unisys.eaw.axis/xsd/EawPortType/GetListEawResponse http://www.w3.org/2004/08/wsdl/in-out";> http://com.unisys.r4egov.unisys.eaw.axis/xsd/EawPortType/EditEawResponse I don't understand why it doesn't find my hibernate file and my applicationContext yes... Le 28-avr.-07 à 15:14, Davanum Srinivas a écrit : Set ServiceTCCL parameter to composite as mentioned here: http://wso2.org/blog/dims/1131 On 4/28/07, Martin Polet <[EMAIL PROTECTED]> wrote: Hi, I will give a little bit more details about my problem: i follow this article: http://ws.apache.org/axis2/1_1_1/spring.html Everything is ok except that my applicationContext can't access my hibernate file. But, it can access my jdbc.properties which is also in /WEB-INF/jbbc.properties... And the point which is not very clear is the article, is the last point as follow: classpath*:**/MyEntity.hbm.xml ... how can i fix the "classpath" in the field value? Can someone help me, thank you ! Le 27-avr.-07 à 18:04, Martin Polet a écrit : Hi, I would like to know how to access my hibernate mapping file from the applicationContext.xml. I'm using Spring 3 with hibernate 3. Here is my bean from applicationcontext.xml which call my mapping file: /WEB-INF/AbsentiaD.hbm.xml Here is the error: [CODE] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mysessionFactory' defined in class path resource [WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [classpath*:**/AbsentiaD.hbm.xml] cannot be opened because it does not exist Caused by: java.io.FileNotFoundException: class path resource [classpath*:**/AbsentiaD.hbm.xml] cannot be opened because it does not exist [/CODE] Thx a lot Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51 Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51 -- Davanum Srinivas :: http://davanum.wordpress.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51 -- Davanum Srinivas :: http://davanum.wordpress.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51 -- Davanum Srinivas :: http://davanum.wordpress.com - To unsubscri
RE: [AXIS2] Module configuration and flows
Hello Valerie. If Im not wrong, I have just declared the custom phase in the axis2.xml. Look at the attached file. And I have only engaged the module in my test service An idea ? Thanks. -- Ephemeris Lappis _ De : Masin, Valerie [mailto:[EMAIL PROTECTED] Envoyé : samedi 28 avril 2007 23:45 À : axis-user@ws.apache.org Objet : RE: [AXIS2] Module configuration and flows Make sure you haven't declared the module in your conf/axis2.xml _ From: Ephemeris Lappis [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 2:30 AM To: axis-user@ws.apache.org Subject: [AXIS2] Module configuration and flows Hello. Im trying to make a simple custom module. According to the tutorial from Axis site, Ive added the custom phase in the four flow definitions of the conf/axis2.xml : in, out, fault in and fault out. Indeed, my handler expects calls for these four flows. Then, for a testing service, I have declared the module in the services.xml. So, when my service gets normally invoked, my module handler is called for flows 1 and 2: in and out But, when other services are called, my handler is also called on flow 2 (out), while no module is configured for these services Any explanation about what services and flows are taken into account for module invocation ? Did I make something bad ? Thanks. -- Ephemeris Lappis true false false false 30 false false admin axis2 false false false false http://www.w3.org/2004/08/wsdl/in-only"; class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/> http://www.w3.org/2004/08/wsdl/in-out"; class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> 8080 > HTTP/1.1 chunked HTTP/1.1 chunked - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [AXIS2] Module configuration and flows
Make sure you haven't declared the module in your conf/axis2.xml From: Ephemeris Lappis [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 2:30 AM To: axis-user@ws.apache.org Subject: [AXIS2] Module configuration and flows Hello. I'm trying to make a simple custom module. According to the tutorial from Axis site, I've added the custom phase in the four flow definitions of the conf/axis2.xml : in, out, fault in and fault out. Indeed, my handler expects calls for these four flows. Then, for a testing service, I have declared the module in the services.xml. So, when my service gets normally invoked, my module handler is called for flows 1 and 2: in and out... But, when other services are called, my handler is also called on flow 2 (out), while no module is configured for these services... Any explanation about what services and flows are taken into account for module invocation ? Did I make something bad ? Thanks. -- Ephemeris Lappis
Re: [axis2] Generate XML schema from java class for parameter objects
You might try JiBX or XMLBeans. On 4/27/07, Bo Xie <[EMAIL PROTECTED]> wrote: Hi, I need advice on how to use java2wsdl or other tools to generate XML schema from java class for operation parameters. I understand using java2wsdl, it will generate the schema for all the data type used as parameter for the operation. But I could not find a way to generate schema for any derived class types. For example, if I have a method doSomething( BaseType type). The generated schema will include schema for BaseType only. I need to handcraft the schema for devicedTypeA, devicedTypeB into the WSDL schema definition in order to pass deviceTypeA, deviceTypeB instances in doSomething operation at runtime. Thanks for your time. -Bo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Axis Unable to Deserialize Complex Type... sometimes
The two messages contained different types -- you had different namespaces qualifying the "updatePreference" element. Anne On 4/28/07, cschulz <[EMAIL PROTECTED]> wrote: Got it working. If anyone is interested in the solution, it was replacing the arrayMapping with this typeMapping: http://schemas.xmlsoap.org/soap/encoding/"; /> -- View this message in context: http://www.nabble.com/Axis-Unable-to-Deserialize-Complex-Type...-sometimes-tf3660450.html#a10234275 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]
Axis 1.2 WAR Distribution
I can't seem to find the axis2.war file on the ibiblio maven repository. I was under the impression that the next release would contain the axis2 war file. Was the axis2 war file deployed to the maven repo, if so where can if find it. If not, can someone explain why this artifact isn't deployed to the maven repo. I makes building a customized axis2 war file a lot easier if you can just include the axis2 war as a dependency of your customized axis2 distribution. Otherwise, I have to download and save the axis2.war file and manage it locally (which I would prefer not to do). Thanks, jp4 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: access to hibernate mapping file inside an .aar?
Actualy, the error occurs when I start tomcat, when it try to deploy the aar. Here is the stack trace when my SpringInit class (with startUp and Shutdown method) try to make a refresh on my applicationContext: public void startUp(ConfigurationContext configurationContext, AxisService axisService) { try { ClassLoader classLoader = axisService.getClassLoader(); ClassPathXmlApplicationContext appCtx = new ClassPathXmlApplicationContext(new String[] {"/ WEB-INF/applicationContext.xml"}, false); appCtx.setClassLoader(classLoader); appCtx.refresh(); //error occurs here... System.out.println("spring loaded"); }catch (Exception ex) { ex.printStackTrace(); } } Here is the stack trace with the method: http://imacx.ath.cx/tmp/axis_error.txt Thx for your help Le 28-avr.-07 à 17:36, Davanum Srinivas a écrit : can u paste a stack trace? On 4/28/07, Martin Polet <[EMAIL PROTECTED]> wrote: Thx for your answer but i all ready done this. Here is my servide.xml: http://www.w3.org/2004/08/wsdl/in-out"; class="com.unisys.r4egov.eaw.axis.EawServiceAdbMessageReceiverInOut"/ > composite locked="false">org.apache.axis2.extensions.spring.receivers.SpringApp ContextAwareObjectSupplier eawServiceAxis http://www.w3.org/2004/08/wsdl/in-out";> http://com.unisys.r4egov.unisys.eaw.axis/xsd/ EawPortType/DeleteEawResponse http://www.w3.org/2004/08/wsdl/in-out";> http://com.unisys.r4egov.unisys.eaw.axis/xsd/ EawPortType/AddEawResponse http://www.w3.org/2004/08/wsdl/in-out";> http://com.unisys.r4egov.unisys.eaw.axis/xsd/ EawPortType/GetListEawResponse http://www.w3.org/2004/08/wsdl/in-out";> http://com.unisys.r4egov.unisys.eaw.axis/xsd/ EawPortType/EditEawResponse I don't understand why it doesn't find my hibernate file and my applicationContext yes... Le 28-avr.-07 à 15:14, Davanum Srinivas a écrit : Set ServiceTCCL parameter to composite as mentioned here: http://wso2.org/blog/dims/1131 On 4/28/07, Martin Polet <[EMAIL PROTECTED]> wrote: Hi, I will give a little bit more details about my problem: i follow this article: http://ws.apache.org/axis2/1_1_1/spring.html Everything is ok except that my applicationContext can't access my hibernate file. But, it can access my jdbc.properties which is also in /WEB-INF/jbbc.properties... And the point which is not very clear is the article, is the last point as follow: classpath*:**/MyEntity.hbm.xml ... how can i fix the "classpath" in the field value? Can someone help me, thank you ! Le 27-avr.-07 à 18:04, Martin Polet a écrit : Hi, I would like to know how to access my hibernate mapping file from the applicationContext.xml. I'm using Spring 3 with hibernate 3. Here is my bean from applicationcontext.xml which call my mapping file: /WEB-INF/AbsentiaD.hbm.xml Here is the error: [CODE] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mysessionFactory' defined in class path resource [WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [classpath*:**/AbsentiaD.hbm.xml] cannot be opened because it does not exist Caused by: java.io.FileNotFoundException: class path resource [classpath*:**/AbsentiaD.hbm.xml] cannot be opened because it does not exist [/CODE] Thx a lot Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51 Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51 -- Davanum Srinivas :: http://davanum.wordpress.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51 -- Davanum Srinivas :: http://davanum.wordpress.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51
Generate client using JiBX
Hi! I would like to create web service client using Axis2 and JiBX as described in http://ws.apache.org/axis2/1_2/userguide-creatingclients-jibx.html. Unfortunately all I have is the WSDL file, without the XML schema (XSD). Is there any way I can generate XSD from WSDL? Appreciate your advise, thank you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FW: Axis2: Problem invoking service within another service throughhandler--Please help
Hello Deepal Thanks for replying. I'll really appreciate any kind of help as I am stuck with this problem. Thanks Inder -Original Message- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: Saturday, April 28, 2007 12:59 PM To: axis-user@ws.apache.org Subject: Re: FW: Axis2: Problem invoking service within another service throughhandler--Please help Dear Inder , Thank you very much, I will let you know if I find any updates. Thanks Deepal >Hello > >Hello > >Someone please suggest me something for this. > >Thanks >Inder > >-Original Message- >From: Inder Dhillon [mailto:[EMAIL PROTECTED] >Sent: Friday, April 27, 2007 9:05 AM >To: 'axis-user@ws.apache.org' >Subject: RE: Axis2: Problem invoking service within another service >throughhandler--Please help > >Hello > >Thanks for reply. I am attaching the corresponding log files. >Thanks for all your time and help. > >Inder > >-Original Message- >From: Michele Mazzucco [mailto:[EMAIL PROTECTED] >Sent: Friday, April 27, 2007 5:01 AM >To: axis-user@ws.apache.org >Subject: Re: Axis2: Problem invoking service within another service >throughhandler--Please help > >Inder, > >instead of posting the snapshots why don't you post the logs (they are >in $CATALINA_HOME/logs)? >BTW, I see a StackOverflowError which, according to the APIs, is thrown >when a stack overflow occurs because an application recurses too >deeply. > > >Michele > >On Thu, 2007-04-26 at 22:35 -0300, Inder Dhillon wrote: > > >>Hello >> >> >> >>I have posted this question before also. I would really appreciate any >>kind of help. I am attaching all the source files along with this >>mail. >> >> >> >>I have written one handler (CallHandler) deployed in userphase in >>config file axis2.xml. I tried to invoke one service within this >>handler so that whenever I call any service, this service gets called >>automatically. >> >>But whenever I run any client it goes into infinite loop, >> >>I got following errors when I run any client. >> >> >> >> >> >> >> >> >> >> >> >> >> >>From the above errors I figured out that its not getting the response >>for the 2nd service which I want to call within the handler. As It >>looks for the response and as the following part of error is >>repeating >> >> >> >> >> >> >> >> >> >>I have tried to extract the corresponding soap messages also and from >>that also it seams that its sending the request message to the 2nd >>service which I want to call within the handler but it not getting the >>response message. Please see the attached file named extractmsg.txt >>which contains the extracted soap messages. >> >> >> >>I'll really appreciate if someone can help me with this and suggest me >>that what should I do to get the response message from the 2nd >>service. >> >> >> >>The corresponding files attached are >> >>CallHandler.java : This is the handler java file >> >>Client.java : This is the client file of the service which I want to >>invoke from within the handler >> >>NewService.rar : this is the zipped file containing the NewService >>folder ( This is the service which I want to invoke within the >>handler) >> >>NewServiceStub.java : This is the automatically generated file of >>client through wsdl2java command. >> >>Build.xml : This is to compile all the above files. >> >>CallHandler.jar : This is the jar file of handler which I placed in >>CATALINA_HOME%/webapps/axis2-/WEB-INF/lib folder >> >> >> >> >> >>Pleae help me with this problem >> >> >> >>Thanks >>Inder Dhillon >> >> >>- >>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] > -- 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN][Axis2]Axis2 1.2 Released
Hi, I would like to say thanks to all the developers for the great job they did with the new release, fixing the issues and for all the supporting work; but I'm not going to let you rest ;). Sorry for that: I've just installed the new release and some of the bugs were fixed and with these corrections I discover other. I reopened JIRA AXIS2-2325 with those now issues. Also I could see that the problem with hierarchy generation in the wsdl was almost fixed except in cases described in that JIRA. One problem I'm having now is that when I have a hierarchy, for the children, it generates them correctly but it doesn't generate the father. In my case I supose that this is because I haven't used them in the API from which I generate the WSDL. For example, I define the method: public boolean validateAdmin(Administrator admin); where Administrator class extends User. Java2WSDL would generate: .. but not: .. since I don't use User class in my API. (If I'm not wrong, wouldn't need to be generated) Regards, Jorge Fernández Davanum Srinivas <[EMAIL PROTECTED]> escribió: Till we fix the execute permission on the cgi :) please use http://www.apache.org/dyn/closer.cgi/ws/axis2/1_2/ (mirrors) http://www.apache.org/dist/ws/axis2/1_2/ (direct) thanks, dims On 4/27/07, Hickman, Craig wrote: > Seems to be a problem with the download.cgi ? > > -Original Message- > From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] > Sent: Friday, April 27, 2007 10:30 AM > To: axis-user@ws.apache.org > Subject: [ANN][Axis2]Axis2 1.2 Released > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Just over 4 months since the original 1.1.1 release, we are very proud to > announce the release of Apache Axis2 version 1.2 > > > Downloads are available at: > http://ws.apache.org/axis2/download.cgi > > Apache Axis2 is a complete re-design and re-write of the widely used Apache > Axis engine and is a more efficient, more scalable, more modular and more > XML-oriented Web services framework. It is carefully designed to support the > easy addition of plug-in "modules" that extend its functionality for > features such as security and reliability. > > Modules supporting WS-Security/Secure-Conversation (Apache Rampart), > WS-Trust (Apache Rahas), WS-Reliable Messaging (Apache Sandesha) and > WS-Eventing (Apache Savan) will be available after the Apache Axis2 > 1.2 release. Please see these projects' own sites for further information. > > Major Changes Since 1.1: > - - WSDL 2.0 fully support (reading, writing, and codegen) > - - POJO annotation (JSR 181) > - - JAX-WS integration > - - JAX-WS -annotation > - - Un-wrapping (Response) > - - ADB - support for union and list > - - Maven2 support > - - JSON support > - - Binary serialization (Fast infoste) > - - Codegen support for WSDL with Multiple services > - - HTTP code generation (both WSDL 1.1 and 2.0) > - - Custom deployer support > - - Message formatters > - - Message Builders > - - EJB Provider support > > > > Known Issues and Limitations in 1.2 Release: > > - - Xml-beans databinding does not support response uwwrapping > - - ADB databinding does not support minOccurs and maxOccures attributes in > sequence and choice elements > > > > Apache Axis2 1.2 is a major new release compared to Axis2 1.1. We are > striving for a simple and happy first time user experience as well as a > satisfying experienced user experience with this release. We welcome any and > all feedback at: > axis-user@ws.apache.org (please include "[axis2]" in the subject) > [EMAIL PROTECTED] (please include "[axis2]" in the subject) > http://issues.apache.org/jira/browse/AXIS2 > > Thank you for your interest in Apache Axis2! > > The Axis2 Development Team > http://ws.apache.org/axis2/ > > - > > > > Features of Apache Axis2: > > Programming Model >- Improved XML-centric client API with full WSDL and policy support >- Support for POJO and Spring services and clients >- Support for any message exchange pattern (MEP) >- Synchronous and asynchronous programming model >- Archived service deployment model supporting full service > encapsulation with versioning support >- Archived module deployment model supporting controlled > extensibility with versioning support >- Hot deployment >- WS-Policy driven code generation extensions >- Flexible service life cycle model >- Automatic support for POX (REST) style invocation of services >- Support for querying service's WSDL (with ?wsdl), schema (with > ?xsd) and policies (with ?policy) >- WSDL 2.0POJO annota
Re: Axis Unable to Deserialize Complex Type... sometimes
Got it working. If anyone is interested in the solution, it was replacing the arrayMapping with this typeMapping: http://schemas.xmlsoap.org/soap/encoding/"; /> -- View this message in context: http://www.nabble.com/Axis-Unable-to-Deserialize-Complex-Type...-sometimes-tf3660450.html#a10234275 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: FW: Axis2: Problem invoking service within another service throughhandler--Please help
Dear Inder , Thank you very much, I will let you know if I find any updates. Thanks Deepal >Hello > >Hello > >Someone please suggest me something for this. > >Thanks >Inder > >-Original Message- >From: Inder Dhillon [mailto:[EMAIL PROTECTED] >Sent: Friday, April 27, 2007 9:05 AM >To: 'axis-user@ws.apache.org' >Subject: RE: Axis2: Problem invoking service within another service >throughhandler--Please help > >Hello > >Thanks for reply. I am attaching the corresponding log files. >Thanks for all your time and help. > >Inder > >-Original Message- >From: Michele Mazzucco [mailto:[EMAIL PROTECTED] >Sent: Friday, April 27, 2007 5:01 AM >To: axis-user@ws.apache.org >Subject: Re: Axis2: Problem invoking service within another service >throughhandler--Please help > >Inder, > >instead of posting the snapshots why don't you post the logs (they are >in $CATALINA_HOME/logs)? >BTW, I see a StackOverflowError which, according to the APIs, is thrown >when a stack overflow occurs because an application recurses too >deeply. > > >Michele > >On Thu, 2007-04-26 at 22:35 -0300, Inder Dhillon wrote: > > >>Hello >> >> >> >>I have posted this question before also. I would really appreciate any >>kind of help. I am attaching all the source files along with this >>mail. >> >> >> >>I have written one handler (CallHandler) deployed in userphase in >>config file axis2.xml. I tried to invoke one service within this >>handler so that whenever I call any service, this service gets called >>automatically. >> >>But whenever I run any client it goes into infinite loop, >> >>I got following errors when I run any client. >> >> >> >> >> >> >> >> >> >> >> >> >> >>From the above errors I figured out that its not getting the response >>for the 2nd service which I want to call within the handler. As It >>looks for the response and as the following part of error is >>repeating >> >> >> >> >> >> >> >> >> >>I have tried to extract the corresponding soap messages also and from >>that also it seams that its sending the request message to the 2nd >>service which I want to call within the handler but it not getting the >>response message. Please see the attached file named extractmsg.txt >>which contains the extracted soap messages. >> >> >> >>I'll really appreciate if someone can help me with this and suggest me >>that what should I do to get the response message from the 2nd >>service. >> >> >> >>The corresponding files attached are >> >>CallHandler.java : This is the handler java file >> >>Client.java : This is the client file of the service which I want to >>invoke from within the handler >> >>NewService.rar : this is the zipped file containing the NewService >>folder ( This is the service which I want to invoke within the >>handler) >> >>NewServiceStub.java : This is the automatically generated file of >>client through wsdl2java command. >> >>Build.xml : This is to compile all the above files. >> >>CallHandler.jar : This is the jar file of handler which I placed in >>CATALINA_HOME%/webapps/axis2-/WEB-INF/lib folder >> >> >> >> >> >>Pleae help me with this problem >> >> >> >>Thanks >>Inder Dhillon >> >> >>- >>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] > -- 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: access to hibernate mapping file inside an .aar?
can u paste a stack trace? On 4/28/07, Martin Polet <[EMAIL PROTECTED]> wrote: Thx for your answer but i all ready done this. Here is my servide.xml: http://www.w3.org/2004/08/wsdl/in-out"; class="com.unisys.r4egov.eaw.axis.EawServiceAdbMessageReceiverInOut"/> composite org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier eawServiceAxis http://www.w3.org/2004/08/wsdl/in-out";> http://com.unisys.r4egov.unisys.eaw.axis/xsd/EawPortType/DeleteEawResponse http://www.w3.org/2004/08/wsdl/in-out";> http://com.unisys.r4egov.unisys.eaw.axis/xsd/EawPortType/AddEawResponse http://www.w3.org/2004/08/wsdl/in-out";> http://com.unisys.r4egov.unisys.eaw.axis/xsd/EawPortType/GetListEawResponse http://www.w3.org/2004/08/wsdl/in-out";> http://com.unisys.r4egov.unisys.eaw.axis/xsd/EawPortType/EditEawResponse I don't understand why it doesn't find my hibernate file and my applicationContext yes... Le 28-avr.-07 à 15:14, Davanum Srinivas a écrit : Set ServiceTCCL parameter to composite as mentioned here: http://wso2.org/blog/dims/1131 On 4/28/07, Martin Polet <[EMAIL PROTECTED]> wrote: Hi, I will give a little bit more details about my problem: i follow this article: http://ws.apache.org/axis2/1_1_1/spring.html Everything is ok except that my applicationContext can't access my hibernate file. But, it can access my jdbc.properties which is also in /WEB-INF/jbbc.properties... And the point which is not very clear is the article, is the last point as follow: classpath*:**/MyEntity.hbm.xml ... how can i fix the "classpath" in the field value? Can someone help me, thank you ! Le 27-avr.-07 à 18:04, Martin Polet a écrit : Hi, I would like to know how to access my hibernate mapping file from the applicationContext.xml. I'm using Spring 3 with hibernate 3. Here is my bean from applicationcontext.xml which call my mapping file: /WEB-INF/AbsentiaD.hbm.xml Here is the error: [CODE] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mysessionFactory' defined in class path resource [WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [classpath*:**/AbsentiaD.hbm.xml] cannot be opened because it does not exist Caused by: java.io.FileNotFoundException: class path resource [classpath*:**/AbsentiaD.hbm.xml] cannot be opened because it does not exist [/CODE] Thx a lot Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51 Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51 -- Davanum Srinivas :: http://davanum.wordpress.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51 -- Davanum Srinivas :: http://davanum.wordpress.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: access to hibernate mapping file inside an .aar?
Thx for your answer but i all ready done this. Here is my servide.xml: class="com.unisys.r4egov.eaw.spring.service.SpringInit"> http://www.w3.org/2004/08/wsdl/in-out"; class="com.unisys.r4egov.eaw.axis.EawServiceAdbMessageReceiverInOut"/> composite locked="false">org.apache.axis2.extensions.spring.receivers.SpringAppCon textAwareObjectSupplier eawServiceAxisparameter> http://www.w3.org/2004/08/wsdl/in- out"> http://com.unisys.r4egov.unisys.eaw.axis/xsd/ EawPortType/DeleteEawResponse http://www.w3.org/2004/08/wsdl/in-out";> http://com.unisys.r4egov.unisys.eaw.axis/xsd/ EawPortType/AddEawResponse http://www.w3.org/2004/08/wsdl/in- out"> http://com.unisys.r4egov.unisys.eaw.axis/xsd/ EawPortType/GetListEawResponse http://www.w3.org/2004/08/wsdl/in-out";> http://com.unisys.r4egov.unisys.eaw.axis/xsd/ EawPortType/EditEawResponse I don't understand why it doesn't find my hibernate file and my applicationContext yes... Le 28-avr.-07 à 15:14, Davanum Srinivas a écrit : Set ServiceTCCL parameter to composite as mentioned here: http://wso2.org/blog/dims/1131 On 4/28/07, Martin Polet <[EMAIL PROTECTED]> wrote: Hi, I will give a little bit more details about my problem: i follow this article: http://ws.apache.org/axis2/1_1_1/spring.html Everything is ok except that my applicationContext can't access my hibernate file. But, it can access my jdbc.properties which is also in /WEB-INF/jbbc.properties... And the point which is not very clear is the article, is the last point as follow: classpath*:**/MyEntity.hbm.xml ... how can i fix the "classpath" in the field value? Can someone help me, thank you ! Le 27-avr.-07 à 18:04, Martin Polet a écrit : Hi, I would like to know how to access my hibernate mapping file from the applicationContext.xml. I'm using Spring 3 with hibernate 3. Here is my bean from applicationcontext.xml which call my mapping file: /WEB-INF/AbsentiaD.hbm.xml Here is the error: [CODE] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mysessionFactory' defined in class path resource [WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [classpath*:**/AbsentiaD.hbm.xml] cannot be opened because it does not exist Caused by: java.io.FileNotFoundException: class path resource [classpath*:**/AbsentiaD.hbm.xml] cannot be opened because it does not exist [/CODE] Thx a lot Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51 Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51 -- Davanum Srinivas :: http://davanum.wordpress.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51
Re: Issue with ADB and parsing a response message (namespaces)
Hi again Amila, I've just downloaded and installed axis2 1.2. I built again the project from my wsdl and still get the same problem. Thanks and Regards, Jorge Fernández Jorge Fernandez <[EMAIL PROTECTED]> escribió: In my test I was using axiom 1.2.4 and I had the same problem as with 1.2.2 Amila Suriarachchi <[EMAIL PROTECTED]> escribió: I ran your code with the branch code and the axiom-SNAPSHOT and it works fine. So the problem is with the axiom 1.2.2 you have to use the 1.2.4 Please try with the next RC. On 4/24/07, Jorge Fernandez <[EMAIL PROTECTED]> wrote: Hi Amila, I tried again without the addressing module and I had the same exception I was having with axiom 1.2.2. Regards, Jorge Fernández Rodríguez Amila Suriarachchi < [EMAIL PROTECTED]> escribió: On 4/23/07, Jorge Fernandez < [EMAIL PROTECTED]> wrote: Sorry, I don't know what you mean. I think you use the Axis2-1.2-RC2 release. In that release you have a lib directory which contain axiom 1.2.3 jars. (i.e. axiom-api-1.2.3.jar, axiom-impl-1.2.3.jar ,axiom-dom-1.2.3.jar). Get the Axiom 1.2.4 release from here http://ws.apache.org/commons/axiom/download.cgi and replace the 1.2.3 jars with the 1.2.4 jars. It seems that now you are getting some addressing problem. So please check it without addressing. Regards, Jorge Fernández Martin Gainty <[EMAIL PROTECTED]> escribió: Jorge I cannot display the url for your first namespace http://external.communication_data_model.medici_link/xsd 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:Jorge Fernandez To: axis-user@ws.apache.org ; [EMAIL PROTECTED] Sent: Sunday, April 22, 2007 8:40 PM Subject: Re: Issue with ADB and parsing aresponse message (namespaces) Hi, I couldn't reproduce the error again. If you want Ican open a JIRA but I can't attach any code. I had found anotherproblem related with ADB parsing when there is some hierarchy and I raisedJIRA 2578. Regards, Jorge Fernández Anne ThomasManes < [EMAIL PROTECTED]>escribió:Please file a JIRA. On 4/20/07, Jorge Fernandez wrote: > Hi all, > > > I'm having problems with the namespaces of a response message like > this: > > > xmlns:ns3=" http://op_messages.medici_link/xsd";> > > xmlns:ns0=" http://external.communication_data_model.medici_link/xsd"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance " > xsi:type="ns0:extConfiguration"> > .. > > xsi:type="ns0:extAbstractParameterDesc"> > .. > > .. > > xsi:type="ns0:extPrimitiveParameterDesc"> > . > > .. > > > > > > > I have this exception when parsing the first element > (ns0:abstractParameters): > > java.lang.RuntimeException: java.lang.RuntimeException : Unsupported > type > null extPrimitiveParameterDesc > atclient.Medici_LinkStub.fromOM(Medici_LinkStub.java:5210) > at > > client.Medici_LinkStub.getDetailedMonitoringStages(Medici_LinkStub.java:1945) > at > client.ClientUtilities.getDetailedMonitoringStagesTest > (ClientUtilities.java:244) > at client.Client.main (Client.java:53) > Caused by: java.lang.RuntimeException: Unsupported type null > extPrimitiveParameterDesc > at > > medici_link.op_messages.xsd.ExtensionMapper.getTypeObject(ExtensionMapperjava:181) > > at > > medici_link.communication_data_model.external.xsd.ExtParameterDesc$Factory.parse(ExtParameterDesc.java:1171) > at > > medici_link.communication_data_model.external.xsd.ExtAbstractParameterDesc$Factory.parse( > ExtAbstractParameterDesc.java:1311) > at > > medici_link.communication_data_model.external.xsd.ExtConfiguration$Factory.parse(ExtConfiguration.java:923) >at > > medici_link.communication_data_model.external.xsd.ExtStage$Factory.parse(ExtStage.java:650) > at > > medici_link.op_messages.xsd.GetDetailedMonitoringStagesResponse$Factory.parse(GetDetailedMonitoringStagesResponse.java > :424) > at client.Medici_LinkStub.fromOM(Medici_LinkStub.java:4833) > .. 3 more > > I have a hierachy of classes: > > ExtAbstractParameterDesc and ExtPrimitiveParameterDesc that extend > ExtParameterDesc. > > I've been diving in my code that was created with WSDL2Java and ADB (Axis > 1.1.1) and I could see that for that element, it enters > the parse Metho
Re: access to hibernate mapping file inside an .aar?
Set ServiceTCCL parameter to composite as mentioned here: http://wso2.org/blog/dims/1131 On 4/28/07, Martin Polet <[EMAIL PROTECTED]> wrote: Hi, I will give a little bit more details about my problem: i follow this article: http://ws.apache.org/axis2/1_1_1/spring.html Everything is ok except that my applicationContext can't access my hibernate file. But, it can access my jdbc.properties which is also in /WEB-INF/jbbc.properties... And the point which is not very clear is the article, is the last point as follow: classpath*:**/MyEntity.hbm.xml ... how can i fix the "classpath" in the field value? Can someone help me, thank you ! Le 27-avr.-07 à 18:04, Martin Polet a écrit : Hi, I would like to know how to access my hibernate mapping file from the applicationContext.xml. I'm using Spring 3 with hibernate 3. Here is my bean from applicationcontext.xml which call my mapping file: /WEB-INF/AbsentiaD.hbm.xml Here is the error: [CODE] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mysessionFactory' defined in class path resource [WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [classpath*:**/AbsentiaD.hbm.xml] cannot be opened because it does not exist Caused by: java.io.FileNotFoundException: class path resource [classpath*:**/AbsentiaD.hbm.xml] cannot be opened because it does not exist [/CODE] Thx a lot Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51 Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51 -- Davanum Srinivas :: http://davanum.wordpress.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: access to hibernate mapping file inside an .aar?
Hi, I will give a little bit more details about my problem: i follow this article: http://ws.apache.org/axis2/1_1_1/spring.html Everything is ok except that my applicationContext can't access my hibernate file. But, it can access my jdbc.properties which is also in /WEB-INF/ jbbc.properties... And the point which is not very clear is the article, is the last point as follow: class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"> classpath*:**/MyEntity.hbm.xml ... how can i fix the "classpath" in the field value? Can someone help me, thank you ! Le 27-avr.-07 à 18:04, Martin Polet a écrit : Hi, I would like to know how to access my hibernate mapping file from the applicationContext.xml. I'm using Spring 3 with hibernate 3. Here is my bean from applicationcontext.xml which call my mapping file: class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"> /WEB-INF/AbsentiaD.hbm.xml Here is the error: [CODE] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mysessionFactory' defined in class path resource [WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [classpath*:**/AbsentiaD.hbm.xml] cannot be opened because it does not exist Caused by: java.io.FileNotFoundException: class path resource [classpath*:**/AbsentiaD.hbm.xml] cannot be opened because it does not exist [/CODE] Thx a lot Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51 Martin Polet 15 chemin des hayes 1380 Lasne E-mail: [EMAIL PROTECTED] GSM: 0477/ 90 48 51
[SOLVED]Re: java.rmi.MarshalException: (1)Missing end tag for Body or Envelope
The last version 2.5.1 of the Wireless Toolkit fixed that bug so now it works... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: create Java base Web service client
Hello Ashish, I am myself using axis 1.x. and there is a folder with examples on the binary distribution. And it is the same for Axis2. You may start downloading the binary distribution here ( http://ws.apache.org/axis2/download/1_2/download.html#std-bin): http://ws.apache.org/axis2/ http://ws.apache.org/axis2/1_2/quickstartguide.html This web side wwill be also useful for you: http://wso2.org/projects/axis2/java Have a nice day. José On 4/28/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: Hi Thanks for your email, i will be using axis 2 as the webservice is written in java, and is writting using egate interface, Now with axis 2, do i run wsdl2java to create java classes and then call some methods? do you have any example of doing so using axis 2 Ashish On 4/27/07, José Ferreiro <[EMAIL PROTECTED] > wrote: > > Dear Ashish, > > I will say that you have two technologies to do that (among many > others). > > You may choose Microsoft or Open source libraries. > > In this mailing list you have people working with Axis 1.x and Axis2. > Axis 1.4 doesn't has any further development. > Axis2 is evolving and supports different types of WS-standarts (which is > not the case for Axis 1.x). > > Well, in my opinion you should ask the people who gave you the wsdl what > kind of web service server do they have. > If they are working with open source I will suggest your client should > be open source. > On the other hand if they are using microsoft, then I will suggest you > to use Microsoft. > > Basically, using the same technology as they use will simplify your > development life of your client. > > After you choose that you should then understand how to build the client > with the desired technology. > > For Axis 1.4 or Axis2 you will use wsdl2java. This utility will generate > automatically the "stubs". > Then, you need to complete the code with your logic. > You may also write your own client using the a DYNAMIC INVOCATION > INTERFACE method. > However the source code for a DII client is more complicated than the > code for the other two types of clients. > I will suggest you to use the wsdl2java (at least for starting). > > If you will use Microsoft, then you have to learn about .NET frametwork > and choose C# for example as programming language. You probably will need MS > visual studio as IDE > There you will use the command wsdl.exe (for java wsdl2java, use eclipse > with ant). > > Hope this little introduction was helpfull. > > José Ferreiro > > > > > On 4/27/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > > > > Hi > > I recently got a WSDL file, and i am expected to write a web service > > client to access this web service, > > Can some one give some pointers, and code or example or tutorial to do > > so. > > What are the steps, do i have to used WSDL2JAVA to create some thing. > > > > > > Ashish > > > > > > -- > José Ferreiro > EPFL Communication Systems engineer > ing.sys.com.dipl.EPFL -- José Ferreiro EPFL Communication Systems engineer ing.sys.com.dipl.EPFL
Re: Axis2: Problem invoking service within another service through handler--Please help
Hi Inder, Not sure about that (I haven't tried to run the code), but I suspect the invinite loop thrown because service called by call handler is in one axis instance&config which will call it self when its invoked and never response. You should ignore/disable the phase for called service, maybe from the code. Regards, Sukma On 4/27/07, Inder Dhillon <[EMAIL PROTECTED]> wrote: Hello I have posted this question before also. I would really appreciate any kind of help. I am attaching all the source files along with this mail. I have written one handler (CallHandler) deployed in userphase in config file axis2.xml. I tried to invoke one service within this handler so that whenever I call any service, this service gets called automatically. But whenever I run any client it goes into infinite loop, I got following errors when I run any client. From the above errors I figured out that its not getting the response for the 2nd service which I want to call within the handler. As It looks for the response and as the following part of error is repeating I have tried to extract the corresponding soap messages also and from that also it seams that its sending the request message to the 2nd service which I want to call within the handler but it not getting the response message. Please see the attached file named extractmsg.txt which contains the extracted soap messages. I'll really appreciate if someone can help me with this and suggest me that what should I do to get the response message from the 2nd service. The corresponding files attached are CallHandler.java : This is the handler java file Client.java : This is the client file of the service which I want to invoke from within the handler NewService.rar : this is the zipped file containing the NewService folder ( This is the service which I want to invoke within the handler) NewServiceStub.java : This is the automatically generated file of client through wsdl2java command. Build.xml : This is to compile all the above files. CallHandler.jar : This is the jar file of handler which I placed in CATALINA_HOME%/webapps/axis2-/WEB-INF/lib folder Pleae help me with this problem Thanks Inder Dhillon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]