Re: As soon as I read...the next step should be simple...

2002-11-12 Thread Steve Loughran
- Original Message - From: "Mike Oliver" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 12, 2002 5:06 PM Subject: RE: As soon as I read...the next step should be simple... > I wasn't worried and I will provide input when I see the need...so you > fixed Step 3/5? >

Re: Packaging question

2002-11-12 Thread Steven Gollery
Barry, I usually put all the jars in the WEB-INF/lib directory under whatever directory my web service is in. I think there was some discussion at one point about what to do when multiple web services share the same libraries, but I don't remember what the consensus was (if any). Steven Goller

Re: Adding/Setting a SOAPAction

2002-11-12 Thread Steven Gollery
Dave. Would it work to do this: msg.getSOAPPart().getMessage().getMessageContext().setSOAPActionURI( "/ftr/xml/submit"); Steven Gollery David Orriss Jr wrote: I'm trying the following code to set a SOAPAction: MessageFactory msgFactory = MessageFactory.newInstance(); // Create a mes

Re: (Chained) Exceptions and beanMapping

2002-11-12 Thread Steven Gollery
Ruslan, Would something like this be workable for you: Don't expose your existing class as a web service. Instead, create another class as a wrapper. In that class, each operation would call a method in your existing class, something like: public returntype WebVersion( parameters ) { try {

RE: As soon as I read...the next step should be simple...

2002-11-12 Thread Mike Oliver
I wasn't worried and I will provide input when I see the need...so you fixed Step 3/5? Michael Oliver AppsAsPeers LLC 7391 S. Bullrider Ave. Tucson, AZ 85747 Phone:(520)574-1150 Fax:(520)844-1036 -Original Message- From: Steve Loughran [mailto:steve_l@;iseran.com] Sent: Tuesday, Novembe

Urgent - WSDL2Java takes a very long time to build Java stubs from a WSDL file

2002-11-12 Thread Vijetha Vadlakonda \(vijetha\)
Title: Message Hi,   I have a WSDL file that I would like to generate Java stubs from, using the WSDL2Java tool. With no options set, it used to time out giving the "emitter timed out" error. Once I disable the timeout it took almost ~12 hours to give me an output. After all that it gave me

Re: (Chained) Exceptions and beanMapping

2002-11-12 Thread Steve Loughran
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 12, 2002 1:42 PM Subject: RE: (Chained) Exceptions and beanMapping >Can anyone explain clearly WHY developers are forced >to inherit from AxisFault class? >It is a huge problem with the AXIS p

Re: As soon as I read...the next step should be simple...

2002-11-12 Thread Steve Loughran
- Original Message - From: "Mike Oliver" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "'Thomas Hicks'" <[EMAIL PROTECTED]>; "John Lauer" <[EMAIL PROTECTED]> Sent: Tuesday, November 12, 2002 1:47 PM Subject: RE: As soon as I read...the next step should be simple... > Steve, > > I hope

Re: Another thing about /samples/

2002-11-12 Thread Steve Loughran
- Original Message - From: "Mike Oliver" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "'Thomas Hicks'" <[EMAIL PROTECTED]>; "John Lauer" <[EMAIL PROTECTED]> Sent: Tuesday, November 12, 2002 2:13 PM Subject: Another thing about /samples/ > Once I got the first \sample\deploy.wsdd to de

Another thing about /samples/

2002-11-12 Thread Mike Oliver
Once I got the first \sample\deploy.wsdd to deploy with the AdminClient, I liked it so much I decided to deploy all of the samples so I did.   Now the AxisServlet (View link on the /axis/index.html) shows JUST the ProxyService.   So I deployed \samples\echo\ and restarted Tomcat   And

Re: As soon as I read...the next step should be simple...

