Re: Newbie: How to retrieve SOAP message?

2004-03-23 Thread Kawthar Bt M Sulaiman
Hi Steve, I've been reading your email over and over again and still not 100% sure what you meant... I've done lots of reading and research and trying to put the pieces together appreciate your help. Without having web service in mind, this is what I had done (it's not complete yet, but just

Re: Multiple server responses?

2004-03-23 Thread Harald Pollak
you can do this by writing a so called "Handlers" take a look ad the axis architecture- documentation and you will see  there is a chain for invoking services as well on the client side as allso on the serverside allso for leaving them. I thing the documentaion is very well, but if you have fu

Re: AdminClient throws NoClassDefFoundError

2004-03-23 Thread Mei Wu
hey, R4 isn't hard at all, but I have not started it yet myself... - Original Message - From: "Grant Hulbert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 23, 2004 6:48 PM Subject: AdminClient throws NoClassDefFoundError > I have Axis installed on Mac OS X Panther wit

AdminClient throws NoClassDefFoundError

2004-03-23 Thread Grant Hulbert
I have Axis installed on Mac OS X Panther with Tomcat 4.1.30, and my simple .jws files work great. Now that I've graduated to more complex needs (I need to return nonstandard data types), I'm trying to deploy a web service wsdd-style. I get an error when executing Admin client though: granthul

InvocationTargetException

2004-03-23 Thread Jean-Christophe Praud
Hi all, I've got this exception on my server after a SOAP call : [2004-03-23 22:58:31] AXIS FAULT: java.lang.reflect.InvocationTargetException AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.reflect.InvocationTargetExcepti

RE: basic questions before start using Axis...

2004-03-23 Thread Omprakash . Bachu
Hi Anne, thanks very much for the pointers and I'm convinced by the answers. But I got another couple of questions from your answers, - Is there any out-of-the-box sample or document which allows me to write/add handler to handler chain. - You are right, typically header blocks are intended for

Re: Multiple server responses?

2004-03-23 Thread Gareth Western
Thank you all for the responses, They've all been very informative! I also have another (basic) question to ask... I have a service written for axis, however I'd like that service to perform some initial functions before being accessed (ie when the service is deployed)... how do I go about this?

wsdl spec examples - do they work?

2004-03-23 Thread Nitin Mulimani
Hi, I posted a similar message earlier, but yet to hear some response :-) Anyways, I tried to generate WS from sample WSDL (section 1.2) in WSDL specs, but have not been successful. I have placed the wsdl at http://localhost:8080/jboost/stockquote.wsdl And my server side classes are in tomcat/w

RE: Attachment from Axis service causing .NET to Error

2004-03-23 Thread sergeant
Ok, I upgraded from Tomcat 4.1.29 to Tomcat 5.0.19 and the problem was fixed. I used tcpmon to verify that the ";charset=iso-8859-1" is no longer being added to the "Content-Type: application/dime" header. I then ran my .NET client test program and it worked, where previously it failed with error

FW: Axis/SSL with Apache/Tomcat

2004-03-23 Thread insoo lee
Hi, Actually, it has nothing to do with SSL... We took out https portion, it still resulted in same "Bad envelope tag: html" error. So this must be Apache in the middle... Our set up with Axis Client -> Tomcat/Axis Server works great. However, If we introduce Apache in the middle for redirectin

Re: java2wsdl include wsd file

2004-03-23 Thread Jeff Greif
MessageIt appears that this is not exactly best practice, although the WSDL 1.1 spec is ambiguous and some processors for it are loose enough to allow it. More recently (in the deliberations over WSDL 1.2) I believe it was established that wsdl:import may only appear as a child of wsdl:definitions

RE: Attachment from Axis service causing .NET to Error

2004-03-23 Thread J . Sugrue
Did you try changing the MIME type like this - worked for me : DataHandler dhSource = new DataHandler(new String(bytes), "text/xml"); "David Keyes" <[EMAIL PROTECTED]> 23/03/2004 16:21 Please respond to [EMAIL PROTECTED] To <[EMAIL PROTECTED]> cc Subject RE: Attachment from Axis service

RE: Attachment from Axis service causing .NET to Error

