Object Pooling of Web Service Instances

2004-04-27 Thread Venkatesan Krishnamoorthy
Hi: Could anyone tell me if Axis supports object pooling of web service instances? Specifically, what I want to know if the instances of service endpoint classes developed by the service provider are object pooled by Axis. Please do let me know. Thanks, Venkat

Security Problem!!

2004-04-27 Thread Lerena, Alberto
Hello, I have an axis web service running over a Tomcat Server. If I make a request to this service, where there's an arg of type array with around 7 items, the Tomcat goes out of memory and crashes down. Is there a way to fix it? A way of limit the request maximum size in the server

RE: Wsdd based war deployment

2004-04-27 Thread Kevin Pearcey
Yep, I know how to make a .war file - What I can't find is what to call / where to put the deploy.wsdd file so that the Axis loads the definition at start up. The ONLY references to using .wsdd files I have found are via the AdminClient, nothing mentions bundling .wsdd files in a .war for

Re: Wsdd based war deployment

2004-04-27 Thread Tom Oinn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I believe what Mark means is 'jar up an axis installation with the service already installed', which is slightly ungainly but works just fine for distribution. I can't remember where the WSDD goes, but take a look in your running installation, it'll be

RE: Wsdd based war deployment

2004-04-27 Thread Kevin Pearcey
Ewww... Surely there has to be a better approach than this? I need an approach where I can run our build system and get a .war to deploy to an app server. I assume from this that most people go with using the .jws approach. Is there any plan for configured deployment, or is doing everything

Sending file data from dot net to axis server

2004-04-27 Thread Faraz Rasheed
Hi, How can I send data in file to my web service running on axis. My client app is written in .Net. I tried to read the file in a string and send the data but it gave an error that an invalid xml expression in found which is like 0xh05 Regards, Faraz

Re: xdoclet and mapping

2004-04-27 Thread Bruce Scharlau
Martin Hamel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I would like to autogenerate my wsdd file with xdoclet. My problem is that I use costum serializers and I need to define the type mappings manually. Is there a way to define the typeMapping throught doclets? Thanks - --

RE: WSDD class deployment and Interface/Implementation deployment