2002-11-12 Thread Alex Dovlecel
and another thing about the axis samples. There seems that the addressbook sample does not have the deploy.wsdd file. So the testit.sh does no work. ;( Sorry if I am wrong. And it seems this is not the only service that does not have the wsdd files. :o( Hope you are not mad because I say thi

RE: Returning a parameter, ie. an [out] parameter

2002-11-12 Thread Tom Schuring
just saw a sign-off that is pretty funny: 10q This correspondence is for the named person's use only. It may contain confidential or legally privileged information, or both. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this correspondence in error,

Re: As soon as I read...the next step should be simple...

2002-11-12 Thread Alex Dovlecel
But the question remains. (never answered) When I run a client (or the admin class), should I have the HttpServlet class in my classpath or not? and again, wich is the sample for Session management (tracking). 10q dovle > Steve tells me it's a bug that is fixed in last nights build. > >

RE: As soon as I read...the next step should be simple...

2002-11-12 Thread Mike Oliver
Steve tells me it's a bug that is fixed in last nights build. Michael Oliver AppsAsPeers LLC 7391 S. Bullrider Ave. Tucson, AZ 85747 Phone:(520)574-1150 Fax:(520)844-1036 -Original Message- From: Alex Dovlecel [mailto:dovle@;ford.kbs.twi.tudelft.nl] On Behalf Of Alex Dovlecel Sent: Tuesd

RE: As soon as I read...the next step should be simple...

2002-11-12 Thread Mike Oliver
Steve, I hope you noted my tongue in cheek approach. I was in the process of documenting the steps for one of my people and thought it might be useful for others trying to do what "should be simple" ;-) I hoped you would notice my Ant commentas one of the Acknowledged Reviewer's of your book

RE: (Chained) Exceptions and beanMapping

2002-11-12 Thread Ruslan . Zenin
Can anyone explain clearly WHY developers are forced to inherit from AxisFault class? It is a huge problem with the AXIS product. The reality is that lots of developers adding WEB Services to EXISTING applications. And there is no way to change existing exceptions nor register custom serializer/d

Java Methods & Bean Mapping

2002-11-12 Thread Ramon Arias
Hello there! When doing bean mapping is there a way to force the creation of the source objects´s methods on the mapped object. Ex If a have a validate method that checks the values of the object´s properties, is there a way to migrate that method to the mapped object. Best Regards Ramon

Re: As soon as I read...the next step should be simple...

2002-11-12 Thread Alex Dovlecel
I also have some strange problems. It seems to be a little bit related. I am using tomcat 1.4.1 and axis 1.0. If I don't place the servlet.jar in my path, I cannot run the deploy tool. It gives me an NoClassDefFoundError: javaxHttpServlet. If I place the HttpServlet in the CP then no prob

Re: How I can send a XML file using AXIS

2002-11-12 Thread Alex Dovlecel
> service approach altogether and just do a file download. Or you can read > the file into a String and return that, avoiding the overhead of Performance question: it will be faster (or at least not so memory consuming) to use BYTE_ARRAY (BASE64) encoding insteand of using String ? At least with

Re: As soon as I read...the next step should be simple...

2002-11-12 Thread Steve Loughran
> Axis is ok, the Installation Guide sucks, but that's ok, I won't be > reading that again...;-)> I rewrote a fair bit of the doc last weekend, so I am disappointed that you find how I spent my friday evening unsatisfactory. Perhaps you would like to contribute some of your spare time to the ta

Re: How I can send a XML file using AXIS

2002-11-12 Thread Steven Gollery
Amit, In the samples/message directory, there is an example of how to send and return XML. The example operation uses a Vector and an array of Element objects, but you can send and receive Document objects just as easily. Be sure to notice in the deploy.wsdd file that provider is "java:MSG", n

Re: java.lang.NoClassDefFoundError is plaguing me

2002-11-12 Thread Steven Gollery
I've also had similar problems with compiling JSPs under TOMCAT. I think what's happening is that, since a JSP has to be compiled, TOMCAT runs javac. But javac obviously doesn't use the same custom class loader that Axis uses, so in order to make those jars visible to the compiler, they have to

Re: (Chained) Exceptions and beanMapping

2002-11-12 Thread Steve Loughran
Exceptions are special, as they go back over the wire as soapfaults, the intent being better interop. 1. look at what the JAX-RPC spec has to say 2. look at AxisFault and how exceptions are handled. You will probably have to sublcass AxisFault or java.rmi.RemoteException for anything to work ---

Initialization Parameters

2002-11-12 Thread Ben Souther
What is the best way to pass an initialization parameter to a webservice? Can this be done from the wsdd? Can a webservice access the servlet context to get parameters? Ideally, I'd like to do this in a way that doesn't require that the service be re-deployed if the parameters need to be changed.

As soon as I read...the next step should be simple...

2002-11-12 Thread Mike Oliver
I knew I was in trouble. Axis Installation Step 0 Through Step 4 All ok. Happy Axis had all it "needed" only "missing" was the security, xmlsec.jar...no problem. Version and EchoHeaders both worked peachy. Step 3...;-) Very funny...the next step should be simple...and it should be Step 5

Axis: Help with correct typeMapping for JavaBean

2002-11-12 Thread Akin Ayi
I am using Axis 1.0, Is this how to go about what I need to do ? //My service, EchoService, returns whatever I send in MyBean. // With a simple Bean structure, it works just fine. public class MyBean { private String name = null; private float price = 0.0f; // Get & Set Methods } The .wsdd h

RE: resources m$_interop service_parameters

2002-11-12 Thread Vidyanand Murunikkara
Hi Oliver For 3 check out this http://marc.theaimsgroup.com/?l=axis-user&m=103670473018220&w=2 and follow the thread for pro's and con's Vidyanand. -Original Message- From: Olivier Fauchon [mailto:olivier@;labocom.com] Sent: Tuesday, November 12, 2002 2:06 AM To: [EMAIL PROTECTED] Subjec

RE: Customizing the WSDL generation.

2002-11-12 Thread Norman, Eric
I agree that providing a wrapper would be the easiest way if I only had a few methods that needed to be wrapped. However, I would prefer to not do that because the requirements of the project are to automatically expose the methods as webservices without a lot of extra development work. We did so

(Chained) Exceptions and beanMapping

2002-11-12 Thread Hicks, SJC (Steve)
I've created a custom exception in WSDL with some extra fields in it, generated the Java and deployed it all successfully (including setting up a beanMapping), but the extra fields don't seem to be serialized and deserialized to XML. The generated exception class has all the right constructors an

