[wsif] attachments!

2003-01-24 Thread Ullas Kapadia
Hi, Ok, so I am trying to invoke a service that has attachments as parameters.I looked at the test for attachments under java/test/mime.I am wondering: - Does WSIF use SAAJ API?? - If I am dealing with only SOAP bindings is it a good idea to use SAAJ API?? Thank you

RE: give your views

2003-01-24 Thread Anne Thomas Manes
Back to the original question: You can build a Web service using any of a variety of XML protocols, such as SOAP, ebXML, XML-RPC, RosettaNet, or some proprietary protocol (e.g., UPS offers a web service interface to UPS online based on a unique XML protocol defined by UPS). A SOAP service is a we

Simple mapping .asmx to .jws?

2003-01-24 Thread Randy Belknap
Is there a simple way to map an endpoint URL like /axis/aservice.asmx to the JWS mechanism so that the client can continue to think it is talking to a M$ server? I have a client that hardcodes the endpoint URL and I am trying to replace the .NET server with an Axis server. (I can change the name

Re: Correct serialization based on WSDL

2003-01-24 Thread Jeehong Min
Thanks for taking a bite. Believe it or not, 1 is the message that a GLUE client sends based on the WSDL (which is GLUE generated). 2 is the message I've created with AXIS based on my parsing of the WSDL. Personally, I think that 2 is more correct than 1 - neither seems wrong - but I'm not sure.

RE: deployment problem without .jws

2003-01-24 Thread David Gilbert
I tried parameter, but it complained about not having option. The servlet mapping got me through the 404, but I am now getting a NoClassDefFoundError: javax/ejb/EJBObject. I am not using EJBs - any idea what could cause this error? -Original Message- From: Vidyanand Murunikkara [mailto:[

Re: Correct serialization based on WSDL

2003-01-24 Thread Dennis Sosnoski
Jeehong Min wrote: My question is: which is the correct serialization to XML based on WSDL? 1 or 2 or both? (And why?) Fragment shown is from inside the SOAP-ENV:Body. 1. http://tempuri.org/soapservices.Echo";> 2. http://tempuri.org/soapservices.Echo";> http://www.theminde

RE: deployment problem without .jws

2003-01-24 Thread Vidyanand Murunikkara
think it should be parameter and not option under service. -Original Message- From: David Gilbert [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 12:42 PM To: [EMAIL PROTECTED] Subject: RE: deployment problem without .jws Here is the deployment result in server-config.xml in

RE: deployment problem without .jws

2003-01-24 Thread Vidyanand Murunikkara
Can u try changing the servlet mapping entry to AxisServlet /services/* This shld hopefully fix the 404 -Original Message- From: David Gilbert [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 12:39 PM To: [EMAIL PROTECTED] Subject: RE: deployment problem without .j

RE: deployment problem without .jws

2003-01-24 Thread David Gilbert
Here is the deployment result in server-config.xml in webapps\axis\WEB-INF: Seems simple enough, but does anything look suspicious? -Original Message- From: Vidyanand Murunikkara [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 12:38 PM To: [EMAIL PROTECTED] Subjec

RE: deployment problem without .jws

2003-01-24 Thread David Gilbert
Here are my servlet mappings from the web.xml file in webapps/axis/WEB-INF: AxisServlet servlet/AxisServlet AxisServlet *.jws AxisServlet /services AdminServlet servlet/AdminServlet Seems to indicate that I should getting to the Axis Serv

RE: How to Override '?WSDL' to generate WSDL file and How to get web service list from Client?

2003-01-24 Thread Vidyanand Murunikkara
You might want to try using Axis beta 1 or the latest source tree. You might want to check out this thread http://marc.theaimsgroup.com/?l=axis-dev&m=103774880029351&w=2 Vidyanand. -Original Message- From: Ma, Yongjie [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 11:23 AM T

Correct serialization based on WSDL

2003-01-24 Thread Jeehong Min
Here are some fragments from a WSDL:     http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.themindelectric.com/wrappers/">      ...                      ...   In addition,xmlns:ns11="http://www.themindelectric.com/wrappers/" soap:body use="encoded" with encodingStyle="http

RE: AXIS App. Design/Architecture

2003-01-24 Thread Zhang, Frank
You could have one instance of a singleton per classloader depends if the class is 'visible' to the parent classloader. Frank -Original Message- From: Daleiden, Mike [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 2:24 PM To: [EMAIL PROTECTED] Subject: RE: AXIS App. Design/Arch

RE: AXIS App. Design/Architecture

2003-01-24 Thread Daleiden, Mike
Singleton will work as well. You would only have one instance of the singleton class PER JVM, not per thread. The biggest issue with a singleton is making sure that its methods are thread-safe. The best way to do this is to write very small, atomic methods and protect critical sections of a meth

RE: How to Override '?WSDL' to generate WSDL file and How to get web service list from Client?

2003-01-24 Thread Ma, Yongjie
Axis 1.0 release and tomcat 4.1.18. -Original Message- From: Vidyanand Murunikkara [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 11:07 AM To: [EMAIL PROTECTED] Subject: RE: How to Override '?WSDL' to generate WSDL file and How to get web service list from Client? which versio

Re: AXIS App. Design/Architecture

2003-01-24 Thread Steve Parker
sounds good to me On Fri, 24 Jan 2003 19:20:20 +, Nicolas Dinh wrote > Will the Singleton work? > > Manager.getInstance() will be called by the 'Server' object during > construction however, this construction will be called every > time a session is started. This means that each Server

Re: AXIS App. Design/Architecture

2003-01-24 Thread Nicolas Dinh
Will the Singleton work? Manager.getInstance() will be called by the 'Server' object during construction however, this construction will be called every time a session is started. This means that each Server object thread will have its own instance of the Singleton Manager object since it's

RE: Can't find resource for bundle

2003-01-24 Thread Tom Jordahl
Axis is looking up a message in the message file and it can't find it. See the file org/apache/axis/18n/resource.properties. -- Tom Jordahl Macromedia Server Development -Original Message- From: Brian Dillon (ext. 944) [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 4:16 AM T

RE: deployment problem without .jws

2003-01-24 Thread David Gilbert
Thanks, but same "not found" problem... AxisFault faultCode: http://xml.apache.org/axis/:HTTP faultString: Not Found faultActor: null faultDetails: [[#text: Not Found (404) Not Found (404) Original request: /axis/services/Product Not found request: /axis/services/Product ]] Any other idea

RE: How to Override '?WSDL' to generate WSDL file and How to get web service list from Client?

2003-01-24 Thread Vidyanand Murunikkara
which version of Axis are u using ? I think there was a bug fix on this post 1.0 Vidyanand. -Original Message- From: Ma, Yongjie [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 11:08 AM To: [EMAIL PROTECTED] Subject: RE: How to Override '?WSDL' to generate WSDL file and How to

Re: AXIS App. Design/Architecture

2003-01-24 Thread Ricky Ho
Who is making the Manager.getInstance() call ? Is it simpler by just declaring the object class in "application" scope ? Rgds, Ricky At 08:25 AM 1/24/2003 -0700, Wes Devauld wrote: The approach you can take is to create your 'Manager' classes as singletons. The idea is to make the constructors

RE: How to Override '?WSDL' to generate WSDL file and How to get web service list from Client?

2003-01-24 Thread Ma, Yongjie
I tried it before, it didn't work. -Original Message- From: Vidyanand Murunikkara [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 11:00 AM To: [EMAIL PROTECTED] Subject: RE: How to Override '?WSDL' to generate WSDL file and How to get web service list from Client? try placing t

RE: deployment problem without .jws

2003-01-24 Thread Vidyanand Murunikkara
Could you try using http://localhost:8080/axis/services/Product as the URL > -Original Message- > From: David Gilbert [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 24, 2003 11:12 AM > To: [EMAIL PROTECTED] > Subject: deployment problem without .jws > > I am runnin

deployment problem without .jws

2003-01-24 Thread David Gilbert
I am running Axis beta 2 (pre 1.0) on tomcat 3.2.4 on Windows2000 and cannot deploy a web service without using the instant deployment via .jws. I have successfully deployed using .jws (using the URL http://localhost:8080/axis/Product.jws in my client). Then I run a deployment script: (product_d

RE: How to Override '?WSDL' to generate WSDL file and How to get web service list from Client?

2003-01-24 Thread Vidyanand Murunikkara
try placing the wsdl in WEB-INF/classes and setting /GetQuote.wsdl Vidyanand -Original Message- From: Ma, Yongjie [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 10:52 AM To: [EMAIL PROTECTED] Subject: RE: How to Override '?WSDL' to generate WSDL file and How to get web service

RE: How to Override '?WSDL' to generate WSDL file and How to get web service list from Client?

2003-01-24 Thread Ma, Yongjie
This file was created by myself. I want to override automatically generate wsdl feature. -Original Message- From: Ghershony, Arie [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 10:42 AM To: '[EMAIL PROTECTED]' Subject: RE: How to Override '?WSDL' to generate WSDL file and How t

RE: How to Override '?WSDL' to generate WSDL file and How to get webservice list from Client?

2003-01-24 Thread Ghershony, Arie
There is no file getQuote.wsdl. -Original Message- From: Ma, Yongjie [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 12:22 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: How to Override '?WSDL' to generate WSDL file and How to get web service list

Re: Error: OperationDesc was not syncronized when invoking on a service

2003-01-24 Thread James Black
"Brian Dillon (ext. 944)" wrote: > So re-installing Tomcat and Axis (which is what I am in the middle of doing) > won't get rid of the problem ? It sounds like my best solution may be to > rollback Axis to verison1.0 (since I can't really create another service > because of configuration issues) ?

RE: give your views

2003-01-24 Thread Steve Parker
it's a classic case of industry buzzwords. the best approach is to have people give their definition of the term before assuming anything. EAI is another... app integration could be done any number of ways, but EAI usually implies that you use an integration broker middleware On Fri, 24 Jan 2

RE: Error: OperationDesc was not syncronized when invoking on a service

2003-01-24 Thread Brian Dillon (ext. 944)
James, So re-installing Tomcat and Axis (which is what I am in the middle of doing) won't get rid of the problem ? It sounds like my best solution may be to rollback Axis to verison1.0 (since I can't really create another service because of configuration issues) ? What do you think ? Thanks, Bri

Jabber: Does the Jabber Transport support beanMappings?

2003-01-24 Thread Jess Sightler
Hi James, I've been running some experiments with the Jabber transport for SOAP. One thing that I'm hitting a wall with is that it seems like the TypeMappings aren't being registered properly when serializing the response message. I can deploy the app with exactly the same axis.jar files using H

Re: Error: OperationDesc was not syncronized when invoking on a service

2003-01-24 Thread James Black
"Brian Dillon (ext. 944)" wrote: > What I am tying to figure out what is checked agains what, that way I can > try to find what has changed (this service used to work fine). I think it was due to a change in axis, but I don't know when it began to fail. The only solution I have found is to t

RE: How to Override '?WSDL' to generate WSDL file and How to get web service list from Client?

2003-01-24 Thread Ma, Yongjie
I still did not get it. I played it using CATALINA_HOME/webapps/axis/WEB-WEBINF/classes/samples/stock example, and I put GetQuote.wsdl in same directory too. In the deploy.wsdd, I defined: full_path_to_wsdl_file . After deployment, I can get custom wsdl file successfully from ?wsd

packages using .jws

2003-01-24 Thread David Gilbert
When I have a class that is in a package and I deploy using .jws I get a class not found error. The class is compiled and put in the package directory, but it appears that Axis expects it to be in the same directory as the .jws. Is this a correct understanding and thus a limitation of .jws deploy

RE: give your views

2003-01-24 Thread Mike Oliver
Ben is exactly right, and big companies use marketing hype to blur the use of the terms, everyone from Adobe to Oracle have stated they use/have "Web Services" and they aren't necessarily talking about SOAP. Michael Oliver AppsAsPeers LLC 7391 S. Bullrider Ave. Tucson, AZ 85747 Phone:(520)574-1150

Re: Web Services project - open for business

2003-01-24 Thread Davanum Srinivas
Last cross-posting, i promise...Added a IRC section on the web site. Anyone can use this channel to discuss web services related topics. Drop by if you have any questions. Thanks, dims --- Davanum Srinivas <[EMAIL PROTECTED]> wrote: > Folks, > > Please visit http://ws.apache.org. Subscribe to g

Re: Web Services project - open for business

2003-01-24 Thread Kevin . Bedell
Sorry for the cross post! This announcement is now on the O'Reilly Weblog page - http://www.oreillynet.com/weblogs/ Kevin

Error: OperationDesc was not syncronized when invoking on a service

2003-01-24 Thread Brian Dillon (ext. 944)
Hi, I am trying to depoy a service in axis (I have had services deploy for me before but lately things seem to be going backwards rather than forwards). When I go to invoke on the service or click on the wsdl using; http://myserver:8080/axis/services/Garage/TestService1?wsdl I get an exception

Web Services project - open for business

2003-01-24 Thread Davanum Srinivas
Folks, Please visit http://ws.apache.org. Subscribe to general mailing list. Let's start rockin'... Thanks, dims = Davanum Srinivas - http://xml.apache.org/~dims/ __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://

OperationDesc was not syncronized when invoking on a service

2003-01-24 Thread Brian Dillon (ext. 944)
Hi, (I sent this before but it didn't seem to get through) I am trying to depoy a service in axis (I have had services deploy for me before but lately things seem to be going backwards rather than forwards). When I go to invoke on the service or click on the wsdl using; http://myserver:8080/axis

RE: Axis MessageContext

2003-01-24 Thread Cory Wilkerson
Wes, Though this list isn't intended for servlet discussion...I'm fairly certain that there is (by default) exactly one instance of a servlet produced by an application server (unless you go the SingleThreadModel route). I think the servlet specification will back me up on this one: http://www

Re: AXIS App. Design/Architecture

2003-01-24 Thread Steve Parker
Yes, and remember to make the getInstance() method static so you can call it before the class has been instantiated. On Fri, 24 Jan 2003 08:25:41 -0700 (MST), Wes Devauld wrote > The approach you can take is to create your 'Manager' classes as singletons. > The idea is to make the constructors

Re: AXIS App. Design/Architecture

2003-01-24 Thread Steve Parker
Yes, and remember to make the getInstance() method static so you can call it before the class has been instantiated. On Fri, 24 Jan 2003 08:25:41 -0700 (MST), Wes Devauld wrote > The approach you can take is to create your 'Manager' classes as singletons. > The idea is to make the constructors

Re: AXIS App. Design/Architecture

2003-01-24 Thread Steve Parker
Yes, and remember to make the getInstance() method static so you can call it before the class has been instantiated. On Fri, 24 Jan 2003 08:25:41 -0700 (MST), Wes Devauld wrote > The approach you can take is to create your 'Manager' classes as singletons. > The idea is to make the constructors

WSIF 2.0 RC4 available

2003-01-24 Thread Nirmal Mukhi
Hi, WSIF version 2.0 RC4 is now available off http://xml.apache.org/axis/wsif. This is likely to be the final release candidate and promoted to the 2.0 release shortly. Thanks, WSIF development team.

Re: Axis MessageContext

2003-01-24 Thread Wes Devauld
Firstly I don't think there is only one instance of a servlet for all calls to a web context. The reason all member variables are static is because it does create several servlets. With Servlets you do have to deal with mulitple threading issues. Second, MessageContext.getCurrentContext does co

Re: How to implement a serializer/deserializer

2003-01-24 Thread Zhaohua Meng
I agree with you and I'm reading the Axis source code. I checked your site several times and found a lot of useful information. Can I ask you a big favour: put a tutorial there about how to write custom serializer/deserializer. That would benefit all of us here. I'd like to contribute once I fi

Axis MessageContext

2003-01-24 Thread Cory Wilkerson
Two questions: 1) Like servlets, is there exactly one instance of the service I've exposed via axis? 2) If so, can I operate under the assumption that MessageContext.getCurrentContext() directly correlates to the current request? Much like Thread.currentThread()? Thanks! Cory

Re: AXIS App. Design/Architecture

2003-01-24 Thread Wes Devauld
The approach you can take is to create your 'Manager' classes as singletons. The idea is to make the constructors for the class private and then use Manager.getInstance() like calls to get a hold of the object. An example class Manager { private Manager theOne; private Manager() {

AXIS App. Design/Architecture

2003-01-24 Thread Nicolas Dinh
Hi, This is my first time designing and implementing a system on AXIS. I'm trying to design an application that will require the use of such resources as sockets, database connections, file I/O. If i'm not mistaken, whenever I invoke a method on an object that is running on top of the AXIS servlet

Re: user-defined Exceptions

2003-01-24 Thread Olivier Gauwin
I've found the beginning of a solution for this problem, but I still have questions. Now my server code looks like : try{ ... } catch (MyException e) { String code = "Server"; String faultString = "The following exception has been raised by the server : " + e.getCl

AW: service deployment error

2003-01-24 Thread Sebastian . Beyer
ClassNotFoundException means that he cant find the class you are pointing on in your deployment. In this class StockQuote. Asure that this class is reachable by axis (classpath) or delete the entry from your wsdd-file. hope it helps -Ursprüngliche Nachricht- Von: Ghershony, Arie [mailto:[

RE: service deployment error

2003-01-24 Thread Cory Wilkerson
Make sure that com.wrox.jws.stockquote.StockQuote is in the classpath of the context to which you're deploying your service. Cory -Original Message- From: Ghershony, Arie [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 8:28 AM To: '[EMAIL PROTECTED]' Subject: service deployment

service deployment error

2003-01-24 Thread Ghershony, Arie
I am trying to deploy a service. can any one help me with that error: AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - java.lang.ClassNotFoundException: com.wrox.jws.stockquote.StockQuote AxisFault faultCode: {http://xml.apache.org/axis/}Server.userExceptio

Re: How to Override '?WSDL' to generate WSDL file and How to get web service list from Client?

2003-01-24 Thread Wes Devauld
Classpath for the particular service running in Tomcat. You can place it in service/WEB-INF/classes for instance, or within a jar in the lib directory. > Does this mean relative to the classpath at the time the service is > deployed into axis using AdminClient on a wsdd file, or some classpa

Exception handling in WS

2003-01-24 Thread Dapeng Wang
Hi, I would like to share your ideas about exception handling in WS. When I use a user-defined exception in my service method, I just got the string format of the exception, but not the exception object with the encapsulated attributes. I can surely understand, that such a exception class makes

Method with return type void.

2003-01-24 Thread Dapeng Wang
Hi, I have a very simple method called public void hello(String name); When I tried to invoke this method, everything seems fine when I just use call.invoke(new Object[] {"World"}); But if I call call.addParameter("name", Constants.XSD_STRING, ParameterMode.IN); before the invocation, I am force

AW: handler and client

2003-01-24 Thread Sebastian . Beyer
you just have to define the handler in -tag of your client-config.wsdd example: hope it helps Greetings from Hamburg/Germany Seppo -Ursprüngliche Nachricht- Von: Lars Girndt [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 24. Januar 2003 11:26 An: [EMAIL PROTECTED] Betreff: han

handler and client

2003-01-24 Thread Lars Girndt
hello, is it possible to attach a handler to the clients response flow and if it is, how do i do it. i want to receive a soap attachment part which i successfully added to the soap message on the server side via a handler. now i want to do it the same way on the client side. thanks, lars girnd

Axis extra configuration

2003-01-24 Thread Brian Dillon (ext. 944)
> Hi, > > Is there anyway in the WSDD to specifiy extra 'user' configuration which > is needed by a SOAP application. For example the '' in ejb > provides this for EJB applications; > > > UserEntry > > java.lang.String > > SomeStr

Can't find resource for bundle

2003-01-24 Thread Brian Dillon (ext. 944)
Hi, When I try to run a client against a deployed SOAP service I get an exception with the following error; Error: com.fineos.ta.test.driver.OTestCases.PersistenceTest.PersistenceTest_0001jav a.lang.reflect.InvocationTargetException: AxisFault faultCode: {http://xml.apache.org/axis/}Server.userE