2004-03-23 Thread David Keyes
What are you using for Tomcat and AXIS version-wise? Can you route through tcpmon, and include the HTTP headers for the AXIS response to the RPC? I'm still not able to get this to work. I get the following error from .NET WSE sp1 client: "Client found response content type of 'application/di

Re: services prefix assumption in org.apache.axis.transport.http.AxisServlet

2004-03-23 Thread Ellis Pritchard
Hi, Actually, this is bug #22033: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22033 Ellis. Ellis Pritchard wrote: Hi, There seems to be a small but rash assumption that all axis installations have the URL pattern /*/services in AxisServlet.reportAvailableServices; the code (Axis 1.x)

services prefix assumption in org.apache.axis.transport.http.AxisServlet

2004-03-23 Thread Ellis Pritchard
Hi, There seems to be a small but rash assumption that all axis installations have the URL pattern /*/services in AxisServlet.reportAvailableServices; the code (Axis 1.x) says: String baseURL = getWebappBase(request)+"/services/"; which generates the base for the URL used to show the li

RE: java2wsdl include wsd file

2004-03-23 Thread Oleg Lebedev
Title: Message Hi Jagannath.   See the bottom of this messsage for the description of how I imported the Set schema.   Can anyone else help us make the process of importing external XML scemas into the wsdl file automatic? How should this be done with the Ant builds? My feeling is that mos

axis doesn't generate wsdl automatically

2004-03-23 Thread Dario Di Minno
I wrote a doc/lit web service, I deployed it, but appending "?wsdl" to the url of the service I can't get the wsdl; I get a HTTP 500 error instead. I've read that someone puts the wsdl file in the filesystem, but I'd like axis to build it when I ask to do so. Can you help me? Dario

Axis/SSL with Apache/Tomcat

2004-03-23 Thread insoo lee
Hi, we are trying to do basic auth with SSL/HTTPS. Our Axis client is invoking a method deployed by Axis server running in Tomcat. We have Apache web server that sits in front of Tomcat and Apache web server handles basic auth and SSL. Basic auth is working great using call.setUsername and call.

WSDL2Java for JMS

2004-03-23 Thread Mike DuVall
Does WSDL2Java currently work for JMS bindings? If so, which version of Axis does it work for? 1.1? 1.2 alpha? Current head in CVS? -Mike _ Get rid of annoying pop-up ads with the new MSN Toolbar – FREE! http://clk.atdmt.com/AV

RE: Attachment from Axis service causing .NET to Error

2004-03-23 Thread Abhinav Maheshwari
I have successfully used Axis 1.1 Final to create the web service and used the .NET 1.1 with WSE 1.0 SP1 for the client side. This is a simple web service that sends as DIME attachment the file whose name is provided in the input. The code for server side is as follows: ///

Occasional Unable to locate a valid EngineConfigurationFactory Error

2004-03-23 Thread Philip Fletcher
I have a vanilla install of Tomcat(5.0.19) and Axis(1.1) and have been working through some of the examples to try to get an idea of performance (vs. xmlrpc). To test using samples/userguide/example3, I have created two testing classes: TestThread (extends Thread:) which calls samples.userguide.ex

I want to deploy the attachement examples provided by the axis-1-1 in the jboss-net, but there are some errors

2004-03-23 Thread jiadao
AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - ; nested exception is: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'urn:EchoAttachmentsService'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method

RE: session, handler problem

2004-03-23 Thread Pathuru, Kiran
Hi Chris, I was doing it something like this now, if(session == null) { log.info("session does not exist"); throw new AxisFault("Server.noSession", "Session does not exist",null

Re: basic questions before start using Axis...

2004-03-23 Thread Anne Thomas Manes
1. If you use the "wrapped" convention, the Axis will automatically marshal the method parameters for you. In the wrapped still you must define a wrapper element for your input message. The name of the input message must be the same as the operation name. The wrapper element must be structured

Re: Need help signing a SOAP Request with a Digital Signature

2004-03-23 Thread Anne Thomas Manes
Still alpha, and it requires Axis 1.2. A beta should be available shortly. At 10:55 AM 3/23/2004, you wrote: I have not heard of that, do you have a link? Is it production ready? thanks, -peter Yves Langisch wrote: > Have a look at the WSS4J project. They provide Axis handlers for signing > and

Re: Multiple server responses?

2004-03-23 Thread Harald Pollak
You are right with the WSDL file, but with http only synchron communication ist realy supportet. you cannot use a synchron protocoll to do asynchron things. You will need som other Transport like jms od smpt. but most ws uses http. Thats the reason for my answer. but Axis supports jms and smp

RE: Need help signing a SOAP Request with a Digital Signature

2004-03-23 Thread Abhinav Maheshwari
They have not release it yet but you can subscribe to the developer mailing list. The link is : http://ws.apache.org/ws-fx/wss4j/index.html You may find the following to be of use. This is another sourceforge project for Axis security handlers. http://axis-wsse.sourceforge.net/ Best regards, Ab

Re: Integrating JAXB with Axis

2004-03-23 Thread Dimuthu Leelarathne.
Hi Wei,   Most probablly there will be a Axis version that uses JAXMEXs in parsing schema in the WSDL document. It will not completey use JAXB's features. However JAXMEXs is expected to improve WSDL2Java tool. We can only wait and see :-).   Dimuthu  - Original Message - From:

Re: Need help signing a SOAP Request with a Digital Signature

2004-03-23 Thread Yves Langisch
Peter, Here is the link: http://ws.apache.org/ws-fx/wss4j/ Please note that they just moved the project from sourceforge thus you won't find lots of info. Just download the source, there you'll find some good info and examples. AFAIK the library is not yet production ready since there is no re

Re: Newbie: How to retrieve SOAP message?

2004-03-23 Thread smcardle
Hi Kawthar, Axis is a servlet or server in your case. The way to use web services in general is to have a normal java application that exposes services via an interface. These are just plain old java objects. Once you have an interface you can the run java2WSDL against the interface to generat

Re: Need help signing a SOAP Request with a Digital Signature

2004-03-23 Thread pacow
thanks Mei, i will checkout the ClientHandler example. -peter Mei Wu wrote: > Hey, the sample.security package has a simple way although it is not a wsdl > generated client stubs, but I think you can deploy the ClientHandler to do > it just as in the sample, so whether or not it is wsdl generate

Re: Need help signing a SOAP Request with a Digital Signature

2004-03-23 Thread peter anthony cowan
I have not heard of that, do you have a link? Is it production ready? thanks, -peter Yves Langisch wrote: > Have a look at the WSS4J project. They provide Axis handlers for signing > and encrypting as it is described in WS Security. > > Yves > > Mei Wu wrote: > > Hey, the sample.security packag

Re: Need help signing a SOAP Request with a Digital Signature

2004-03-23 Thread Yves Langisch
Have a look at the WSS4J project. They provide Axis handlers for signing and encrypting as it is described in WS Security. Yves Mei Wu wrote: Hey, the sample.security package has a simple way although it is not a wsdl generated client stubs, but I think you can deploy the ClientHandler to do it

Newbie: How to retrieve SOAP message?

2004-03-23 Thread Kawthar Bt M Sulaiman
How do I retrieve SOAP message from HttpServletRequest? Do I need to use request.getParameter("???")? I'm trying to implement a server. This is what I've done: 1. I have deploy.wsdd file and was able to see it under AxisServlet. I'm still not 100% clear what this does? Does it only creat

Re: Remove from list

2004-03-23 Thread Lanto Randriamiharisoa
Hello Jesper, Please take a look at this page : http://ws.apache.org/axis/mail.html You'll find all informations about unsubscribing Regards, -Lanto Jesper Ekberg wrote: Hello! How do I get removed from this list? My computer crashed so I dont have the first mail. //Best Regards Jesper

Remove from list

2004-03-23 Thread Jesper Ekberg
Hello! How do I get removed from this list? My computer crashed so I dont have the first mail. //Best Regards Jesper

Re: Need help signing a SOAP Request with a Digital Signature

2004-03-23 Thread Mei Wu
Hey, the sample.security package has a simple way although it is not a wsdl generated client stubs, but I think you can deploy the ClientHandler to do it just as in the sample, so whether or not it is wsdl generated is not important. Mei - Original Message - From: "peter anthony cowan" <[