Re: Sub-set of axis jars
On 12/8/05, Guy Rixon ([EMAIL PROTECTED]) wrote: "Is it possible to leave some of the Axis jars out of an application? If I have a client that doesn't use SAAJ or JAX-RPC, can I leave out those jars? How about in a service?" Guy, I've left quite a few of the Axis jars (as required for building Axis) out of my client application. Don't have a service, so I can't speak for that. The user documentation for 1.2.1 (the version I'm running) specifies: axis.jar, commons-discovery.jar, commons-logging.jar, jaxrpc.jar, saaj.jar, log4j-1.2.8.jar. I'm fairly certain I've run my client with only those JARs (in a J2EE environment, so I didn't need mail-api or activation.jar). In my client, it was not possible to run without saaj.jar or jaxrpc.jar. Perhaps if you were using Axis only for the Transport, and not for the marshalling/unmarshalling (although then it seems you lose most of the benefit...) Meghan _ Meghan Pietila Java Middleware Architect Sales & Service Management Program US Bank - Gold 4 (651) 205-0904 (651) 610-1697 pager [EMAIL PROTECTED] -- Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ==
Re: AW: Axis 1.3 Address already in use: connect-> java.net.BindException
Dirk wrote: > So the best is to wait between the requests? We made the registry changes as outlined in the original document; decreased the amount of time spent in TIME_WAIT state, and increased the number of TCP/IP dynamic ports available--it enabled us to more than double the number of virtual users during performance testing without encountering these errors. If you can't (or don't want to) modify your Windows registry, then you'll need to keep those simultaneous requests at a lower level, or accept that some of them will fail... or, as you said, modify your code in some way so that you don't overload the available ports. Meghan _________ Meghan Pietila Java Middleware Architect Sales & Service Management Program US Bank -- Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ==
Re: Axis 1.3 Address already in use: connect-> java.net.BindException
Funny that you ask that, we just spent a few weeks debugging the same error in our performance testing (we deploy to servers running Windows for this application). After much Google searching by all of us, our very astute WebSphere support guy found this article (sorry, I don't know where he found it, so can't give it proper attribution): (See attached file: WindowsPortConfig.doc) Basically, it was a Windows operating system default setting limitation. He also commented that he had searched the Microsoft Web site, and had some indications that the default value for MaxUserPort is set to 5000. Hope this is helpful, Meghan _____ Meghan Pietila Java Middleware Architect Sales & Service Management Program US Bank "Bromberg, Dirk - encoway" To: axis-user@ws.apache.org <[EMAIL PROTECTED]cc: .de> Subject: Axis 1.3 Address already in use: connect-> java.net.BindException 11/08/2005 07:10 AM Please respond to axis-user Hello, I've setup a webservice using tomcat and axis 1.3 via ant. It is a simple object with a method. When I call it thousand times (e.g. in a loop) than sometimes I get this exception: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.BindException: Address already in use: connect faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.net.BindException: Address already in use: connect at java.net.PlainSocketImpl.socketConnect(Native Method) --- after it the service works like before... Must I close something or synchronize the service method? Thanks Dirk -- Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. == WindowsPortConfig.doc Description: MS-Word document
Re: only top-level element has namespace
I'm hoping that Anne Manes or someone more knowledgable will step forward on this one, but I've seen similar questions come up on this list over the past few months and I wonder if the behavior you're seeing is because of the default "unqualified" setting that you have in your schema. See this post from Anne, where she gives an example of how this might work: http://marc.theaimsgroup.com/?l=axis-user&m=112241677227703&w=2 Here's another response from Anne, to a question that's the opposite of yours--how to suppress the namespaces being added to every element! http://marc.theaimsgroup.com/?l=axis-user&m=111823412914728&w=2 Hope this helps-- Meghan _ Meghan Pietila Java Middleware Architect Sales & Service Management Program US Bank Gold 4 (651) 205-0904 (651) 271-2815 cell [EMAIL PROTECTED] "Ron Reynolds" <[EMAIL PROTECTED]To: axis-user@ws.apache.org com> cc: Subject: only top-level element has namespace 11/02/2005 06:18 PM Please respond to axis-user i hate to ask a duplicate question but 5 minuets digging in the list archives was leading nowhere. my question is, what's causing this 'xmlns=""' to be added and how do i prevent it? (my service is document-literal) ... same thing's happening on the request side as well - FooTest Volume 1 2 ... is it a WSDL issue? i import the type XSD thus: http://schemas.xmlsoap.org/wsdl/soap/ " xmlns:xsd= "http://www.w3.org/2001/XMLSchema"; xmlns:wsdl = "http://schemas.xmlsoap.org/wsdl/";> ... ... ... i noticed the XSD doesn't explicitly call out qualified elements: http://www.w3.org/2001/XMLSchema";> ... could that be a problem? it still doesn't make sense why the SOAP message would EXPLICITLY strip the namespace from everything except the root element, or does it? :-/ never giving up, ;-) .ron. -- Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ==
XMLBeans with Axis (was RE: I give up)
I wasn't the original poster, but I would love to know how to do this. Any chance you'd put some information on a wiki page for Axis? Or even post it to the newsgroup, maybe someone else could format it for the wiki. Thanks much-- Meghan _____ Meghan Pietila Java Middleware Architect Sales & Service Management Program US Bank Gold 4 (651) 205-0904 (651) 271-2815 cell [EMAIL PROTECTED] "Nathaniel G. Auvil" To: axis-user@ws.apache.org Subject: RE: I give up (let's change the subject line, but try to be constructive) 10/31/2005 11:56 AM Please respond to axis-user We are using XMLBeans with Axis. I found a serializer and deserializer on a website some time ago. I can email them to you if you would like. I had to add a custom ant task to modify the server-config.wsdd to change to the XMLBeans serializer but it was no big deal. --- Paul Grillo <[EMAIL PROTECTED]> wrote: > Let me be more specific about the 2 areas that have troubled me since I > was second in line of kicking off this long thread. I provide this as > input and food for thought. > > As I mentioned previously, I have no axe to grind. I'm fairly well aware > of tradeoffs with open source and no open source. We spend tons of > money on oracle and bea support, such as it is. There are no guarantees > of help when you need it whether you pay for it or not. I also would > never blame or take Axis or any product like that to task for the fact > that WS_Profile and SOAP is a pain. It is a pain - but it has strong > advantages. REST, for example, is a good solution for some problems. > REST assured, however, that it could not possibly solve the problem I > had to solve which was to communicate with a .NET vendor and swap SOAP > messages of which certain elements were signed and encrypted and > depended on ws-addressing etc. AXIS 1.2/WSS4J solved this problem for > me very nicely, and I thank them. > > I guess I would say I'm not giving up, I may (hope to) return. But I've > got to solve a few of my own issues. > > Okay, the 2 areas I would like to zero in on > > > 1) AXIS 1 or AXIS2? 2 different projects? any Migration? Have I been > left to solve it for myself? > > The move from Axis 1 to Axis 2 and the way it feels is a little > disconcerting. It seems to me (and has been pointed out) that most > energy is going into Axis2. Fine, but most deployments have and are > running in Axis 1. What bothers me is the feeling that I get that Axis2 > is the replacement, and yet there doesn't seem to be any easy migration. > If you look at the migration blurb in Axis 2, it spends time telling me > why Axis2 is better, but not how to migrate. It almost leaves me with > this feeling that I made a mistake going with Axis 1. I ask myself are > these the same developes? Axis 1 and 2? Are they competing? So I'm > left with the feeling that I'm getting little help on Axis 1 because the > efforts are toward Axis 2. And when I read Axis 2 doc, all I'm hearing > is it is so much better than Axis 1. It's tough to swallow since I'm > sitting on at least one deployment of Axis 1. Am I now being told that > I made a mistake? support is dwindling? move to Axis 2? Make all the > appropriate changes? > > This plays into the overall uneasiness. You look for a commitment from > the producers/developers to the users. Migration tools for version to > version. Make sure users have not been left hanging. Believe m
Re: Accents
On the off chance this is useful, I ran across this old JIRA ticket this morning while searching for some different encoding problems: http://issues.apache.org/jira/browse/AXIS-1132 I don't know JIRA well enough yet to tell what version this patch went into, but it sounds like perhaps a later version than you are working with... Meghan _ Meghan Pietila Java Middleware Architect Sales & Service Management Program US Bank Gold 4 (651) 205-0904 (651) 271-2815 cell [EMAIL PROTECTED] "Christophe Roudet" To: axis-user@ws.apache.org <[EMAIL PROTECTED]cc: net> Subject: Accents 08/04/2005 01:41 PM Please respond to axis-user I am using Axis 1.1 in rpc. I have some troubles with accents: cluLogin mémè Is there something to do for axis 1.1 to handle correctly accents? Christophe -- Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ==
RE: an Axis faq, and a few questions about a simple ws
John, I'm just learning Axis for client-side, also, but I'm using JMS transport instead of HTTP so I'm not sure how similar our setups are. However, if you look at the user-guide.html that is in the /docs folder of the Axis 1.2.1 download, it gives an example of configuring the Call object--I believe the "Configuring Client Handlers" page you mention is referring to these settings. (See the section titled "Consuming Web Services with Axis".) To summarize, you will want to set in your Call object: targetEndpointAddress, operationName, returnType, and any call parameters. I hope this helps you--good luck! Meghan _____ Meghan Pietila Java Middleware Architect Sales & Service Management Program US Bank Gold 4 (651) 205-0904 (651) 271-2815 cell [EMAIL PROTECTED] "John M. Gabriele"To: axis-user@ws.apache.org <[EMAIL PROTECTED]cc: hoo.com> Subject: RE: an Axis faq, and a few questions about a simple ws 08/04/2005 09:58 AM Please respond to axis-user Ok, [rolls up sleeves] perhaps I'll get more help with this if I edit the official wiki rather than my own wiki. :) I edited the following pages: http://wiki.apache.org/ws/FrontPage/Axis http://wiki.apache.org/ws/FrontPage/Axis/AxisGeneral http://wiki.apache.org/ws/FrontPage/Axis/WritingYourClient http://wiki.apache.org/ws/FrontPage/Axis/InstallWebServices Also a small '''XXX''' added to http://wiki.apache.org/ws/FrontPage/Axis/UsingCommandLineTools Can someone please help me fill-in that WritingYourClient one better? Specifically, I'm looking for that information asked about in my original post (also quoted below). I think it would really make it easier for newcomers to Axis to get started. Thanks, ---J > > > > Finally, the official Axis doc on clients: > > http://ws.apache.org/axis/java/client-side-axis.html > > mentions that you can configure your Call object (saying > > that the org.apache.axis.client.Call class implements > > the javax.xml.rpc.Call interface). I see that my > > BingSoapBindingStub.java file has a createCall() method. > > Am I supposed to be using that for my simple web app? > > > > Any help is most appreciated. :) > > > > ---John > > > > > > Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs -- Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ==
JMS Handler for "jms" protocol
I've just spent several hours tracking down why I could not get pass in an endpoint starting with "jms", as directed to do in the org.apache.axis.transport.jms.JMSTransport.setupMessageContextImpl method comments (which note that using the model outlined in the PDF on setting up JMS clients is deprecated; i.e. creating a Transport and settings its properties without benefit of a URL). I had tracked the code through JMSURLHelper class, and it certainly appeared as if the url would be fully supported for all properties I needed, so I assumed at first that the comments were for some new functionality in Axis 1.2 (as far as I could tell, the AxisJMSSample.pdf hasn't changed over the past few releases.) The error I would get, while passing in a URL of type "jms:http://lists.samba.org/archive/jcifs/2002-December/001584.html). In addition, it will check the System classpath for the Handler files, so that could require some additional setup on some people's systems. What I didn't realize for some time, is that while a Handler class exists in the Axis JAR file for "file", "java", "local", and "mail"... no Handler exists in the "jms" package. The comments in the JMSTransport class are apparently referring to an implementation that was never completed, or perhaps are assuming that the user has created their own custom Handler class for JMS and set it up appropriately in the system properties. So, I'll go back to the "old" method of setting up my JMS client for now, as outlined in the AxisJMSSample.pdf that comes in the Axis download. Hopefully this information can help someone else in the future! Meghan _ Meghan Pietila Java Middleware Architect Sales & Service Management Program US Bank Gold 4 (651) 205-0904 (651) 271-2815 cell [EMAIL PROTECTED] -- Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ==