LocalTransport and Document style

2003-02-17 Thread Ramon Turnes
Hi, I am trying to write some unit tests using local transport but I get the following error: Couldnt find an appropriate operation for XML QName {0} at org.apache.axis.providers.java.MsgProvider.processMessage(MsgProvider.java:1 08) at org.apache.axis.providers.java.JavaProvider

RE: Unable to run attachments demo

2002-09-17 Thread Ramon Turnes
You need mailapi.jar. You can download it from: http://java.sun.com/products/javamail/ you will also need activation.jar which you can download from: http://java.sun.com/products/javabeans/glasgow/jaf.html the problem is that somebody was so smart to throw an exception which the message "No s

RE: Session scope and threaded request?

2002-09-17 Thread Ramon Turnes
In case of session scope, each session has its own instance of the service class independently of which thread invokes the exposed methods. I suppose that the servlet engine starts a new thread for each request, at least MessageContext.getCurrentContext() works in such manner. In case of applicat

RE: Build problems using RC1

2002-09-16 Thread Ramon Turnes
This classes are now in saaj.jar. So include this file in your classpath. Regards. > -Original Message- > From: Navneet Raja [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 17, 2002 4:39 AM > To: '[EMAIL PROTECTED]' > Subject: Build problems using RC1 > > > Hi All, > I downloaded

Thread safe clients

2002-06-14 Thread Ramon Turnes
. Thanks. -Original Message- From: Ramon Turnes [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 3:43 PM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: Thread safe clients I have problems when sending two simulaneous requests (from different threads

Thread safe clients

2002-06-13 Thread Ramon Turnes
I have problems when sending two simulaneous requests (from different threads) to the same URL. I have been playing a little bit with axis source code and everything seems to work if I synchronize the invoke(SOAPEnvelope) method in Call.java Some reasons for this behaviour? Thanks in advance

RE: Retrieving data from a SOAP packet

2002-05-28 Thread Ramon Turnes
I suppose you mean deserialization and not serialization. If you have a service in Axis: request = MessageContext.getCurrentContext().getRequestMessage(); returns you the request message. And envelope = request.getSOAPEnvelope(); returns you the SOAPEnvelope and enve

RE: More problems with document style

2002-05-22 Thread Ramon Turnes
Your SOAP message definitely does not look OK. You are trying to invoke a service named AdvertisementService and this information is not carried by the SOAP message. Your SOAP message should look like this: POST /axis/services/AdvertisementService HTTP/1.0 Content-Length: 2418 Host: localhost Co

RE: initial config information

2002-05-14 Thread Ramon Turnes
You can use two approaches. First, you can define your own parameters at deployment time or you can expect a file located in axis installation under Tomcat. I am passing the name of a config file to my web service. The following code reads a configuration file. Either it uses the value of a prop

RE: Deployment

2002-04-23 Thread Ramon Turnes
You have getOperation() method in MessageContext. I don't know if that is what you want. Regards. Ramón. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 22, 2002 4:40 PM > To: [EMAIL PROTECTED] > Subject: RE: Deployment > > > > When you

RE: Deployment

2002-04-22 Thread Ramon Turnes
When you deploy a service axis configuration is modified, which means that if you are using the default configuration, server-config.wsdd changes. I don't think that web.xml is modified at all. What I don't understand is what you mean by client deployment. Why should you need that. Regards.

Processing of headers

2002-04-15 Thread Ramon Turnes
Hi, my Web Service needs to process some SOAP headers targeteed at http://schemas.xmlsoap.org/soap/actor.next and with mustUnderstand set to 1. I get an axis exception on the server side because the headers are not processed. Should I write a handler to process the headers before they are del

RE: Hiding access to Admin Servlet

2002-04-15 Thread Ramon Turnes
But how do I go about limiting access to individual web services? Basically I am interesed in the following two cases: 1. How can I limit the access to the AdminService 2. I want to administer my Web Services so I would they could actually have a broader interface for administrators (let's say

RE: Document/Literal v RPC/Encoded

2002-04-15 Thread Ramon Turnes
Take a look at this one: http://www.learnxmlws.com/tutors/rpcmsg/rpcmsg.aspx Regards. Ramon. > -Original Message- > From: Adam.Leggett [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 15, 2002 10:56 AM > To: Axis User ([EMAIL PROTECTED]) > Subject: Document/Literal v RPC/Encoded > >

RE: Attachment contents access

2002-04-08 Thread Ramon Turnes
Use this: Message rsp = MessageContext.getCurrentContext().getResponseMessage(); try{ org.apache.axis.attachments.Attachments attachments = rsp.getAttachments(); if(null == attachments) throw new RuntimeException("No support for attachment

Handling of headers

2002-04-08 Thread Ramon Turnes
Hi, I need to process some headers in my Web Service but if I have something like this: http://schemas.xmlsoap.org/soap/actor/next"/> my service is actually never called and axis throws the following exception: http://xml.apache.org/axis/";> Did not understand "MustUnderstand" header(s)!

RE: Messaging example?

2002-04-05 Thread Ramon Turnes
Hi, Take a look at how the AdminClient uses the AdminService in Axis. Of course, you have to download the source code. Regarding the signature, your methods must have one of the following signatures: Document methodA(MessageContext msgC, Document xml); Document methodA(Document xml); though

RE: Document style service with two methods

2002-04-04 Thread Ramon Turnes
t; Hi Ramon... > > Thanks much for the info. I was thinking of putting this > in the client: > > call.setOperationName("methodA"); > > But it sounds like you did not do this. Right? > > Thanks again. > > Stan > > > > - Original Message - > > From: &

RE: Document style service with two methods

2002-04-03 Thread Ramon Turnes
ve one service method, but put the real method > > name in the document itself (probably in the root tag). > Then the method > > implementation checks to see what operation the client > wants and calls > > that method itself. > > > > But this seems unsatisf

RE: MessageContext argument in service method

2002-03-28 Thread Ramon Turnes
in the MsgProvider for a long > time. Be warned - that's going to go away at some point. > > MessageContext.getCurrentContext() is the Axis-approved way > of getting the MC in your service method. > > --Glen > > > -Original Message- > > From: Ramon

RE: Can deploy from command line, but not from Ant

2002-03-28 Thread Ramon Turnes
I had the same problem. Try to set fork="yes": so a new JVM is used. Regards. Ramón. > -Original Message- > From: Robert Evans [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 27, 2002 7:27 PM > To: [EMAIL PROTECTED] > Subject: Can deploy from command line,

RE: RPC + Attachments

2002-03-26 Thread Ramon Turnes
You can use attachments in both RPC and Messaging styles. You have such example in the Web Services Toolkit (WSTK) which you can download from IBM (they use Axis by the way). Ramón. > -Original Message- > From: Wörner Till [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 26, 2002 1:19

RE: MessageContext argument in service method

2002-03-26 Thread Ramon Turnes
You can do that if you are using Messaging style services. Ramón. > -Original Message- > From: Ken Weiner [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 26, 2002 2:49 AM > To: [EMAIL PROTECTED] > Subject: Re: MessageContext argument in service method > > > Glen, > > Thank you so

RE: deployment

2002-03-21 Thread Ramon Turnes
fective immediately. > > Glyn > > > > > > Ramon Turnes > >

RE: deployment

2002-03-20 Thread Ramon Turnes
My understanding is that the Axis server loads services defined in server-config.wsdd at boot time. You only need to invoke the AdminClient when you want to deploy a new service. When you deploy a new service the Admin service updates server-config but these changes aren't effective until nex

RE: axis problem

2002-03-18 Thread Ramon Turnes
It seems that you are mixing AXIS (Apache SOAP 3.0) jar files and Apache SOAP 2.2 so remove all the references to version 2.2. Regards. Ramón -Original Message- From: mikel [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 3:26 PM To: [EMAIL PROTECTED] Subject: axis problem Hi,

RE: Possible bug in Alpha1 RC2: Document style service with two metho ds

2002-03-15 Thread Ramon Turnes
Finally I figured it out, I just put: and it worked. Regards. > -Original Message- > From: Ramon Turnes [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 14, 2002 4:42 PM > To: '[EMAIL PROTECTED]' > Cc: '[EMAIL PROTECTED]' > Subject: Poss

Possible bug in Alpha1 RC2: Document style service with two methods

2002-03-14 Thread Ramon Turnes
se everything works fine if I remove any of the methods from the deployment file: the right method is always called. Can perhaps somebody from the developers list clarify me how does Axis know which method to call in NON-RPC calls? Thanks. Ramón. > -Original Message- > From: Ramon Turne

Document style service with two methods

2002-03-14 Thread Ramon Turnes
Hi, I would like to have a service using Document style with two methods but it seems that this is not possible because the message dispatcher for Document style services checks for a method with the following signature: Document MyMethod(MessageContext mc, Document xml) { . } and t

SOAP with Attachments

2002-03-09 Thread Ramon Turnes
Hi guys, I have been banging my head against the wall trying to figure out why my examples with attachments did not work and a very similar one in WSTK worked when we both are using the same version of axis. I though they had changed axis code but then I figured out that the difference was one

RE: Attachement Support with Axis

2002-03-08 Thread Ramon Turnes
interesting thing is that they are supposed to use Axis Alpha 3 which does not support attachments. Perhaps they have modified Axis code on their own. Regards. -- Ramon Turnes Perez HERMES SoftLab, Litijska 47 1000 Ljubljana, SLOVENIA Phone: +386 1 5865 638

RE: Help with installation of axis

2002-03-04 Thread Ramon Turnes
iable. Check what is its value. Regards. ------ Ramon Turnes Perez HERMES SoftLab, Litijska 47 1000 Ljubljana, SLOVENIA Phone: +386 1 5865 638 Fax: +386 1 5865 270 E-mail: [EMAIL PROTECTED] www.hermes-softla

RE: Help with installation of axis

2002-03-04 Thread Ramon Turnes
gards. ------ Ramon Turnes Perez HERMES SoftLab, Litijska 47 1000 Ljubljana, SLOVENIA Phone: +386 1 5865 638 Fax: +386 1 5865 270 E-mail: [EMAIL PROTECTED] www.hermes-softlab.com -- -Original Message-From: Monika Solanki [mailto:[EMAIL PROT

RE: Bad envelope namespace?

2002-03-04 Thread Ramon Turnes
I don't have neither axis.jar nor log4j.jar under common/lib and everything works fine for me. Have you followed the instructions and copied xml-axis\webapps\axis under tomcat\webapps? Regards. -- Ramon Turnes Perez HERMES SoftLab, Litijska 47

RE: Classpath problem

2002-03-01 Thread Ramon Turnes
. -- Ramon Turnes Perez HERMES SoftLab, Litijska 47 1000 Ljubljana, SLOVENIA Phone: +386 1 5865 638 Fax: +386 1 5865 270 E-mail: [EMAIL PROTECTED] www.hermes-softlab.com -- > -Original Message- >

RE: connections

2002-02-26 Thread Ramon Turnes
Use -p command line option. So if you want your client to send requests to port 7000: -p 7000 Regards. -- Ramon Turnes Perez HERMES SoftLab, Litijska 47 1000 Ljubljana, SLOVENIA Phone: +386 1 5865 638 Fax: +386 1 5865 270 E-mail: [EMAIL PROTECTED

RE: Visual Basic Clients?

2002-02-26 Thread Ramon Turnes
Take a look in this site which is oriented to Visual Basic programmers: http://www.learnxmlws.com you may find sth. Regards. -- Ramon Turnes Perez HERMES SoftLab, Litijska 47 1000 Ljubljana, SLOVENIA Phone: +386 1 5865 638 Fax: +386 1 5865 270 E

RE: Business rules

2002-02-25 Thread Ramon Turnes
You can define an XML type with such restrictions (see restrictions in XML specification) but I don't think you can make Axis to force such rules. Regards. -- Ramon Turnes Perez HERMES SoftLab, Litijska 47 1000 Ljubljana, SLOVENIA Phone: +386 1 586

RE: Java2Wsdl

2002-02-21 Thread Ramon Turnes
I was experimenting with Java2wsdl but I was not able to able to generate the right wsdl files from classes other than those that follow the JavaBean pattern. Regards. -- Ramon Turnes Perez HERMES SoftLab, Litijska 47 1000 Ljubljana, SLOVENIA Phone: +386 1

RE: Where is the WSDD specification.

2002-02-20 Thread Ramon Turnes
> s/architecture > -guide.html > > -Original Message- > From: Ramon Turnes [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 20, 2002 11:28 AM > To: '[EMAIL PROTECTED]' > Subject: RE: Where is the WSDD specification. > > > > How abou

RE: Where is the WSDD specification.

2002-02-20 Thread Ramon Turnes
How about Axis documentation? What is shipped together with Axis is definitely not enough. Regards. Ramon. > -Original Message- > From: Jon Baer [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 20, 2002 11:44 AM > To: [EMAIL PROTECTED] > Subject: Re: Where is the WSDD specificatio

Attachment example

2002-02-20 Thread Ramon Turnes
lib\log4j.jar;c:\xml-axis\lib\clutil.ja r; c:\xml-axis\lib\wsdl4j.jar Some idea where the ptroblem may be? Thanks. -- Ramon Turnes Perez HERMES SoftLab, Litijska 47 1000 Ljubljana, SLOVENIA Phone: +386 1 5865 638 Fax: +386 1 5865 270 E-mail: [EMAIL PROTEC

RE: Java2WSDL parameter p specification example?

2002-02-18 Thread Ramon Turnes
You should write -p com.ecofin.vk.beans urn:ecofin.quoteserver.types instead of -p com.ecofin.vk.beans=urn:ecofin.quoteserver.types Regards. -- Ramon Turnes Perez HERMES SoftLab, Litijska 47 1000 Ljubljana, SLOVENIA Phone: +386 1 5865 638 Fax

RE: Connection Refused Error

2002-02-18 Thread Ramon Turnes
gards. -- Ramon Turnes Perez HERMES SoftLab, Litijska 47 1000 Ljubljana, SLOVENIA Phone: +386 1 5865 638 Fax: +386 1 5865 270 E-mail: [EMAIL PROTECTED] www.hermes-softlab.com -- > -Original Message- > From: [EMAIL PROTECTED] >

RE: Bad envelope namespace error

2002-02-18 Thread Ramon Turnes
See subject "errors with deploying example web service shipped with xml-ax is-alpha3" in the previous messages. Regards. Ramon. > -Original Message- > From: Ajith Joseph [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 17, 2002 12:12 AM > To: [EMAIL PROTECTED] > Subject: Bad envelope

RE: errors with deploying example web service shipped with xml-axis-alpha3

2002-02-15 Thread Ramon Turnes
suppose because they can be used by other services. How do you then undeploy them? Regards. -- Ramon Turnes Perez HERMES SoftLab, Litijska 47 1000 Ljubljana, SLOVENIA Phone: +386 1 5865 638 Fax: +386 1 5865 270 E-mail: [EMAIL PROTECTED] www.hermes