RE: SOAP over JMS Deploying Services

2003-03-12 Thread Brian Dillon (ext. 944)
Hi, The print statements don't give me any service name. The AxisServer is instantiated using new AxisServer() so it picks up the server-config.wsdd in the directory it is being run from (this can be seen to be true when I call deploy to deploy the services). I am trying to use the RPC style,

AW: Using style Document in WSDD For Deployment

2003-03-12 Thread Oliver Adler
Title: Nachricht Hi, here is my wsdl, Service Skeleton and the stub Regards Oliver Oliver Adler, Senior ConsultantSYRACOM Systems AG - "The IT-Architects" Otto-von-Guericke-Ring 15D-65205 Wiesbaden Tel +49 6122-9176-0Fax

Axis last version !?!

2003-03-12 Thread Rosen Marinov
Hi all, I havea problem with Axis. Durring cheking previos mails in user mail listI see that this problem is fixed. Norris Merritt told in his replay (21.Feb.2003 ) to Coris Wilcerson "This is fixed in the nightly builds" The question is from where I can get last Axis?I needed JARs in

Re: Axis last version !?!

2003-03-12 Thread Erik Olof Stenflo
rosen, you don't have to build it yourself, you can get the latest builds here: http://ws.apache.org/axis/dist/ currently the latest release is version 1.1 RC2.. http://ws.apache.org/axis/dist/1_1rc2/axis-1_1rc2.tar.gz http://ws.apache.org/axis/dist/1_1rc2/axis-1_1rc2.zip On Wed, 12 Mar

Re: writing a beanMapping

2003-03-12 Thread Sonja Pieper
Sonja Pieper wrote: Virga wrote: if you use WSDL2Java you don't need to do registerTypeMapping, it will do it for you:-) no actually it really does not and I have asked around some more where I work, the people told me: oh geez no we write the clients ourselves. and yes it seems to be the

Web Services book

2003-03-12 Thread Kamau Allan
Perhaps this issue has been conversed before, if so I am sorry not to have read about it before hand. I am shopping for a good Web Services book that may cover building web services using Java. Thank you. Allan DISCLAIMER: This e-mail and any attachment sent with it are confidential and

RE: SOAP over JMS Deploying Services

2003-03-12 Thread Brian Dillon (ext. 944)
Hi, I got it to work, seems that I was setting the operation name incorrectly, instead of soapSrv.setOperationName(new QName(ServiceName,FnNoParm) ); I was using; soapSrv.setOperationName(new QName(SomeOtherURL,FnNoParm) ); this worked fine with SOAP over HTTP but not with

RE: Web Services book

2003-03-12 Thread Mark Galbreath
Graham, et al, Building Web Services with Java (Sams 2002). As a general rule, I think little of Sams' technical literature, but this is a good one - covers Axis very well. Mark -Original Message- From: Kamau Allan [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 6:34 AM To:

WSDD deployment problem

2003-03-12 Thread Daniel Elenius
Hi! I'm trying to deploy a simple hello world webapp with axis (1.1RC2) and tomcat (4.1.18). I've managed to get the example webapps, like the stock example, working, and happyaxis is happy, except that it says: XML Parser Location: Null I get a (500)Internal Server Error when I try to run

Re: Web Services book

2003-03-12 Thread NJ Rogers
Hi Not a book, but I've found the Java Web Services Developer Pack good http://java.sun.com/webservices/webservicespack.html Online tutorial http://java.sun.com/webservices/docs/1.1/tutorial/doc/index.html Description The JavaTM Web Services Developer Pack (Java WSDP) is a free integrated

Re: Web Services book

2003-03-12 Thread Hainer Neil
How about: Developing Java Web Services: Architecting and Developing Secure Web Services Using Java by Ramesh Nagappan, Robert Skoczylas and Rima Patel Sriganesh Kamau Allan wrote: Perhaps this issue has been conversed before, if so I am sorry not to have read about it before hand. I am

Re: writing a beanMapping

2003-03-12 Thread Sonja Pieper
Sonja Pieper wrote: Sonja Pieper wrote: Virga wrote: if you use WSDL2Java you don't need to do registerTypeMapping, it will do it for you:-) no actually it really does not and I have asked around some more where I work, the people told me: oh geez no we write the clients ourselves. and yes