RE: Why is xsd:type and namespace required for BeanDeserilizer fo r co mplex types?

2002-11-12 Thread Chris Forbis
Looks like axis will generate this "bad" code as well, but will not read it...   For example    0pid>    xsi:type="xsd:string">Test desc    xsi:type="xsd:long">12345 beanStruct> is what my "bad" client is doing. Axis will also generate the EXAC

RE: Why is xsd:type and namespace required for BeanDeserilizer for co mplex types?

2002-11-12 Thread Tom Jordahl
  Axis should (and does, I believe) do the right thing with this.   You need to make sure you have the correct typeMapping registered for the Qualified Name (QName) "{namespace}beanStruct". The namespace would be defined in the XML, in your case as "xmlns="my-namespace" in an element above

Creating only abstract part in a WSDL file from a Java Interface

2002-11-12 Thread Bahman Kalali
Hi all,   I am trying to create abstract defination of WSDL file from a Java interface. That is, I don't want to have service and ports elements in my WSDL file. So, I use the Java2WSDL command as follows on the ServersPortType interface.   >java org.apache.axis.wsdl.Java2WSDL -o ServicePort

RE: Why is xsd:type and namespace required for BeanDeserilizer for complex types?

2002-11-12 Thread Chris Forbis
Title: Message I looked at this setting, but is seems this is for when axis responds what it should do.  The issue I have is I need to make it support taking in soap messages that do not have this data.     -Original Message- From: Jesper Söderlund [mailto:[EMAIL PROTECTED]] Se

RE: Why is xsd:type and namespace required for BeanDeserilizer for complex types?

2002-11-12 Thread Jesper Söderlund
Title: Message You can set a property in the config-file whether to use xsi-types or not.   I haven't personally run axis with the setting to "false" so I couldn't tell you how it works...   http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">       

RE: Why is xsd:type and namespace required for BeanDeserilizer for complex types?

2002-11-12 Thread dweber
You should try it without the types, but with the namespaces.  I believe Axis looks up fields using a qualified name (look at the client stub code in the constructor for an example of  field descriptor metadata).  I've had issues with Axis and some complex types, but I don't put them in for

Why is xsd:type and namespace required for BeanDeserilizer for complex types?

2002-11-12 Thread Chris Forbis
Why are xsd:type and xmlns: required for BeanDeserializer for complex types?  The reason I ask this is many soap servers seem to not care about these fields being provided but axis will fault without them.  (Gets a SAX Exception in BeanDeserializer)   An example below shows part of a soap

Re: Proxy Creation

2002-11-12 Thread Lachezar Dobrev
Hi. Does it take 3 seconds the first time, or each time you create a proxy. I had the same headbang with SSL, and it came out to be that the first time I created the SSL connection it loaded many classes, initialized them, created the static objects, fields etc. That took about 10-15 secs on

Proxy Creation

2002-11-12 Thread Ramon Arias
Hello there! I have been doing some testing and I happen to notice the it takes about 3 seconds to instantiate a proxy object. I cant think of much work happening there. Does anybody know why it takes that long. Best Regards Ramon

How to customize ?WSDL -- Newbie Question

2002-11-12 Thread cmchenry
Hello,         I am trying to have my /axis/services/MyService?wsdl command emit a more complicated wsdl file that is created by default.  I generated my Skeleton and Implemenation files from WSDL2Java off a WSDL file created by someone else.  I am trying to implement the same services on Axis.  

Re: XML instead of WSDL?

2002-11-12 Thread James Black
Emma Johansson wrote: > I would like to send different parameters to the server. These > parameters should be able to have several values. > I mean, my program should modify a register that contains name, phone > number, email, address etc. As some people have more than one email > address they sh

resources m$_interop service_parameters

2002-11-12 Thread Olivier Fauchon
Hi, It seems this M.L. is the best source of informations over the net .. I'm new to SOAP/AXIS/this ML, so please excuse me for the following stupid questions :-) 1. Resources I'm looking for detailed case study of services using custom types/javabean , from AXIS server to MS SOAP Toolkit cli

Re: Why seleton and are web service push technology?

2002-11-12 Thread Dennis Sosnoski
Mattia dongili wrote: You are suggesting a "dangerous" approach where you generate WSDL from existing Java classes. Although most popular examples most but that's exactely what tha Java2WSDL utility does. And I'm expecting it will use my original Java class as a service instead of the gene

Re: XML instead of WSDL?

2002-11-12 Thread Emma Johansson
I would like to send different parameters to the server. These parameters should be able to have several values. I mean, my program should modify a register that contains name, phone number, email, address etc. As some people have more than one email address they should be able to fill them in, b

RE: Why seleton and are web service push technology?

2002-11-12 Thread Mattia dongili
> At 11:20 AM 11/11/2002 +0100, niksa_os wrote: > >> 1) For what reason skeleton classes exist, I mean the ability to generate this >> classes? If I have java class I use axis and make wsdl and client stub. Why >> skeleton classes? > > You are suggesting a "dangerous" approach where you generate WS