transport support
Hi all, I am new to AXIS and web service in general. I have a few basic questions: Does AXIS support protocls other than SOAP? For example,raw XML and MIME. Does AXIS support transport other than HTTP? For example, SMTP, TCP and JMS. We have built a web service based on SOAP/HTTP, but looking to support other protocols/Transports. If there are some examples or documents/apis, that would be great! Thanks much. Frank __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multiple MTOM Attachments
I found there is a fix for multiple mtom attachments problem, the fix number is AXIS2-752. Can any one tell me how to get the fix? Thanks. Yewen __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2] Question about Behaviour of DeploymentEngine
Hi Falk; Is there any possibility of creating one service client and use that for all the service invocations. Thanks Deepal Falk Bauer wrote: Well you can have this behavior in the client side , ... > > >That was it. My code produces new ServiceClients at server-side and so the >deployment happens in every new call of the client. > >Some more explanations: > >The Round-Trip-Time Tests send a message the following way: >Client->ServiceManager->LocalMonitor->ServiceManager->Client > >So in the ServiceManagerSkeleton-class there is an instantiation of a stub for >the LocalMonitor. Here were two issues responsible for the repeated deployment: > >1. The stub was instantiated in a method-local object. So the deployment >happens each time of the instantiation of the stub. >Refactoring this method-local object to a class-field corrects this point. > >2. I have forgotten the attribute scope="application" for some services.xml. > > >So the SimpleHTTPServer works absolutely right. It was solely my fault. > >Many many thanks to both of you. Your mails were greatly helpfull! >By the way, the round-trip-times alleviates from 700ms to 20ms ;-) > > > >Deepal Jayasinghe wrote: > > >>Hi Fal; >> >>I tested this with both SimpleHTTPServer and Axis2 war distribution and >>I was unable to find such a behavior. Well you can have this behavior in >>the client side , if you are trying to create new service client for >>each request. >>Any way please create JIRA attaching both client and server side code. >> >> >> >> > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > -- Thanks, Deepal ~Future is Open~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2] Integrating iBatis DAO with Axis2
Hi Doug, Thank you for your answer! It's sounds good! But I can't find any information about "life circule" of Skeleton. The main problem of Axis2 is poor documentation. Thanks again, Vaclav On 9/11/06, Bell, Douglas <[EMAIL PROTECTED]> wrote: Try using the UserDao Interface in a static context within the LoginService by using a DAOManager to initialize the service. This is cleaner (in my opinion) then using a web container. e.g. public class LoginServiceSkeleton { private static IUserDAO userDao; static { Reader in = com.ibatis.common.util.Resources.getResourceAsReader("/path/to/ibatis/da o-config.xml); com.ibatis.dao.client.DaoManager manager = com.ibatis.dao.client.DaoManagerBuilder.buildDaoManager(in); userDao = (IUserDAO )manager.getDao(IUserDAO .class); } ... } - Doug -Original Message- From: Vyacheslav Yakovenko [mailto:[EMAIL PROTECTED] Sent: Monday, September 11, 2006 1:06 PM To: axis-user@ws.apache.org Subject: [Axis2] Integrating iBatis DAO with Axis2 I'm trying to integrate iBatis DAO with Axis2 and have some problem. I'll try to explain it on the sample that I found at the axis2-1.0-docs.zip/xdocs/tools/1_0 //iBatis DAO invocation/CodegenToolReference.html: /** * LoginServiceSkeleton java skeleton for the axisService */ public class LoginServiceSkeleton { public login.types.ReturnWebLoginElementDocument webLogin (login.types.WebLoginElementDocument param0 ){ //iBatis DAO invocation UserDAOImpl usrDao = new UserDAOImpl(); UserKey key = new UserKey(); key.setId(new Integer(1)); User user = userDao.selectUser(key); } } As you see at this example I'm creating DAO object implisetly at the ws-method - it's not a good approach because it is very expensive operation. I want to create a UserDAOImpl instance only once and store it under the "application" context. It'll solve some problems, because UserDAOImpl is responsible for DB connection pool also. So, I want something like this (scratch only): public login.types.ReturnWebLoginElementDocument webLogin (login.types.WebLoginElementDocument param0 ){ //iBatis DAO invocation UserDAOImpl usrDao = cntxt.getUserDaoInstance(); ... } The main question is: how i can receive access to TomCat's application context inside a ws-methods? I tried to search the Axis 1.4 and Axis 2 documentation but didn't find any information that can help me. So, your comments will be very helpful. -- Thanks, Vaclav - 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] -- Vaclav _ Sun Certified Programmer for Java 2 Platform gTalk: [EMAIL PROTECTED] cv: http://www.vaclav.kiev.ua/cv http://www.vaclav.kiev.ua http://www.wtg.kiev.ua icq: 196335325 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [AXIS2] Issue with WSDL generated by AXIS2
Hi Charak; >Hi , >Please look the following WSDL bindings. >Why does AXIS places axis2.war in SOAP end points, where as "rest" binding is >fine. This is happening if you deploy aar files on WebSphere. > >Can I enforce AXIS2 to not generate WSDL's and read only the WSDL which I >supply. > > > Yes , you can do that ; - First put your wsdl into meta-inf directory - Then add the following attribute into services.xml true >binding="ns:TestServiceSOAP11Binding"> >location="http://208.49.76.165:9080/axis2.war/services/TestService"/> > >− >binding="ns:TestServiceSOAP12Binding"> >location="http://208.49.76.165:9080/axis2.war/services/TestService"/> > >− >binding="ns:TestServiceHttpBinding"> >http://208.49.76.165:9080/rest/TestService"/> > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
WSDL generation
Hello list. I'm new to this list and axis2 and in fact im new to webservices, soap tomcat and all java-server stuff. But I'm pretty familiar with web programing, Java and XML. Until now I avoided java server programming due to the tomcat configuration nightmare. And in fact after dealing with it (j2ee)for a few weeks now I can say that the learning curve is as steep as the mount everest. The reason why I'm posting here is that I've searched the web for quiet a long time and read much but didn't find an answer to following (simple?) question: Axis2 has this very nice 'Generate a WSDL automatically' feature wich I'd like to use in my application a lot. It would met my coding style (which was called code-first paradigm in some articles if I recall right) pretty well. It works great for simple examples (echo or that alike) but I can't find a way to make it work with my complex datastructures. By now I'm using the OMElement-style approch which means that I take some skeleton-classes which I got I don't know where and passing the whole xml-thing through to my method and generate the result the hard way beginning with the body-node. My one-method-service has a result very similar to google 'doGoogleSearch's result and in fact my first approach was to build my result like theirs, use their wsdl and then change here a little and there a litte. But now I'd like a quicker way because my one-method-service will become a much-more-method service quickly. The way I'd like to do it (and the documentation suggest it should be possible -- but without telling me how) is: Define some classes for the result, write a service class which only needs to implement the service-methods, return the custom classes as result, deploy it and you have your new webservice. Trivial? So, my only problem is: Every atempt to do so failed as early as at the ?wsld generation. And my question: What requirements are there for a result that the wsdl-generation will work? Best regards and my appologies if this question is explaind everywhere and I was just to stupid to see the answer. Florian -- Florian Bantner fon +49 (0)941 599 854 4 AXON-E interaktive medien fax +49 (0)941 599 854 1 technische Leitung mail [EMAIL PROTECTED] web http://www.axon-e.de gpg public key https://www.axon-e.de/gpg/f.bantner.gpg hash 1191 0C87 D9DB 3217 ABBA 5223 6D74 AB19 5C9D FC49 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis 1.x] Determining Service Configuration Parameters
Hello, I am trying to load several configuration parameters (e.g. directory locations and log filename/location) that are needed by my service. If I hard-code the values in my service implementation (EfileServiceImpl.java) my function behaves as I would expect. All other attempts to move configuration parameters to a file have failed with varying results (class not found, null pointer exception, etc.). Here is an abbreviated version of my current implementation: package gov.ok.tax.efile; // import statements removed public class EFileServiceImpl implements EFileService { // TODO These variables need to be dynamically loaded from a // configuration/properties file instead of hard-coded. private static File baseDirectory = new File("c:/dev/EfileService"); private static File logConfigurationFilename = new File(baseDirectory, "config/efile_service_log4j.xml"); // Additional initialization removed public SendResponseReceipt send(SendTransmission transmission) throws java.rmi.RemoteException { authenticate(); // SendUtils class not supplied return SendUtils.send(transmission, xmlSendDirectory); } // Other WSDL functions/operations removed // authenticate function removed } I need to be able to load these configuration parameters either when Tomcat/Axis is started or when the service is called by the client. I am not particularly biased towards either method. The parameters need to be configurable on a service level as opposed to a global Axis level. On the other hand, if a global level is required to make my service work, I'll use it. What is the recommended way to dynamically load configuration information for a service? adTHANKSvance, Kenneth Love -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Kenneth Love | Oklahoma Tax Commission DP Programmer/Analyst | Information Technology (405) 522 - 5864 | http://www.tax.ok.gov/ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[AXIS2] Issue with WSDL generated by AXIS2
Hi , Please look the following WSDL bindings. Why does AXIS places axis2.war in SOAP end points, where as "rest" binding is fine. This is happening if you deploy aar files on WebSphere. Can I enforce AXIS2 to not generate WSDL's and read only the WSDL which I supply. http://208.49.76.165:9080/axis2.war/services/TestService"/> − http://208.49.76.165:9080/axis2.war/services/TestService"/> − http://208.49.76.165:9080/rest/TestService"/>
RE: Access Addressing information
messageContext.getEnvelope().getHeader(); -Original Message- From: Punnoose, Roshan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 7:01 AM To: axis-user@ws.apache.org Subject: Access Addressing information When I create a web service with WS-Addressing handlers, how do I have access to the addressing information located in the soap header, in my web service? I want to be able to manipulate and use the wsa:messageId tag. Roshan Punnoose Phone: 301-497-6039 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: NoSuchMethodError while deploying aar file on WebSphere
Hi Dave, Although the services are getting deployed now but when I invoke the service I still get "Service not found operation terminated !!" error on websphere . Any Idea? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 1:26 PM To: axis-user@ws.apache.org Subject: RE: NoSuchMethodError while deploying aar file on WebSphere You are using the websphere version of wsdl4j.jar rather then one of the newer versions that are required by Axis2. Just been down that path with nightly builds, to circumvent the websphere issue with not really unpacking aar files. Good luck! Dave Ziebol -Original Message- From: Charak, Vikas [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 11:19 AM To: axis-user@ws.apache.org Subject: NoSuchMethodError while deploying aar file on WebSphere Hi , I have created a SimpleService with one method which takes in a string and sends out a string. The SimpleService.aar deployment works fine on Jboss But I get the following error on WebSphere. Any idea? [9/12/06 11:49:54:478 EDT] 0028 DeploymentEng I Invalid service SimpleService.aar due to java.lang.NoSuchMethodError: javax.wsdl.PortType: method getExtensionAttributes()Ljava/util/Map; not found at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processPortType( WSDL11ToAxisServiceBuilder.java:738) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processBinding(W SDL11ToAxisServiceBuilder.java:412) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService( WSDL11ToAxisServiceBuilder.java:230) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFil e(ArchiveReader.java:191) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(A rchiveReader.java:304) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j ava:513) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList .java:200) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener .java:208) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryL istener.java:155) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryL istener.java:200) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Sche dulerTask.java:61) at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.ja va:68) at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(S cheduler.java:76) at java.util.TimerThread.mainLoop(Timer.java:447) at java.util.TimerThread.run(Timer.java:397) - 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: errors in the Packaging step
Since I wrote that part I'll try to help ;-) . These xsb files are needed for the XMLBeans runtime and should be included in the classpath for the XMLBeans classes to work There is one class generated also when running WSDL2Java - TypeSystemHolder.class . That is a bit strange , creating a class when generating java files ... but it is a feature of xmlbeans. Anyways, you'll get errors if its not done this way. HTH, Robert On 9/12/06, SEOGCHAN OH <[EMAIL PROTECTED]> wrote: Dear: I am looking at the Packaging step in "Writing Web Services by Code Generating Skeleton" of Axis 2 user guide. I generated java codes using WSDL2Java, but I run into a trouble when I need to ompile them. According to the guide, I am supposed to copy schemas in the schemaorg_apache_xmlbeans into my class path. However, it is wierd and not clear for me. What I found below schemaorg_apache_xmlbeans is xsb files. Aren't they java classes? Is anyone who tested this step, and able to tell me exactly what I should do? Thank you in advance. Seog-Chan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
errors in the Packaging step
Dear:I am looking at the Packaging step in "Writing Web Services by Code Generating Skeleton" of Axis 2 user guide.I generated java codes using WSDL2Java, but I run into a trouble when I need to ompile them.According to the guide, I am supposed to copy schemas in the schemaorg_apache_xmlbeans into my class path. However, it is wierd and not clear for me. What I found below schemaorg_apache_xmlbeans is xsb files. Aren't they java classes? Is anyone who tested this step, and able to tell me exactly what I should do?Thank you in advance.Seog-Chan
Re: WSS4J in the real word for more than 1 client
CIARO LUCA,Following this links you will find the anwers to your question. [1] http://wiki.apache.org/ws/FrontPage/WsFx/wss4jParameters [2]http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#USE_REQ_SIG_CERT [3] http://wiki.apache.org/ws/FrontPage/WsFx/wss4jFAQ#many [4] http://archives.devshed.com/forums/apache-92/aw-aw-encryption-not-asking-for-the-right-private-key-815343.html Answer is :add this line in the Server part, response Hope this helpsHappy AXIS :-) CIAOJosé FerreiroOn 9/12/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote: http://www.wso2.net/tutorials/rampart/java/2006/09/06/sec-msg-exchg On 9/12/06, Luca Risello <[EMAIL PROTECTED]> wrote:>> Hi everybody, I've a question. In the real word server has to trust more> than one client. For example If Have I to trust 20 client how can i > configure my scenario for WSS to provide a two way security transmission?> For the certificate trusting there isn't problem>> Client i Keystore> Own keys> Server public key> >> Server Keystore> Own Keys> Client 1 public key> Client 2 public key> [...]> Client 20 public key>>> For the PWCallback class I can use a Db to manage all the clients... >> The problem is the server side wsdd configuration file In fact in my example> I specified the user for the encryption and the digital signature (both in> requestFlow and in the responseFlow) but if I have one more than client? How > Can I Do!!!>> Thanks For Your Attention! Hope in your help! Bye. Luca>>> __> Do You Yahoo!? > Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto> spazio gratuito per i tuoi file e i messaggi> http://mail.yahoo.it--Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
RE: Axis2 OMText to File
Ok, maybe I'm not looking at this right, but I think I see a bug in TransportUtils.selectBuilderForMIME(...): Object cacheAttachmentProperty = msgContext .getProperty(Constants.Configuration.CACHE_ATTACHMENTS); String cacheAttachmentString = null; boolean fileCacheForAttachments; if (cacheAttachmentProperty != null) { cacheAttachmentProperty = cacheAttachmentProperty; fileCacheForAttachments = (Constants.VALUE_TRUE .equals(cacheAttachmentString)); The cacheAttachmentString is always going to be null right? Then, the client will never actually cache the attachment in the temp directory if the properties have been set. Right? Am I going crazy? Roshan Punnoose Phone: 301-497-6039 -Original Message- From: Punnoose, Roshan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 12:17 PM To: axis-user@ws.apache.org Subject: Axis2 OMText to File Hi, I am trying to take my OMText element and put the contents in a file, but I keep going OutOfMemory. Here is the server code: OMElement data = fac.createOMElement("mtomSample", omNs); OMElement file = fac.createOMElement("file", omNs); FileDataSource fileDataSource = new FileDataSource( "C:/temp/local_cert.txt"); DataHandler dataHandler = new DataHandler(fileDataSource); OMText textData = fac.createOMText(dataHandler, true); file.addChild(textData); data.addChild(file); Client code (this goes out of memory): OMText binaryNode = (OMText) _imageElement.getFirstOMChild(); FileOutputStream fileOutputStream = new FileOutputStream("C:/temp/returnFile.txt"); binaryNode.serialize(fileOutputStream); Any ideas? Roshan Punnoose Phone: 301-497-6039 -Original Message- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 10:47 AM To: axis-user@ws.apache.org Subject: Re: [Axis2] eager service initialization Its part of the nightlies under the Service.startUp() interface ... just have your service implement it . Robert On 9/12/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: > Hi all, > > some time ago somebody raised an issue about eager service > initialization (i.e. at system startup). Is there any news about it? > > Thanks, > Michele > > - > 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] BEGIN:VCARD VERSION:2.1 N:Punnoose;Roshan FN:Punnoose, Roshan ADR;WORK:;2115 LABEL;WORK:2115 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20050413T183207Z END:VCARD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
help webservice send file
Hi. can anyone help me? i need to do one ws that receive any xml or pdf files, but the client can be in anyone language(delphi, php, asp, vb) sorry my english.. tks fabio ebner
RE: NoSuchMethodError while deploying aar file on WebSphere
Let me try. Thanks a lot. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 1:26 PM To: axis-user@ws.apache.org Subject: RE: NoSuchMethodError while deploying aar file on WebSphere You are using the websphere version of wsdl4j.jar rather then one of the newer versions that are required by Axis2. Just been down that path with nightly builds, to circumvent the websphere issue with not really unpacking aar files. Good luck! Dave Ziebol -Original Message- From: Charak, Vikas [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 11:19 AM To: axis-user@ws.apache.org Subject: NoSuchMethodError while deploying aar file on WebSphere Hi , I have created a SimpleService with one method which takes in a string and sends out a string. The SimpleService.aar deployment works fine on Jboss But I get the following error on WebSphere. Any idea? [9/12/06 11:49:54:478 EDT] 0028 DeploymentEng I Invalid service SimpleService.aar due to java.lang.NoSuchMethodError: javax.wsdl.PortType: method getExtensionAttributes()Ljava/util/Map; not found at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processPortType( WSDL11ToAxisServiceBuilder.java:738) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processBinding(W SDL11ToAxisServiceBuilder.java:412) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService( WSDL11ToAxisServiceBuilder.java:230) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFil e(ArchiveReader.java:191) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(A rchiveReader.java:304) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j ava:513) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList .java:200) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener .java:208) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryL istener.java:155) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryL istener.java:200) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Sche dulerTask.java:61) at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.ja va:68) at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(S cheduler.java:76) at java.util.TimerThread.mainLoop(Timer.java:447) at java.util.TimerThread.run(Timer.java:397) - 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: NoSuchMethodError while deploying aar file on WebSphere
You are using the websphere version of wsdl4j.jar rather then one of the newer versions that are required by Axis2. Just been down that path with nightly builds, to circumvent the websphere issue with not really unpacking aar files. Good luck! Dave Ziebol -Original Message- From: Charak, Vikas [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 11:19 AM To: axis-user@ws.apache.org Subject: NoSuchMethodError while deploying aar file on WebSphere Hi , I have created a SimpleService with one method which takes in a string and sends out a string. The SimpleService.aar deployment works fine on Jboss But I get the following error on WebSphere. Any idea? [9/12/06 11:49:54:478 EDT] 0028 DeploymentEng I Invalid service SimpleService.aar due to java.lang.NoSuchMethodError: javax.wsdl.PortType: method getExtensionAttributes()Ljava/util/Map; not found at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processPortType( WSDL11ToAxisServiceBuilder.java:738) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processBinding(W SDL11ToAxisServiceBuilder.java:412) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService( WSDL11ToAxisServiceBuilder.java:230) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFil e(ArchiveReader.java:191) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(A rchiveReader.java:304) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j ava:513) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList .java:200) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener .java:208) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryL istener.java:155) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryL istener.java:200) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Sche dulerTask.java:61) at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.ja va:68) at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(S cheduler.java:76) at java.util.TimerThread.mainLoop(Timer.java:447) at java.util.TimerThread.run(Timer.java:397) - 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] eager service initialization
Yes, now it works. Thanks. Just a question: if the service is deployed in application scope it does not make any difference to implement the init or the startUp, does it (but of course with the startUp you're sure the initialization always happens, regardless of the service scope ;))? Michele robert lazarski wrote: > Try putting this your your service.xml , right under ServiceClass - > > true > > Forgot about that ... will document this for the upcomming release . > > Robert > > On 9/12/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: >> Robert, >> >> I did it: only the init() method is called at startup (if the service is >> in application scope), the startUp() is never called. >> >> >> Michele >> >> robert lazarski wrote: >> > Hmm ... I just tested this yesterday ;-) . Please check your >> > environment and follow the instructions in the javadoc. >> > >> > Robert >> > >> > On 9/12/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: >> >> Robert, >> >> >> >> unfortunately it does not work :(. >> >> I've tried with a service deployed in application scope as well as >> with >> >> a service deployed in request scope, and I found out that the >> startup is >> >> never called! >> >> >> >> Michele >> >> >> >> robert lazarski wrote: >> >> > Its part of the nightlies under the Service.startUp() interface ... >> >> > just have your service implement it . >> >> > >> >> > Robert >> >> > >> >> > On 9/12/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: >> >> >> Hi all, >> >> >> >> >> >> some time ago somebody raised an issue about eager service >> >> >> initialization (i.e. at system startup). Is there any news about >> it? >> >> >> >> >> >> Thanks, >> >> >> Michele >> >> >> >> >> >> >> - >> >> >> 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 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2] eager service initialization
Try putting this your your service.xml , right under ServiceClass - true Forgot about that ... will document this for the upcomming release . Robert On 9/12/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: Robert, I did it: only the init() method is called at startup (if the service is in application scope), the startUp() is never called. Michele robert lazarski wrote: > Hmm ... I just tested this yesterday ;-) . Please check your > environment and follow the instructions in the javadoc. > > Robert > > On 9/12/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: >> Robert, >> >> unfortunately it does not work :(. >> I've tried with a service deployed in application scope as well as with >> a service deployed in request scope, and I found out that the startup is >> never called! >> >> Michele >> >> robert lazarski wrote: >> > Its part of the nightlies under the Service.startUp() interface ... >> > just have your service implement it . >> > >> > Robert >> > >> > On 9/12/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: >> >> Hi all, >> >> >> >> some time ago somebody raised an issue about eager service >> >> initialization (i.e. at system startup). Is there any news about it? >> >> >> >> Thanks, >> >> Michele >> >> >> >> - >> >> 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 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: [Axis2] eager service initialization
Robert, I did it: only the init() method is called at startup (if the service is in application scope), the startUp() is never called. Michele robert lazarski wrote: > Hmm ... I just tested this yesterday ;-) . Please check your > environment and follow the instructions in the javadoc. > > Robert > > On 9/12/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: >> Robert, >> >> unfortunately it does not work :(. >> I've tried with a service deployed in application scope as well as with >> a service deployed in request scope, and I found out that the startup is >> never called! >> >> Michele >> >> robert lazarski wrote: >> > Its part of the nightlies under the Service.startUp() interface ... >> > just have your service implement it . >> > >> > Robert >> > >> > On 9/12/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: >> >> Hi all, >> >> >> >> some time ago somebody raised an issue about eager service >> >> initialization (i.e. at system startup). Is there any news about it? >> >> >> >> Thanks, >> >> Michele >> >> >> >> - >> >> 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 PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
NoSuchMethodError while deploying aar file on WebSphere
Hi , I have created a SimpleService with one method which takes in a string and sends out a string. The SimpleService.aar deployment works fine on Jboss But I get the following error on WebSphere. Any idea? [9/12/06 11:49:54:478 EDT] 0028 DeploymentEng I Invalid service SimpleService.aar due to java.lang.NoSuchMethodError: javax.wsdl.PortType: method getExtensionAttributes()Ljava/util/Map; not found at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processPortType( WSDL11ToAxisServiceBuilder.java:738) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processBinding(W SDL11ToAxisServiceBuilder.java:412) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService( WSDL11ToAxisServiceBuilder.java:230) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFil e(ArchiveReader.java:191) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(A rchiveReader.java:304) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j ava:513) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList .java:200) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener .java:208) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryL istener.java:155) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryL istener.java:200) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Sche dulerTask.java:61) at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.ja va:68) at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(S cheduler.java:76) at java.util.TimerThread.mainLoop(Timer.java:447) at java.util.TimerThread.run(Timer.java:397) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Axis2 OMText to File
Hi, I am trying to take my OMText element and put the contents in a file, but I keep going OutOfMemory. Here is the server code: OMElement data = fac.createOMElement("mtomSample", omNs); OMElement file = fac.createOMElement("file", omNs); FileDataSource fileDataSource = new FileDataSource( "C:/temp/local_cert.txt"); DataHandler dataHandler = new DataHandler(fileDataSource); OMText textData = fac.createOMText(dataHandler, true); file.addChild(textData); data.addChild(file); Client code (this goes out of memory): OMText binaryNode = (OMText) _imageElement.getFirstOMChild(); FileOutputStream fileOutputStream = new FileOutputStream("C:/temp/returnFile.txt"); binaryNode.serialize(fileOutputStream); Any ideas? Roshan Punnoose Phone: 301-497-6039 -Original Message- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 10:47 AM To: axis-user@ws.apache.org Subject: Re: [Axis2] eager service initialization Its part of the nightlies under the Service.startUp() interface ... just have your service implement it . Robert On 9/12/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: > Hi all, > > some time ago somebody raised an issue about eager service > initialization (i.e. at system startup). Is there any news about it? > > Thanks, > Michele > > - > 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] BEGIN:VCARD VERSION:2.1 N:Punnoose;Roshan FN:Punnoose, Roshan ADR;WORK:;2115 LABEL;WORK:2115 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20050413T183207Z END:VCARD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2] eager service initialization
Hmm ... I just tested this yesterday ;-) . Please check your environment and follow the instructions in the javadoc. Robert On 9/12/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: Robert, unfortunately it does not work :(. I've tried with a service deployed in application scope as well as with a service deployed in request scope, and I found out that the startup is never called! Michele robert lazarski wrote: > Its part of the nightlies under the Service.startUp() interface ... > just have your service implement it . > > Robert > > On 9/12/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> some time ago somebody raised an issue about eager service >> initialization (i.e. at system startup). Is there any news about it? >> >> Thanks, >> Michele >> >> - >> 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2] eager service initialization
Robert, unfortunately it does not work :(. I've tried with a service deployed in application scope as well as with a service deployed in request scope, and I found out that the startup is never called! Michele robert lazarski wrote: > Its part of the nightlies under the Service.startUp() interface ... > just have your service implement it . > > Robert > > On 9/12/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> some time ago somebody raised an issue about eager service >> initialization (i.e. at system startup). Is there any news about it? >> >> Thanks, >> Michele >> >> - >> 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: [Axis2] eager service initialization
Thanks Robert. I'm going to download the last nightly ;) Michele robert lazarski wrote: > Its part of the nightlies under the Service.startUp() interface ... > just have your service implement it . > > Robert > > On 9/12/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> some time ago somebody raised an issue about eager service >> initialization (i.e. at system startup). Is there any news about it? >> >> Thanks, >> Michele >> >> - >> 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: WSDL url
Is there a way to tell axis2 not to look for a wsdl, that if someone comes to the wsdl site, then return a 404? Roshan Punnoose Phone: 301-497-6039 -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 10:36 AM To: axis-user@ws.apache.org Subject: Re: WSDL url In Axis, specify the WSDL path in the element in the WSDD. In Axis2, drop your WSDL into the META-INF. Anne On 9/12/06, Punnoose, Roshan <[EMAIL PROTECTED]> wrote: > Is there a way to specify a WSDL to present back to the client? I don't > want to generate my code from the WSDL, but I have a WSDL to use. > > Roshan Punnoose > Phone: 301-497-6039 > > -Original Message- > From: Punnoose, Roshan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 12, 2006 10:01 AM > To: axis-user@ws.apache.org > Subject: Access Addressing information > > When I create a web service with WS-Addressing handlers, how do I have > access to the addressing information located in the soap header, in my > web service? I want to be able to manipulate and use the wsa:messageId > tag. > > Roshan Punnoose > Phone: 301-497-6039 > > > > - > 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] BEGIN:VCARD VERSION:2.1 N:Punnoose;Roshan FN:Punnoose, Roshan ADR;WORK:;2115 LABEL;WORK:2115 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20050413T183207Z END:VCARD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: WSDL url
I had it work for me with the following changes: --use the latest nightly --set a parameter "useOriginalwsdl" to true in services.xml Now it presents the WSDL I authored. -Nirmit "Nathaniel Auvil" To axis-user@ws.apache.org 09/12/2006 10:39 cc AM Subject Re: WSDL url Please respond to [EMAIL PROTECTED] he.org Give it a try in Axis2but to noteI opened JIRA AXIS2-1142 as this is not working for me as Axis2 is still trying to parse the file rather than simply provide access to the existing WSDL On 9/12/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: In Axis, specify the WSDL path in the element in the WSDD. In Axis2, drop your WSDL into the META-INF. Anne On 9/12/06, Punnoose, Roshan <[EMAIL PROTECTED] > wrote: > Is there a way to specify a WSDL to present back to the client? I don't > want to generate my code from the WSDL, but I have a WSDL to use. > > Roshan Punnoose > Phone: 301-497-6039 > > -Original Message- > From: Punnoose, Roshan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 12, 2006 10:01 AM > To: axis-user@ws.apache.org > Subject: Access Addressing information > > When I create a web service with WS-Addressing handlers, how do I have > access to the addressing information located in the soap header, in my > web service? I want to be able to manipulate and use the wsa:messageId > tag. > > Roshan Punnoose > Phone: 301-497-6039 > > > > - > 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: [Axis2] eager service initialization
Its part of the nightlies under the Service.startUp() interface ... just have your service implement it . Robert On 9/12/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: Hi all, some time ago somebody raised an issue about eager service initialization (i.e. at system startup). Is there any news about it? Thanks, Michele - 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: Access Addressing information
I guess MessageContext.getMessageID() is what are you looking for. See http://www.wso2.net/kb/106 (or simply implement the Service interface). Michele Punnoose, Roshan wrote: > When I create a web service with WS-Addressing handlers, how do I have > access to the addressing information located in the soap header, in my > web service? I want to be able to manipulate and use the wsa:messageId > tag. > > Roshan Punnoose > Phone: 301-497-6039 > > > - > 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]
[Axis2] eager service initialization
Hi all, some time ago somebody raised an issue about eager service initialization (i.e. at system startup). Is there any news about it? Thanks, Michele - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: WSDL url
Give it a try in Axis2but to noteI opened JIRA AXIS2-1142 as this is not working for me as Axis2 is still trying to parse the file rather than simply provide access to the existing WSDL On 9/12/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: In Axis, specify the WSDL path in the element in the WSDD.In Axis2, drop your WSDL into the META-INF.AnneOn 9/12/06, Punnoose, Roshan <[EMAIL PROTECTED] > wrote:> Is there a way to specify a WSDL to present back to the client? I don't> want to generate my code from the WSDL, but I have a WSDL to use.>> Roshan Punnoose> Phone: 301-497-6039 >> -Original Message-> From: Punnoose, Roshan [mailto:[EMAIL PROTECTED]]> Sent: Tuesday, September 12, 2006 10:01 AM> To: axis-user@ws.apache.org> Subject: Access Addressing information>> When I create a web service with WS-Addressing handlers, how do I have> access to the addressing information located in the soap header, in my > web service? I want to be able to manipulate and use the wsa:messageId> tag.>> Roshan Punnoose> Phone: 301-497-6039 - > 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: WSDL url
In Axis, specify the WSDL path in the element in the WSDD. In Axis2, drop your WSDL into the META-INF. Anne On 9/12/06, Punnoose, Roshan <[EMAIL PROTECTED]> wrote: Is there a way to specify a WSDL to present back to the client? I don't want to generate my code from the WSDL, but I have a WSDL to use. Roshan Punnoose Phone: 301-497-6039 -Original Message- From: Punnoose, Roshan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 10:01 AM To: axis-user@ws.apache.org Subject: Access Addressing information When I create a web service with WS-Addressing handlers, how do I have access to the addressing information located in the soap header, in my web service? I want to be able to manipulate and use the wsa:messageId tag. Roshan Punnoose Phone: 301-497-6039 - 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: [Axis14] axis and XSD choice - axis wants both elements
WSDD please. On 9/12/06, Axel Bock <[EMAIL PROTECTED]> wrote: bien sur :-) I extracted a limited example, which reproduces the error. I have tested this one, and it works (well, does not, which is the point ;-) . Thanks & greetings, Axel. WSDL: http://schemas.xmlsoap.org/wsdl/"; xmlns:soap=" http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:card=" http://my.schema.url/crd_v1"; xmlns:ctor="http://my.schema.url/com_v1"; targetNamespace="http://my.schema.url/crd_v1 "> http://my.schema.url/crd_v1 " /> http://schemas.xmlsoap.org/soap/http"; /> http://my.schema.url/crd_v1#EjectCard"; /> https://connector/cardservice/v1 " /> XSD: http://www.w3.org/2001/XMLSchema"; xmlns:con=" http://my.schema.url/com_v1"; targetNamespace="http://my.schema.url/crd_v1"; elementFormDefault="qualified" version="1.0" xmlns:card=" http://my.schema.url/crd_v1";> blah That's it :-) On 9/12/06, Anne Thomas Manes <[EMAIL PROTECTED] > wrote: > > Please post the WSDL, XSD, and WSDD files. > > On 9/12/06, Axel Bock <[EMAIL PROTECTED] > wrote: > > hi all, > > > > I have a little problem with axis. I have a web service with some data > > elements. In one method call parameter there may be EITHER element A1, OR > > element B2 AND B3, according to the XSD definition. The definition says: > > CHOICE ( A1 , SEQUENCE ( B1, B2 ) ). > > > > But - alas - if I set only the element A1 axis will throw an exception and > > complain. > > > > basically what happens is that I call the param.setA1() method and try to > > fire the call. Then I will get an exception saying "ERROR: Non-nillable > > element B2 was not filled". > > > > Can anyone shed some light on that? :-) > > > > > > Greetings & thanks in advance, > > Axel. > > > > - > 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]
WSDL url
Is there a way to specify a WSDL to present back to the client? I don't want to generate my code from the WSDL, but I have a WSDL to use. Roshan Punnoose Phone: 301-497-6039 -Original Message- From: Punnoose, Roshan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 10:01 AM To: axis-user@ws.apache.org Subject: Access Addressing information When I create a web service with WS-Addressing handlers, how do I have access to the addressing information located in the soap header, in my web service? I want to be able to manipulate and use the wsa:messageId tag. Roshan Punnoose Phone: 301-497-6039 BEGIN:VCARD VERSION:2.1 N:Punnoose;Roshan FN:Punnoose, Roshan ADR;WORK:;2115 LABEL;WORK:2115 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20050413T183207Z END:VCARD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AAR classloader issue
It works fine when I put the jar in WEB-INF/lib, but I just could not find a way to make the jar share among wars ... Thanks John --- robert lazarski <[EMAIL PROTECTED]> wrote: > Sounds like a jboss config issue . Try putting the > jar in WEB-INF/lib > of the war inside the ear and axis2 will probably > find it. Seems like > you are trying to share the same jar from the ear to > the wars ... > which does not seem like an axis2 issue, but rather > a J2EE classloader > issue . > > HTH, > Robert > > On 9/12/06, Z Chen <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I deployed my web services war file in a ear file > to > > JBoss server and I moved some libraries to ear > file > > level for sharing across the ear file, such as > > stax-api.jar and XmlSchema-1.0.2.jar. I got > > NoClassFoundException when Jboss is trying to > deploy > > the web services. > > > > Sounds like it is AAR classloader issue, it is > able to > > locate classes in XmlSchema-1.0.2.jar, but not the > > QName.class which is in stax-api.jar. Any idea ? > > > > Thanks > > > > John > > > > INFO > [org.apache.axis2.deployment.DeploymentEngine] > > Invalid service DialerService.aar due to > > java.lang.NoClassDefFoundError: > > javax/xml/namespace/QName > > at > > > org.apache.ws.commons.schema.constants.Constants.(Constants.java:40) > > at > > > org.apache.ws.commons.schema.XmlSchemaCollection.init(XmlSchemaCollection.java:120) > > at > > > org.apache.ws.commons.schema.XmlSchemaCollection.(XmlSchemaCollection.java:267) > > at > > > org.apache.axis2.description.WSDL2AxisServiceBuilder.getXMLSchema(WSDL2AxisServiceBuilder.java:944) > > at > > > org.apache.axis2.description.WSDL2AxisServiceBuilder.copyExtensibleElements(WSDL2AxisServiceBuilder.java:1067) > > at > > > org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:221) > > at > > > org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:192) > > at > > > org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:261) > > at > > > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:604) > > > > > > __ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.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] > > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Access Addressing information
When I create a web service with WS-Addressing handlers, how do I have access to the addressing information located in the soap header, in my web service? I want to be able to manipulate and use the wsa:messageId tag. Roshan Punnoose Phone: 301-497-6039 BEGIN:VCARD VERSION:2.1 N:Punnoose;Roshan FN:Punnoose, Roshan ADR;WORK:;2115 LABEL;WORK:2115 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20050413T183207Z END:VCARD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AAR classloader issue
Sounds like a jboss config issue . Try putting the jar in WEB-INF/lib of the war inside the ear and axis2 will probably find it. Seems like you are trying to share the same jar from the ear to the wars ... which does not seem like an axis2 issue, but rather a J2EE classloader issue . HTH, Robert On 9/12/06, Z Chen <[EMAIL PROTECTED]> wrote: Hi, I deployed my web services war file in a ear file to JBoss server and I moved some libraries to ear file level for sharing across the ear file, such as stax-api.jar and XmlSchema-1.0.2.jar. I got NoClassFoundException when Jboss is trying to deploy the web services. Sounds like it is AAR classloader issue, it is able to locate classes in XmlSchema-1.0.2.jar, but not the QName.class which is in stax-api.jar. Any idea ? Thanks John INFO [org.apache.axis2.deployment.DeploymentEngine] Invalid service DialerService.aar due to java.lang.NoClassDefFoundError: javax/xml/namespace/QName at org.apache.ws.commons.schema.constants.Constants.(Constants.java:40) at org.apache.ws.commons.schema.XmlSchemaCollection.init(XmlSchemaCollection.java:120) at org.apache.ws.commons.schema.XmlSchemaCollection.(XmlSchemaCollection.java:267) at org.apache.axis2.description.WSDL2AxisServiceBuilder.getXMLSchema(WSDL2AxisServiceBuilder.java:944) at org.apache.axis2.description.WSDL2AxisServiceBuilder.copyExtensibleElements(WSDL2AxisServiceBuilder.java:1067) at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:221) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:192) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:261) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:604) __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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]
AAR classloader issue
Hi, I deployed my web services war file in a ear file to JBoss server and I moved some libraries to ear file level for sharing across the ear file, such as stax-api.jar and XmlSchema-1.0.2.jar. I got NoClassFoundException when Jboss is trying to deploy the web services. Sounds like it is AAR classloader issue, it is able to locate classes in XmlSchema-1.0.2.jar, but not the QName.class which is in stax-api.jar. Any idea ? Thanks John INFO [org.apache.axis2.deployment.DeploymentEngine] Invalid service DialerService.aar due to java.lang.NoClassDefFoundError: javax/xml/namespace/QName at org.apache.ws.commons.schema.constants.Constants.(Constants.java:40) at org.apache.ws.commons.schema.XmlSchemaCollection.init(XmlSchemaCollection.java:120) at org.apache.ws.commons.schema.XmlSchemaCollection.(XmlSchemaCollection.java:267) at org.apache.axis2.description.WSDL2AxisServiceBuilder.getXMLSchema(WSDL2AxisServiceBuilder.java:944) at org.apache.axis2.description.WSDL2AxisServiceBuilder.copyExtensibleElements(WSDL2AxisServiceBuilder.java:1067) at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:221) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:192) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:261) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:604) __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: very annoying
Me too, please. Or, can someone at least fix the unsubscribe mechanism -Original Message- From: Plorks mail [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 4:46 AM To: axis-user@ws.apache.org Subject: very annoying i'm sending an email to [EMAIL PROTECTED] to unsubscribe me from this list is it the correct email? i've sent loads but i'm still gettign emails from this group can some admin person unsubscribe me please _ The new Windows Live Toolbar helps you guard against viruses http://toolbar.live.com/?mkt=en-gb - 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] wsdl issues in an AAR
Please log an issue in JIRA with your wsdl. thanks, dims On 9/12/06, Nathaniel Auvil <[EMAIL PROTECTED]> wrote: I used the WSDL2Java Ant task to generate my stubs and types. This works fine. I build the AAR and try to deploy it but placing it in the "services" directory. I include all my WSDL and included XSD's in the AAR's "meta-inf" directory. I get the following exception If i already have my WSDL, why is it trying to parse this out? My WSDL is valid. I used it to generate my code using the ant task and i double checked it in XMLSpy. Sep 11, 2006 4:03:40 PM org.apache.axis2.deployment.DeploymentEngine doDeploy SEVERE: Invalid service nathaniel.aar due to No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception is: org.apache.axis2.deployment.DeploymentException: No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault : No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl org.apache.axis2.deployment.DeploymentException : No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception is: org.apache.axis2.deployment.DeploymentException: No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault : No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs (ArchiveReader.java:321) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:513) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:200) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:208) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:155) at org.apache.axis2.deployment.DeploymentEngine.loadServices (DeploymentEngine.java:84) at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:249) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext (ConfigurationContextFactory.java:72) at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:346) at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:272) at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1028) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs (SecurityManager.java:121) at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:904) at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:883) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:822) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:) at weblogic.servlet.internal.WebAppServletContext.preloadServlets (WebAppServletContext.java:3278) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3259) at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java :5949) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:862) at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2127) at weblogic.j2ee.J2EEApplicationContainer.activate (J2EEApplicationContainer.java:2168) at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2115) at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation (SlaveDeployer.java:3082) at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1751) at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java :359) at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229) at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131) at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.j
[Axis2] wsdl issues in an AAR
I used the WSDL2Java Ant task to generate my stubs and types. This works fine. I build the AAR and try to deploy it but placing it in the "services" directory. I include all my WSDL and included XSD's in the AAR's "meta-inf" directory. I get the following exception If i already have my WSDL, why is it trying to parse this out? My WSDL is valid. I used it to generate my code using the ant task and i double checked it in XMLSpy.Sep 11, 2006 4:03:40 PM org.apache.axis2.deployment.DeploymentEngine doDeploySEVERE: Invalid service nathaniel.aar due to No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception is: org.apache.axis2.deployment.DeploymentException: No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault : No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdlorg.apache.axis2.deployment.DeploymentException : No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception is: org.apache.axis2.deployment.DeploymentException: No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault : No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception is: org.apache.axis2.AxisFault: No bindings found in wsdl at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs (ArchiveReader.java:321) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:513) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:200) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:208) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:155) at org.apache.axis2.deployment.DeploymentEngine.loadServices (DeploymentEngine.java:84) at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:249) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext (ConfigurationContextFactory.java:72) at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:346) at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:272) at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1028) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs (SecurityManager.java:121) at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:904) at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:883) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:822) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:) at weblogic.servlet.internal.WebAppServletContext.preloadServlets (WebAppServletContext.java:3278) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3259) at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java :5949) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:862) at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2127) at weblogic.j2ee.J2EEApplicationContainer.activate (J2EEApplicationContainer.java:2168) at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2115) at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation (SlaveDeployer.java:3082) at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1751) at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java :359) at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229) at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131) at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361) at weblogic.Server.main(Server.java:32)Caused by: org.apache.axis2.deployment.DeploymentException : No bindings found in wsdl; nested exception is:
Re: [Axis14] axis and XSD choice - axis wants both elements
bien sur :-) I extracted a limited example, which reproduces the error. I have tested this one, and it works (well, does not, which is the point ;-) . Thanks & greetings, Axel. WSDL: http://schemas.xmlsoap.org/wsdl/" xmlns:soap=" http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:card=" http://my.schema.url/crd_v1" xmlns:ctor="http://my.schema.url/com_v1" targetNamespace="http://my.schema.url/crd_v1 "> namespace="http://my.schema.url/crd_v1 " /> type="card:CardServicePortType"> transport="http://schemas.xmlsoap.org/soap/http" /> soapAction="http://my.schema.url/crd_v1#EjectCard" /> binding="card:CardServiceBinding"> https://connector/cardservice/v1 " /> XSD: http://www.w3.org/2001/XMLSchema" xmlns:con=" http://my.schema.url/com_v1" targetNamespace="http://my.schema.url/crd_v1" elementFormDefault="qualified" version="1.0" xmlns:card=" http://my.schema.url/crd_v1"> blah That's it :-) On 9/12/06, Anne Thomas Manes <[EMAIL PROTECTED] > wrote: Please post the WSDL, XSD, and WSDD files.On 9/12/06, Axel Bock <[EMAIL PROTECTED] > wrote:> hi all,>> I have a little problem with axis. I have a web service with some data > elements. In one method call parameter there may be EITHER element A1, OR> element B2 AND B3, according to the XSD definition. The definition says:> CHOICE ( A1 , SEQUENCE ( B1, B2 ) ).> > But - alas - if I set only the element A1 axis will throw an exception and > complain.>> basically what happens is that I call the param.setA1() method and try to> fire the call. Then I will get an exception saying "ERROR: Non-nillable> element B2 was not filled". >> Can anyone shed some light on that? :-)>>> Greetings & thanks in advance,> Axel.>-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
Client .net using WSE to access Secure Web Service implemeted using Axis 1.4
Hello,Does/Did anyone program/ed a .net client using WSE to access a secure web service done with Axis 1.4?If you have a link with some example, or some related help, it will be great!I appreciate your help I wish you a nice day.Thank you for your help.José Ferreiro
Re: [Rampart]Supported Algorithms?
Hi, On 9/12/06, Angel Cholchev <[EMAIL PROTECTED]> wrote: Hello again, I've read carefully http://ws.apache.org/axis2/modules/rampart/1_0/security-module.html. I'm concerned about the Signature and Digest algorithms(which are not described in this document). Are these algorithms supported as options or are they hardcoded.I also have noticed some problems with the encryption algorithms. When I use trip168 and aes128 rampart works great, but when I set aes192 or aes256 the handler throws an exception. Are these algorithms supported? You have to enable JCE Unlimited Strength Policy using "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files" to be able to use AES192 and AES256. The algorithms you can use can be found in the WSConstants class here [1] Thanks, Ruchith [1] https://svn.apache.org/repos/asf/webservices/wss4j/trunk/src/org/apache/ws/security/WSConstants.java Angel Cholchev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- www.ruchith.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [axis2] ant task for wsdl2java
Fredy- Ive tried to build but get failure on Axis2 $AXIS_HOME\ant CreateProcess Error on maven.bat Im assuming the build.xml is a light wrapper on underlying maven build process? So if this is a maven build do we have a POM available I have not seen it? Advice? 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: "Anne Thomas Manes" <[EMAIL PROTECTED]> To: ; <[EMAIL PROTECTED]> Sent: Tuesday, September 12, 2006 8:05 AM Subject: Re: [axis2] ant task for wsdl2java > You don't want to use Axis2 1.0 in production. > The current plan is to release Axis2 1.1 during the last week of September. > > On 9/12/06, SoftwareEngineering Hauschel <[EMAIL PROTECTED]> wrote: >> Hi all, >> i'm playing with axis2. Is anybody here who use axis 2 in production? >> >> The ant task from axis2 won't work, there is a bug. So i've to use the >> task from nightly build. But this one uses also classes that are not >> available in the Version 1.0 ;-(. >> >> I can't use this in production. When will the axis2 1.1 version be available? >> >> Fredy >> >> - >> 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] ant task for wsdl2java
You don't want to use Axis2 1.0 in production. The current plan is to release Axis2 1.1 during the last week of September. On 9/12/06, SoftwareEngineering Hauschel <[EMAIL PROTECTED]> wrote: Hi all, i'm playing with axis2. Is anybody here who use axis 2 in production? The ant task from axis2 won't work, there is a bug. So i've to use the task from nightly build. But this one uses also classes that are not available in the Version 1.0 ;-(. I can't use this in production. When will the axis2 1.1 version be available? Fredy - 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: [Axis14] axis and XSD choice - axis wants both elements
Please post the WSDL, XSD, and WSDD files. On 9/12/06, Axel Bock <[EMAIL PROTECTED]> wrote: hi all, I have a little problem with axis. I have a web service with some data elements. In one method call parameter there may be EITHER element A1, OR element B2 AND B3, according to the XSD definition. The definition says: CHOICE ( A1 , SEQUENCE ( B1, B2 ) ). But - alas - if I set only the element A1 axis will throw an exception and complain. basically what happens is that I call the param.setA1() method and try to fire the call. Then I will get an exception saying "ERROR: Non-nillable element B2 was not filled". Can anyone shed some light on that? :-) Greetings & thanks in advance, Axel. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: very annoying
That is the correct address to send your request. You must send the request using a return address that is the email address that you subscribed with. You will then receive a confirmation request at that email address, and you must reply to the confirmation request. On 9/12/06, Plorks mail <[EMAIL PROTECTED]> wrote: i'm sending an email to [EMAIL PROTECTED] to unsubscribe me from this list is it the correct email? i've sent loads but i'm still gettign emails from this group can some admin person unsubscribe me please _ The new Windows Live Toolbar helps you guard against viruses http://toolbar.live.com/?mkt=en-gb - 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] Problem with CodeGenerator in Eclipse
Matthias, Declaring the namespace at a higher level is not an error. And if that is in fact the reason that the execution occurred, then it's a bug in the code generator. Note that the Eclipse wizard is based on Axis2 1.0 and there are lots of bugs in 1.0. You'll do much better using the command line tool from the latest nightly. Anne On 9/12/06, Matthias Gommeringer <[EMAIL PROTECTED]> wrote: Hello everyone, I am trying to generate the java classes from a WSDL and Schema that I have written by hand. When I click on "Finish" in the last step of the Codegen Wizard, the following message pops up: An error occured while code generating java.lang.InterruptedException: org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: WSDL writing failed! Then I inspected my WSDL (because I was pretty sure that something must be wrong there) and found that I declared a namespace in a wrong way (which means that the WSDL was invalid). My mistake was that I defined xmlns:xsd="http://www.w3.org/2001/XMLSchema/"; in the "wsdl:definitions" tag instead of xmlns:xsd="http://www.w3.org/2001/XMLSchema"; After having fixed this problem, the code generation succeeded. I'd like to know if you have plans to validate whether the preconditions for a successful code generation are satisfied when a WSDL file is selected by the user (just for dumb users like me :-) An error message that shows the real problem would be really helpful. Thanks and regards, Matthias - 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] unable to deploy a service
i found the issue. You have to deploy the WAR exploded or it will not work. WebLogic Server does not explode War's when you deploy them.On 9/11/06, Nathaniel Auvil <[EMAIL PROTECTED]> wrote: i am unable to deploy my service. I keep getting an error from Axis about the "addressing" module. Any ideas?Here is the Exception:Sep 11, 2006 12:57:42 PM org.apache.axis2.deployment.WarBasedAxisConfigurator getAxisConfigurationSEVERE: org.apache.axis2.deployment.DeploymentException: module.xml not found for the module : zip:C:/bea/8/sp4/user_projects/domains/2/myserver/upload/axis2.war!/WEB-INF/modules/addressing-SNAPSHOT.mar ; nested exception is: org.apache.axis2.deployment.DeploymentException: module.xml not found for the module : zip:C:/bea/8/sp4/user_projects/domains/2/myserver/upload/axis2.war!/WEB-INF/modules/addressing-SNAPSHOT.mar ; nested exception is: org.apache.axis2.deployment.DeploymentException: module.xml not found for the module : zip:C:/bea/8/sp4/user_projects/domains/2/myserver/upload/axis2.war!/WEB-INF/modules/addressing-SNAPSHOT.mar ; nested exception is: org.apache.axis2.deployment.DeploymentException: module.xml not found for the module : zip:C:/bea/8/sp4/user_projects/domains/2/myserver/upload/axis2.war!/WEB-INF/modules/addressing-SNAPSHOT.mar : loading repository from classpathSep 11, 2006 12:57:42 PM org.apache.axis2.deployment.DeploymentEngine loadFromClassPathINFO: Module validation failed Trying to engage a module which is not available : addressing javax.servlet.ServletException : Trying to engage a module which is not available : addressing; nested exception is: org.apache.axis2.AxisFault: Trying to engage a module which is not available : addressing at org.apache.axis2.transport.http.AxisServlet.init (AxisServlet.java:294) at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1028) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java :321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:904) at weblogic.servlet.internal.ServletStubImpl.createInstances (ServletStubImpl.java:883) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:822) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java :) at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3278) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3259) at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5949) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:862) at weblogic.j2ee.J2EEApplicationContainer.start (J2EEApplicationContainer.java:2127) at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2168) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer (SlaveDeployer.java:2503) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2421) at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java :2138) at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2237) at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2132) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2384) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta (SlaveDeployer.java:594) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)Caused by: javax.servlet.ServletException: Trying to engage a module which is not available : addressing; nested exception is: org.apache.axis2.AxisFault: Trying to engage a module which is not available : addressing at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:337) at org.apache.axis2.transport.http.AxisServlet.init (AxisServlet.java:277)
Re: [Axis2] Question about Behaviour of DeploymentEngine
>>>Well you can have this behavior in the client side , ... That was it. My code produces new ServiceClients at server-side and so the deployment happens in every new call of the client. Some more explanations: The Round-Trip-Time Tests send a message the following way: Client->ServiceManager->LocalMonitor->ServiceManager->Client So in the ServiceManagerSkeleton-class there is an instantiation of a stub for the LocalMonitor. Here were two issues responsible for the repeated deployment: 1. The stub was instantiated in a method-local object. So the deployment happens each time of the instantiation of the stub. Refactoring this method-local object to a class-field corrects this point. 2. I have forgotten the attribute scope="application" for some services.xml. So the SimpleHTTPServer works absolutely right. It was solely my fault. Many many thanks to both of you. Your mails were greatly helpfull! By the way, the round-trip-times alleviates from 700ms to 20ms ;-) Deepal Jayasinghe wrote: > Hi Fal; > > I tested this with both SimpleHTTPServer and Axis2 war distribution and > I was unable to find such a behavior. Well you can have this behavior in > the client side , if you are trying to create new service client for > each request. > Any way please create JIRA attaching both client and server side code. > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis2] Problem with CodeGenerator in Eclipse
Hello everyone, I am trying to generate the java classes from a WSDL and Schema that I have written by hand. When I click on "Finish" in the last step of the Codegen Wizard, the following message pops up: An error occured while code generating java.lang.InterruptedException: org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: WSDL writing failed! Then I inspected my WSDL (because I was pretty sure that something must be wrong there) and found that I declared a namespace in a wrong way (which means that the WSDL was invalid). My mistake was that I defined xmlns:xsd="http://www.w3.org/2001/XMLSchema/"; in the "wsdl:definitions" tag instead of xmlns:xsd="http://www.w3.org/2001/XMLSchema"; After having fixed this problem, the code generation succeeded. I'd like to know if you have plans to validate whether the preconditions for a successful code generation are satisfied when a WSDL file is selected by the user (just for dumb users like me :-) An error message that shows the real problem would be really helpful. Thanks and regards, Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
very annoying
i'm sending an email to [EMAIL PROTECTED] to unsubscribe me from this list is it the correct email? i've sent loads but i'm still gettign emails from this group can some admin person unsubscribe me please _ The new Windows Live Toolbar helps you guard against viruses http://toolbar.live.com/?mkt=en-gb - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis14] axis and XSD choice - axis wants both elements
hi all, I have a little problem with axis. I have a web service with some data elements. In one method call parameter there may be EITHER element A1, OR element B2 AND B3, according to the XSD definition. The definition says: CHOICE ( A1 , SEQUENCE ( B1, B2 ) ). But - alas - if I set only the element A1 axis will throw an exception and complain. basically what happens is that I call the param.setA1() method and try to fire the call. Then I will get an exception saying "ERROR: Non-nillable element B2 was not filled". Can anyone shed some light on that? :-) Greetings & thanks in advance, Axel.
Isuru Suriarachchi wants to chat
--- Isuru Suriarachchi wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-94e6dda450-abb38a7ec0-4e002ae342f6c2e6 You'll need to click this link to be able to chat with Isuru Suriarachchi. To get Gmail - a free email account from Google with over 2,600 megabytes of storage - and chat with Isuru Suriarachchi, visit: http://mail.google.com/mail/a-94e6dda450-abb38a7ec0-2f699b9fb6 Gmail offers: - Powerful spam protection - Built-in search for finding your messages and a helpful way of organizing emails into "conversations" - No pop-up ads or untargeted banners - just text ads and related information that are relevant to the content of your messages - Instant messaging capabilities right inside Gmail All this, and its yours for free. But wait, there's more! You can also get Google Talk: http://www.google.com/talk/ Its a small Windows* download that lets you make free calls to your friends through your computer. It's simple and clutter-free, and it works with any computer speaker and microphone. Gmail and Google Talk are still in beta. We're working hard to add new features and make improvements, so we might also ask for your comments and suggestions periodically. We appreciate your help in making our products even better! Thanks, The Google Team To learn more about Gmail and Google Talk, visit: http://mail.google.com/mail/help/about.html http://www.google.com/talk/about.html (If clicking the URLs in this message does not work, copy and paste them into the address bar of your browser). * Not a Windows user? No problem. You can also connect to the Google Talk service from any platform using third-party clients (http://www.google.com/talk/otherclients.html). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Rampart]Supported Algorithms?
Hello again, I've read carefully http://ws.apache.org/axis2/modules/rampart/1_0/security-module.html. I'm concerned about the Signature and Digest algorithms(which are not described in this document). Are these algorithms supported as options or are they hardcoded.I also have noticed some problems with the encryption algorithms. When I use trip168 and aes128 rampart works great, but when I set aes192 or aes256 the handler throws an exception. Are these algorithms supported? Angel Cholchev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[axis2] ant task for wsdl2java
Hi all, i'm playing with axis2. Is anybody here who use axis 2 in production? The ant task from axis2 won't work, there is a bug. So i've to use the task from nightly build. But this one uses also classes that are not available in the Version 1.0 ;-(. I can't use this in production. When will the axis2 1.1 version be available? Fredy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: AXIS": Problem deploying web service
Hi Thorsten, I encountered the same problem with one of the previous nightlies, but it seems to be fixed in the latest nightly. Regards, Shahar. -Original Message- From: Thorsten Kraus [mailto:[EMAIL PROTECTED] Sent: Saturday, September 09, 2006 1:48 PM To: axis-user@ws.apache.org Subject: AXIS": Problem deploying web service Hello, I am trying to deploy my first web service using AXIS2. But every time I start tomcat, the deploy mechanism fails. AXIS2 is not able to detect the services.xml file, although I placed it in the META-INF directory. Here is the structure of the HelloWorld.aar: HelloWorld |-META-INF |-services.xml |-testpackage |-HelloWorld.class Content of HelloWorld.java: //## package testpackage; public class HelloWorld { public String sayHello(String name) { return "Hello " + name; } } //## Content of services.xml: //## This is my first service, which says hello testpackage.HelloWorld //## The following error is displayed when starting tomcat: //## - Invalid service HelloWorld.aar due to services.xml not found for service 'C:\ Dokumente und Einstellungen\thorsten\Desktop\WWW\apache-tomcat-5.5.17\webapps\ax is2\WEB-INF\services\HelloWorld.aar'; nested exception is: org.apache.axis2.deployment.DeploymentException: services.xml not found for service 'C:\Dokumente und Einstellungen\thorsten\Desktop\WWW\apache-tomcat-5 .5.17\webapps\axis2\WEB-INF\services\HelloWorld.aar' //## Can anyone tell me what's going wrong? Regards, Thorsten - 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]