Re: Standalone server questions

2003-03-12 Thread Dan Diephouse
I don't think you're being dense Sean. I have been pondering the same/similar question the last couple days. Maybe my experiences will be helpful to you - or maybe not ;). I want to be able to do this from within my application: axisService.exposeClass( String serviceName, String className

Standalone server questions

2003-03-12 Thread Sean Leblanc
I have some questions about adding Axis to an existing application. I want to be able to use web services to call methods on this application. That way, I only have one instance of the app running. Any ideas on the best path to take? I was looking at the "addr" sample, and I see it

RE: Standalone server questions

2003-03-12 Thread Doug Haigh
If you want to make a simple SOAP server using C++, try gSOAP. It does not need a web server and is free. Axis as a server is more suited for environments where Apache is running. You can use Axis (Java) or gSOAP (C++)as a standalone client. -Original Message-From: Sean

RE: Standalone server questions

2003-03-12 Thread Anne Thomas Manes
I know of three SOAP implementations for Java that directly support an embedded configuration (where you don't need to deploy the service into an app/SOAP server). Those three are Killdara Vitiris, Systinet WASP, and The Mind Electric GLUE. You can also do the same with Axis, but you need

Re: Need help with SOAP/Axis

2003-03-12 Thread Steve Loughran
- Original Message - From: Jindal, Ashwini [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 19:51 Subject: Need help with SOAP/Axis Hello All, I am just beginning to learn SOAP and its use, which means I am very new to SOAP. I have the following need: I

RE: Standalone server questions

2003-03-12 Thread Anne Thomas Manes
You would need to deploy a servlet engine in IIS (e.g., Tomcat), then you can deploy Axis into that servlet engine. gSOAP is a WSDL compiler for C++. IT generates an embeddable SOAP runtime system for your service app (presumably written in C++). Anne -Original Message-From:

RE: Standalone server questions

2003-03-12 Thread Sean Leblanc
Okay, thanks. Maybe I'm being dense, but how can I have the Axis that is deployed in the servlet engine communicate with my app? Or do I place my whole app into Tomcat's servlet engine. I'm familiar with Tomcat, but just trying to get my head around the web services aspect (so far, I've

Re: HTTPS problem: NullPointerException

2003-03-12 Thread Rosen Marinov
I found the same problem and question since 21.Feb.2003 Norris Merritt told in his replay (21.Feb.2003 ) to Coris Wilcerson -- "This is fixed in the nightly builds" and it is realy fixed in latest version of axis IT WORKS :-)! Thanks all. regards - Original Message - From:

Re: Handler chain implementation

2003-03-12 Thread Sreekant Thirunagari
Hi Toshi, Cool, I haven't yet subscribed for dev-ml .. but I am all set. Can you please attach this thread to bug description. Regards, Sreekant Toshiyuki Kimura wrote: Hi Sreekant, I have posted the patch for bug 15478 a few days ago. Then it has already been committed to the nightly

RE: Need help with SOAP/Axis

2003-03-12 Thread Mark Galbreath
I believe you mean HTTP headers. You can get them from the Response object returning the HTTP packet containing the SOAP envelope. Mark - Original Message - From: Jindal, Ashwini [EMAIL PROTECTED] To: [EMAIL PROTECTED] I am just beginning to learn SOAP and its use, which means I am

RE: Standalone server questions

2003-03-12 Thread Anne Thomas Manes
Sean, Axis is a SOAP server. Think of it as another type of application server container that runs in your app server. You deploy your app (the web service) in this container. You configure the service using a web service deployment descriptor (WSDD). As an alternative, you can write a little

Problem finding the DeserializerFactory

2003-03-12 Thread WALTERS,EUGENIO (HP-Boise,ex1)
Hello all, I have two services deployed within the same axis engine (lets call them service A and service B). I am trying to make a soap call from service A to service B, passing a custom type, but for some reason service B is unable to deserialize the object that it receives. Service A is able

Axis Builds and Clustered Environments

2003-03-12 Thread Nicholas
I am in the process of putting together my ant scripts and integration process and I have realized something problematic about WSDL2Java. The issue is that the classes generated have an IP address, or host name **hard coded** into them in the following classes: SoapBindingStubs ServiceLocators

RE: Maintain Session with .NET and AXIS

2003-03-12 Thread Sateesh Ayyagari
Hi Thomas, I read the mailing list and found your reply to "Stateful Web Services" stating that the SOAP header solution to maintaining state would be the right approach rather than the Cookie-based approach. I could maintain session and application scope using the HTTP cookies set on the client

RE: Web Services book

2003-03-12 Thread Trieu, Jason T - CNF
I've been using Wrox's AXIS Next Generation Java SOAP by Romin Irani S. Jeelani Basha. It does not go very deep but big help if you're new to AXIS/SOAP. Jason -Original Message- From: Kamau Allan [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 3:34 AM To: '[EMAIL PROTECTED]'

RE: Web Services book

2003-03-12 Thread Paris Apostolopoulos
I definetely agree woth Jason!Using this book I managed to make some great progress when it comes understanding AXIS , alright after a while you might find it a bit restricitve and some of the examples might not work , but for a newbie is the best soltuin around! I know wrox is preparing a new

RE: Web Services book

2003-03-12 Thread Mark Galbreath
I hope it's better than the Chappell and Jewell book...it sucks. Mark -Original Message- From: Paris Apostolopoulos [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 2:01 PM I hope Oreilly will have a book about Axis too! Papo

Accessing 'raw' document body.

2003-03-12 Thread Erich Oliphant
Hello, I am using Axis to make calls against a SOAP service that uses document style messaging. The Axis classes make it much easier to send requests and deal w/ the responses. I have one situation where I need do several request/replies but I need to hand the unparsed response document

RE: Accessing 'raw' document body.

2003-03-12 Thread WALTERS,EUGENIO (HP-Boise,ex1)
You could use a response handler to retrieve the response message. your deploy.wsdd could look something like this: service name="test" provider="java:RPC" responseFlow handler type="java:CustomHandler" parameter name="scope" value="scope"/ /handler /responseFlow parameter

RE: Accessing 'raw' document body.

2003-03-12 Thread Naresh Bhatia
Title: Message And if you are trying to access only the raw SOAP body, you can do it with the "message" style supported by Axis. The user's manual has more details, but essentially your service would have to expose a method with one of 4 signatures as described in the manual. Here is some

Re: Accessing 'raw' document body.

2003-03-12 Thread Erich Oliphant
Thanks, But I thought the handlers only applied to the server side? I need to get the doc body with the client API. - Original Message - From: WALTERS,EUGENIO (HP-Boise,ex1) To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 2:17 PM Subject: RE: Accessing 'raw'

RE: Web Services book

2003-03-12 Thread Harry . Kobetitsch
oh great another Wrox photo -Original Message- From: Paris Apostolopoulos [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 1:01 PM To: [EMAIL PROTECTED] Subject: RE: Web Services book I definetely agree woth Jason!Using this book I managed to make some great progress when it

RE: Accessing 'raw' document body.

2003-03-12 Thread WALTERS,EUGENIO (HP-Boise,ex1)
Well in that case you need to change the default engine of the service object that could use to get the call object. You can addthe handler there. It could look something like this although I have never tried it: public class MyEngineConfiguration extends SimpleProvider {

How to preconfigure web service

2003-03-12 Thread Brian Ko
Hi, I posted this question before. I guess it was lost somehow. Here is my question. I am developing web service using axis on jboss 3.0 tomcat 4.X.X. My plan is to package all the services along with our J2EE application and distribute it to customer as a war file or ear file. My goal is to

Re: Accessing 'raw' document body.

2003-03-12 Thread Sloan Seaman
How about: SOAPEnvelope envelope = call.invoke( envelope ); SOAPBody body = envelope.getBody(); and then you can get the raw XML via toString() or parse it using the already populated SOAPElement objects so you don't go throught the performance hit of populating another DOM like object

Re: How to preconfigure web service

2003-03-12 Thread Ben Walding
No idea if this is the right way or not, but axis will read WEB-INF/server-config.wsdd by default. I added my services to this file. Whatever you do, do not just have a server-config.wsdd file with just your service (how long did it take to find that out!), you need to have all the global

RE: How to preconfigure web service

2003-03-12 Thread Brian Ko
Ben, Thank you for the help. It just worked fine with tomcat. However, when I include server-config.wsdd in the war file and deploy it into jboss/tomcat combo, somehow the file was not copied into WEB-INF. Consequently, the service becomes available only after I run AdminClient. The weird thing

RE: Accessing 'raw' document body.

2003-03-12 Thread Phil Bohnenkamp
Here is another way of doing it which I found convenient to use. Not sure if it isfor better or worse though: class SomeClass { SomeMethod() { org.apache.axis.client.Service myService = new org.apache.axis.client.Service; // Initialize service and call objects normally

Re: Accessing 'raw' document body.

2003-03-12 Thread Erich Oliphant
Ok, I'm getting the impression that there's no lazy man's way around this :) I've been invoking methods on the object that corresponds to the WSDL port. These methods are convienient, taking and returning Axis-genned objects, I was hoping that I could basically use this approach and

Re: Accessing 'raw' document body.

2003-03-12 Thread Sloan Seaman
Someone else here maybe able to help you with that one. I ended up having to create the request envelope myself because the handlers kicked in too late in the process to do anything meaningful if the xml that is returned is invalid (whyI have to parse mine manually, thank you

Re: Web Services book

2003-03-12 Thread Steve Loughran
- Original Message - From: Paris Apostolopoulos [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 11:00 Subject: RE: Web Services book I definetely agree woth Jason!Using this book I managed to make some great progress when it comes understanding AXIS , alright

Re: Accessing 'raw' document body.

2003-03-12 Thread Erich Oliphant
Based on what I am seeing, it looks like the best thing to do is drop back to the Call object. I think I can still get some of the benefits of the upper level stuff by calling the (presumably) internal Axis classes that convertinstances Axis-genned classes into XML to build the request.

Re: using axis within an applet

2003-03-12 Thread Erik Olof Stenflo
I believe it is currently not yet possible to run axis within an applet. Please correct me if I'm wrong. (Anyone, please!) I've had this same problem and I've seen it described by serveral others, but haven't found a solution yet either. The reason why axis can't be run within a browser is

Re: How to preconfigure web service

2003-03-12 Thread Steve Loughran
- Original Message - From: Brian Ko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 11:47 Subject: How to preconfigure web service Hi, I posted this question before. I guess it was lost somehow. Here is my question. I am developing web service using axis on

RE: Standalone server questions

2003-03-12 Thread Sean Leblanc
Wow, thanks for all the info! It's going to take a while before I'll be able to digest all that, but someone else here may have some time to delve into it before I do. I definitely appreciate all the pointers. Cheers, Sean -Original Message- From: Dan Diephouse [mailto:[EMAIL PROTECTED]

RE: Web Services book

2003-03-12 Thread Paris Apostolopoulos
I should point out that some of the Irani and Bashar is wrong, because those bits in Axis havent ever worked. Example: Global Fault handling and lifecycles. If they'd written code to test these things, they would have noticed. The fact that they didnt, worries me. The source is there, why didnt

RE: Web Services book

2003-03-12 Thread Mark Galbreath
+1 Wrox sucks for Java. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 4:06 PM To: [EMAIL PROTECTED] Subject: RE: Web Services book the quality of wrox books imho have taken a plunge in the last couple of years. However, O'Reilly

WSDL envelope parser

2003-03-12 Thread Ghershony, Arie
Title: RE: using axis within an applet Hi, This is an envelope received in the Buffer of .NET C++ client. Does any one know why the parser is unable to parse the value xsd:string"Hello... and what should I do to the WSDL (on apache\axis) to solve this problem? Thanks, Aria ?xml

RE: Need help with SOAP/Axis

2003-03-12 Thread Almeida, Timothy
Ashwini, I haven't tried it personally, but this is what I believe you'd need to do: Create your own Handler, and use that to access the MessageContext See MessageContext.getRequestMessage() -Original Message- From: Mark Galbreath To: [EMAIL PROTECTED] Sent: 3/12/2003 11:22 AM Subject:

RE: Need help with SOAP/Axis

2003-03-12 Thread Aaron . Knauf
It is not necessary to implement a 'Handler'. The class that implements the SOAP service itself also has access to the MessageContext, from which you can retrieve the HTTP request and response objects. Just use MessageContext.getCurrentContext(). Cheers ADK

RE: WSDL envelope parser

2003-03-12 Thread Anne Thomas Manes
Title: RE: using axis within an applet I suspect the problem is that getBattleReturn isn't namespace qualified. It should be: ns1:getBattleReturn xsi:type="xsd:string"Hello/ns1:getBattleReturn The WSDL looks fine. I'd look at the service or the WSDD. -Original Message-From:

Apache Tomcat 3.2.4 + Apache Axis RC1+ Jacorb 1.4 + Jdk 1.4

2003-03-12 Thread Viraj Bhat
Hi all, I am sorry if I am asking this question on the jacorb mailing list since I felt that maybe I could get answers from this well maintained/coordinated mailing list. I am using Jacorb.jar along with the tomcat 3.2.4,Java 1.4 and I have done modifications to the ${TOMCAT_HOME}/bin/tomcat.sh

Re: Web Services book

2003-03-12 Thread Steve Loughran
- Original Message - From: Paris Apostolopoulos [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 13:05 Subject: RE: Web Services book I should point out that some of the Irani and Bashar is wrong, because those bits in Axis havent ever worked. Example: Global

RE: using axis within an applet

2003-03-12 Thread Anne Thomas Manes
Title: RE: using axis within an applet I recommend using either Wingfoot or GLUE in applets. -Original Message-From: Anecito, Anthony (HQP) [mailto:[EMAIL PROTECTED]Sent: Wednesday, March 12, 2003 4:09 PMTo: 'Erik Olof Stenflo'; [EMAIL PROTECTED]Cc: [EMAIL

Re: Web Services book

2003-03-12 Thread Michael Yuan
I wrote a book on Ant with Erik Hatcher last year (product placement:java development with ant, http://manning.com/antbook). You can look at our progress through Ant's CVS log and the bugzilla system: we found oodles I found Erik and Steve's ANT book excellent. Before I read that book, I was

RE: Web Services book

2003-03-12 Thread Paris Apostolopoulos
Dear Steve! First of all I respect what you are saying since you are more experienced than me (undergraduate student here) but then again as you have said..sometimes Oreilly or Wrox want to sell..and to be more precise want to sell more and quickly! I want to comment on your facts about the Ant

Stateful Web Services

2003-03-12 Thread Sateesh Ayyagari
Hi, I am trying to maintain session state between an AXIS client and a C# Web Service. I produced the Java stubs on the client side and tried to set the session state with the setMaintainSession method in the stub, but the data isnt persistent. Did anyone work on this? If so could you kindly

Re: Web Services book

2003-03-12 Thread Mark Mueller
I have to admit, the Ant book is a pleasure to read. I didn't have a particular reason to learn ant -- I could get by for what I knew -- but there really is a lot more to the book. The philosophy on how to handle builds makes sense. Mark --- Michael Yuan [EMAIL PROTECTED] wrote: I wrote

RE: Maintain Session with .NET and AXIS

2003-03-12 Thread thomas . cherel
With cookies, the session id is sent between the client and the server in the HTTP headers, meaning that it is bound to the transport protocol. Change the protocol (for example, use JMS) and it does not work anymore. If you look at the SOAP specification (from w3c.org), a SOAP message is

Re: Web Services book

2003-03-12 Thread Steve Loughran
- Original Message - From: Michael Yuan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 16:26 Subject: Re: Web Services book I wrote a book on Ant with Erik Hatcher last year (product placement:java development with ant, http://manning.com/antbook). You can

Re: Web Services book

2003-03-12 Thread Steve Loughran
- Original Message - From: Paris Apostolopoulos [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 16:35 Subject: RE: Web Services book Dear Steve! I want to comment on your facts about the Ant book! I agree with your process , but we can not compare a book about

Dont want to use Beans any other alternative?

2003-03-12 Thread Jinesh Varia
In my application, I cannot/dont want to use beans.. Is there any way I can generate the traditional java data class ? I have something of this in my WSDL: previously when I had the publications element as a seperate element like sequence element name=Publication type=dblpxsd:Publication /

RE: using axis within an applet

2003-03-12 Thread Anecito, Anthony (HQP)
Title: RE: using axis within an applet Hi Erik, I was able to run Axis in an Applet. Yes, you are right about java.policy needing modifications. I dropped using Axis on the client side even though it was working for other reasons like the combined size of all the jars needed was way way too