2004-04-27 Thread Galbreath, Mark A
Join the club :-( -Original Message- From: shaun lim [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 10:09 PM To: [EMAIL PROTECTED] Subject: WSDD class deployment and Interface/Implementation deployment And apart from a somewhat suspicious macromedia tutorial on jsp web

RE: Webapp Deployment to Directory Other Than Axis

2004-04-27 Thread Galbreath, Mark A
The State Dept blocked your attachments :-( -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 4:04 PM To: '[EMAIL PROTECTED]' Subject: RE: Webapp Deployment to Directory Other Than Axis Mark - Glad to hear from you again. After you

Servlet-based Web service with Axis

2004-04-27 Thread Galbreath, Mark A
So far, browsing to http://localhost:8080/axis/services/EchoHeaders returns EchoHeaders Hi there, this is an AXIS service! Perhaps there will be a form for invoking the service here... source: h1EchoHeaders/h1 pHi there, this is an AXIS service!/p iPerhaps there will be a form for invoking

RE: Webapp Deployment to Directory Other Than Axis

2004-04-27 Thread Jerry Jalenak
Mark - Do you have another e-mail address that I can send the .zip files to? Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] -Original Message- From: Galbreath, Mark A [mailto:[EMAIL PROTECTED]

Re: Have doubts about Doc/Lit with axis

2004-04-27 Thread Jim Murphy
Shantanu, In doc/lit there is no spoon - er - I mean there is no notion of inout, in, out or whatever. Those are entirely rpc concepts and have no bearing in doc/lit (wrapped or otherwise). Plenty of folks differ on this - which is why even at this point interop and tools still blow - but

Re: Session

2004-04-27 Thread samir_chouthai
You can mantain sessions between the client and server ... take a look at howorg.apache.axis.handlers.SimpleSessionHandler works ... here's an article describing sessions. http://www.fawcette.com/javapro/2003_04/online/wsdl_kjones_04_29_03/default_pf.aspx Vineet Singh [EMAIL PROTECTED] wrote: hi

Re: Session

2004-04-27 Thread greyson . smith
I am curious to know if anyone has implemented sessions without using the axis client. It must be possible to interop w/ non java clients and use sessions, but it has eluded me, so far.

RE: WSDD class deployment and Interface/Implementation deployment

2004-04-27 Thread Yakulis, Ross (Ross)
The fact that Axis generated a new implementation (XXXimpl) is an inconvience that other tools do not have. I doubt it will get changed unfortunately. On another note, the current deployment scheme should be considered a bug. You should be able to deploy a service with only a .war

Re: Wsdd based war deployment

2004-04-27 Thread Jason Calabrese
You just need to create a WEB-INF/server-config.wsdd. I just renamed the generated deploy.wsdd and put it in WEB-INF. On Tuesday 27 April 2004 2:56 am, Kevin Pearcey wrote: Ewww... Surely there has to be a better approach than this? I need an approach where I can run our build system and get

Axis 1.2b: extraClasses option for wsdd?

2004-04-27 Thread Banck, Arent-Jan
Title: Message Is there something similar tothe Java2WSDL extraClasss for wsdd deployment? In Axis 1.1, all mappings defined in the wsdd appear as definitionsin the wsdl generated with ...?wsdl. This behavoir is changed in Axis 1.2b. In 1.2b the WSLD only contains definitions for classes

RE: WSDD class deployment and Interface/Implementation deployment

2004-04-27 Thread Galbreath, Mark A
I agree 110%. -Original Message- From: Yakulis, Ross (Ross) [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 11:29 AM ... the current deployment scheme should be considered a bug. You should be able to deploy a service with only a .war file. application/ms-tnef

Re: Session

2004-04-27 Thread Stefano Sambi
Hi, I used sessions between an Axis web service and a .NET client. I didn't read your past messages, so I don't know what is your problem. Stefano - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 4:57 PM Subject: Re: Session I am

Re: Session

2004-04-27 Thread greyson . smith
I did not post any troubles as the need tapered off. But, I read in the article: To do this from a client that uses the axis runtime, the client has to call the setMaintainSession method of the org.apache.axis.client.Service interface. This interface is implemented by the Locator class

Re: Session

2004-04-27 Thread Stefano Sambi
I didn't use cookies, but only a soap header with SimpleSessionHandler on Axis side. I also added an header in my wsdl, so .NET implements it automatically. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 6:34 PM Subject: Re: Session

Re: Session

2004-04-27 Thread greyson . smith
If you get a moment, I would love to see the header request from the client to compare it with what i had. Stefano Sambi

JBuilder 9.0

2004-04-27 Thread Galbreath, Mark A
Does anybody know how to set the tabs on this bitch?! I've only been using it for 2 days, but I'll take JDeveoper 9.05 over this any day! Anyway, I'm stuck with it. tia, Mark application/ms-tnef

RE: Session

2004-04-27 Thread Yiet, Liyong
I think you can implement it on the server side like this: sessionID = login(); doSomething(sessionID); doSomethingElse(sessionID); logout(sessionID); Richard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27,

RE: Have doubts about Doc/Lit with axis

2004-04-27 Thread Anne Thomas Manes
For the most part, I concur with Jim. If you want to create an RMI-style programming interface, always use wrapped/literal. On the other hand, if you want to send a predefined schema (such as a standard schema defined by your favorite vertical industry group), you may need to use Document/Literal

RE: Have doubts about Doc/Lit with axis

2004-04-27 Thread Anne Thomas Manes
For the most part, I concur with Jim. If you want to create an RMI-style programming interface, always use wrapped/literal. On the other hand, if you want to send a predefined schema (such as a standard schema defined by your favorite vertical industry group), you may need to use Document/Literal

RE: JBuilder 9.0

2004-04-27 Thread Yakulis, Ross (Ross)
Try Eclipse www.eclipse.org -Original Message- From: Galbreath, Mark A [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 10:05 AM To: '[EMAIL PROTECTED]' Subject: JBuilder 9.0 Does anybody know how to set the tabs on this bitch?! I've only been using it for 2 days, but I'll take

RE: JBuilder 9.0

2004-04-27 Thread Verma, Nitin \(GE Consumer Industrial\)
or http://www.netbeans.org/downloads/ide/ -Original Message- From: Yakulis, Ross (Ross) [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 11:05 PM To: [EMAIL PROTECTED] Subject: RE: JBuilder 9.0 Try Eclipse www.eclipse.org -Original Message- From: Galbreath, Mark A

RE: Need Help

2004-04-27 Thread Anne Thomas Manes
You need to give us a little more information about the problems you're having. -Original Message- From: mico [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 12:51 PM To: [EMAIL PROTECTED] Subject: Need Help Hello all, I try to install axis but it doesn't work, i really dont

RE: Need Help

2004-04-27 Thread Anne Thomas Manes
You need to give us a little more information about the problems you're having. -Original Message- From: mico [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 12:51 PM To: [EMAIL PROTECTED] Subject: Need Help Hello all, I try to install axis but it doesn't work, i really dont

RE: Need Help

2004-04-27 Thread Verma, Nitin \(GE Consumer Industrial\)
using binary or a code base? -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 11:17 PM To: [EMAIL PROTECTED] Subject: RE: Need Help You need to give us a little more information about the problems you're having. -Original

RE: Have doubts about Doc/Lit with axis

2004-04-27 Thread Yakulis, Ross (Ross)
Okay that is all fine and well. And in general I agree. But if you are using Java2WDSL and not hand writing these ugly wsdl files, the tool(Java2WSDL) should say something to the effect that your java source file (class/interface) is not suitable for the chosen style and that WRAPPED or RPC

RE: Have doubts about Doc/Lit with axis

2004-04-27 Thread Shantanu Sen
That may be a good enhancement request, but Java2WSDL gives you more flexbility in the sense that you can specify doc/lit or wrapped based on your need. So it assumes that you know what you need. I was playing with BEA WebLogic 8.1 workshop and when I create a method and choose to expose it as

Re: Have doubts about Doc/Lit with axis

2004-04-27 Thread Jim Murphy
Anne Thomas Manes wrote: For the most part, I concur with Jim. If you want to create an RMI-style programming interface, always use wrapped/literal. On the other hand, if you want to send a predefined schema (such as a standard schema defined by your favorite vertical industry group), you may

xs:timeDate to Calendar Object

2004-04-27 Thread Zach Hensley
It appears as though that there is no clear definition in any spec, be it JAX-RPC, or WSDL, as to how xs:timeDate should be formatted. I am using axis 1.1 release, and my client will not necessarily be a java client. As a result I think that there is an inefficiency in the wsdl2Java generation.

CapeScience SOA Editor URL [Re: Have doubts about Doc/Lit with axis

2004-04-27 Thread Aleksander Slominski
hi, there are some problems with URLs such as one provided in the press release: http://www.capeclear.com/news/press_releases/reports/print/soaeditor_print.htm as this http://www.capeclear.com/integration/soa/ does not seem work: this URL seems to work OK:

getting ServletConfig

2004-04-27 Thread insoo lee
Hi, We want to initialize the axis servlet by putting some init parameters in web.xml like below servlet servlet-nameAxisServlet/servlet-name display-nameApache-Axis Servlet/display-name servlet-class org.apache.axis.transport.http.AxisServlet /servlet-class

preserving angle brackets in returning String value

2004-04-27 Thread insoo lee
Hello, I'm returning String from axis service, but this String value has angle brackets e.g) StringBuffer sb = new StringBuffer( Response ); sb.append( ReturnCode ); sb.append( returnCode ); sb.append( /ReturnCode ); sb.append( Description );

Re: xs:timeDate to Calendar Object

2004-04-27 Thread Jeff
You must be joking! For xs:timeDate W3C is clear: ISO 8601. Jeff Cogent Logic - Original Message - From: Zach Hensley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 3:50 PM Subject: xs:timeDate to Calendar Object It appears as though that there is no clear

Generating array items with xsi:type

2004-04-27 Thread Chris Pruett
I'm having trouble calling a webMethods web service because Axis is not generating a SOAP message with typed array items. For example: ?xml version=1.0 encoding=UTF-8? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema;

RE: Need Help

2004-04-27 Thread Anne Thomas Manes
What's not working? What error messages are you getting? How much of the installation did you complete? What did work right? What were your trying to do that didn't work? Something... -Original Message- From: Verma, Nitin (GE Consumer Industrial) [mailto:[EMAIL PROTECTED] Sent:

RE: Need Help

2004-04-27 Thread Anne Thomas Manes
What's not working? What error messages are you getting? How much of the installation did you complete? What did work right? What were your trying to do that didn't work? Something... -Original Message- From: Verma, Nitin (GE Consumer Industrial) [mailto:[EMAIL PROTECTED] Sent:

RE: Have doubts about Doc/Lit with axis

2004-04-27 Thread Anne Thomas Manes
The specs don't say whether attributes are permitted in grandchild elements (children of the parameter elements). For maximum interoperability, I would say that you should *not* use attributes with wrapped style at any level. But, as long you have a custom serializer that maps the object fields to

RE: Have doubts about Doc/Lit with axis

2004-04-27 Thread Anne Thomas Manes
The specs don't say whether attributes are permitted in grandchild elements (children of the parameter elements). For maximum interoperability, I would say that you should *not* use attributes with wrapped style at any level. But, as long you have a custom serializer that maps the object fields to

RE: getting ServletConfig

2004-04-27 Thread Parley, Thunder Jon
Hi Insoo, Of course you know the Axis FAQ is a great place to start like so: http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/ServletContext but this should get you going, import org.apache.axis.transport.http.AxisServlet; import org.apache.axis.MessageContext; import

getting method name from within a service / handler?

2004-04-27 Thread Nelson Minar
Is there a way for me to know which Java method Axis has invoked (or will invoke) from inside a Handler or Service? I went looking in the message context properties and couldn't find it. I can get the service name via the property transport.http.plugin.serviceName How about the method name? The

RE: timeDate to Calendar Object

2004-04-27 Thread Anne Thomas Manes
The xsd:timeDate format is specified in the XML Schema Part 2: Datatypes specification, in Appendix D [1]. It's based on ISO 8601. Per the JAX-RPC spec, xsd:timeDate should map to java.util.Calendar rather than String. [1] http://www.w3.org/TR/xmlschema-2/#isoformats Anne -Original

RE: timeDate to Calendar Object

2004-04-27 Thread Anne Thomas Manes
The xsd:timeDate format is specified in the XML Schema Part 2: Datatypes specification, in Appendix D [1]. It's based on ISO 8601. Per the JAX-RPC spec, xsd:timeDate should map to java.util.Calendar rather than String. [1] http://www.w3.org/TR/xmlschema-2/#isoformats Anne -Original

RE: CapeScience SOA Editor URL [Re: Have doubts about Doc/Lit with axis

2004-04-27 Thread Anne Thomas Manes
www.capeclear.com is the Cape Clear corporate site. www.capescience.com is the developer resources site sponsored by Cape Clear. Anne -Original Message- From: Aleksander Slominski [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 3:54 PM To: [EMAIL PROTECTED] Subject: CapeScience

RE: CapeScience SOA Editor URL [Re: Have doubts about Doc/Lit with axis

2004-04-27 Thread Anne Thomas Manes
www.capeclear.com is the Cape Clear corporate site. www.capescience.com is the developer resources site sponsored by Cape Clear. Anne -Original Message- From: Aleksander Slominski [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 3:54 PM To: [EMAIL PROTECTED] Subject: CapeScience

xs:timeDate to Calendar Object

2004-04-27 Thread Zach Hensley
So if I am understanding this correctly than there is a bug in axis 1.1, since it returns the toString() of GregorianCalendar as shown below for the value of an xs:dateTime. I have seen nothing in the code generator that would do any kind of formatting when creating the soap response. How do I

Client Stub Versioning

2004-04-27 Thread Hemanth_Setty
Hello all, I was having a design session with my team here and we were discussing about some possible solutions for versioning the client stubs and I though I would get the input of the Axis development community. Essentially what I am trying to do is make the service backward compatible to

RE: Have doubts about Doc/Lit with axis

2004-04-27 Thread Anderson Jonathan
Java2WSDL implies that you are modeling the documents being exchanged by your document/literal SOAP web service as Java objects, or in other words Java types. Given that W3C XML Schema is not an object oriented type system, you are then required to trust your Java2WSDL GUI (BEA Weblogic Workshop,

Use the same singleton class for two different services

2004-04-27 Thread Daniel Olmedilla
Hi, I am using axis to provide 2 different services: service1 and service2. The 1st service implements the interface1 and the 2nd one implements the interface2. I implemented a class (called App) which implements both interfaces with a static singleton class. The idea is that both services

Understanding valid signatures for your message-style service methods

2004-04-27 Thread Kenneth Lee
I am trying to change a web service from provider=java:RPC to provider=java:MSG. There are four signatures defined in the axis documentation which are: public Element [] method(Element [] bodies); public SOAPBodyElement [] method (SOAPBodyElement [] bodies); public Document method(Document body);

java.lang.reflect.InvocationTargetException

2004-04-27 Thread Daniel Olmedilla
Hi, I have a problem with one of the methods I am developing. I have a class with 10 methods and there is one method that does not work. The method is public java.lang.String synchronousQuery(java.lang.String in0, java.lang.String in1) throws java.rmi.RemoteException,

Where are the Axis log files?

2004-04-27 Thread Daniel Olmedilla
Hi, Does anyone know where I can find the things I write on the console from a service? I also tried to use the LogFactory.getLog(RDQLProviderSoapBindingImpl.class); but I didn't find anything and nothing appear on the Tomcat log file. BTW, I found the problem I described below. Best