Re: server-config.wsdd

2004-09-09 Thread Mahen Perera
Hi Chris,, There is no problem, u can add a request flow, response flow inside a service tag. Then the content in the request flow/response flow will be executed only when a request come for the containing service. Just add the request flow inside the service tag in the server-config.wsdd file a

Re: deploy problems with axis and JBoss EJB

2004-09-09 Thread Mahen Perera
OK, Well Done Edward On Thu, 9 Sep 2004 20:24:31 -0400, edward winston <[EMAIL PROTECTED]> wrote: > Thanks everybody for your help. The suggestions were all good and i tried > most of them to no avail... mainly because the problem was simple and with > the deployment descriptor. > > The problem

IncompatibleClassChangeError

2004-09-09 Thread Wei Hsu
Hi all,   I'm trying to upgrade from 1.2beta to the more current versions.  But whenever I try to deploy using the AdminClient, I keep getting a java.lang.IncompatibleClasChangeError.  I've tried using beta2, beta3, and cvs version from today - same error.  I also tried making sure that t

Re: deploy problems with axis and JBoss EJB

2004-09-09 Thread edward winston
Thanks everybody for your help. The suggestions were all good and i tried most of them to no avail... mainly because the problem was simple and with the deployment descriptor. The problem is that i did not declare the 'java' namespace in the deployment descriptor, so while the data was added to t

Deserializing array of complex types

2004-09-09 Thread Eric Chijioke
When an axis server is configured to use document/literal (wrapped), what is the shema of arrays of complex types that it deserializes with the default ArrayDeserializer? Specifically, are the array elements wrappered by an 'arrayContainer' element within the "" root element of the soap body (lik

server-config.wsdd

2004-09-09 Thread Christian Villoslada
It seems that the only way I can insert a through the server-config.wsdd is directly inside of the tag. I'd like to insert a tag inside of one of my tags. Is there any way I can do this? It seems that if I insert a inside of a tag then Axis does not recognize it. But if I deploy my web se

RE: Sessions across different services

2004-09-09 Thread mmosttler
Title: Message I found that when working with sessions and multiple services that the session is service based.  To obtain a cross service session I had to retrieve the session id from the service and populate it into the other services.  The session ID is just a soap header and is available

RE: Could not find deserializer

2004-09-09 Thread Mark Malinoski
Sagar You do need to make sure the service is receiving the request okay and the response is coming back as expected. System.out.println's in the Service help and running the TCPMON program will allow you to view the SOAP going back and forth. So for my clarification, you are trying to send your

RE: Could not find deserializer

2004-09-09 Thread Sagar Pidaparthi
Mark, I still have problems. I made one more observation. I had two testers one using the Proxies and by building the call structure without using proxies. I was under the impression that both were sending the response back, but I just realized that the one we are testing is only sending the SO

signing a soapenvelope from a client using RPC, help

2004-09-09 Thread Paul Tomsic
I'm passing a bean thru soap using the serializer/de-serializer. How do I sign the envelope prior to sending it out? The bean that I'm sending out is simply a wrapper for a org.w3c.dom.Document w/ a getter/setter method(s). (code below) Simply using the example SignedSOAPEnvelope.java that comes w

RE: Could not find deserializer

2004-09-09 Thread Mark Malinoski
Sagar, We are not doing ours in Arguments, but in headers, but I think if you change your code to look something like this it might work: public static Customer getCustomer(String name, String authentication, Customer cust) { Customer ret = null; try {

reg: Restricting AxisServlet from listing services

2004-09-09 Thread Hari Krishna B.
Hi, We are trying to restrict AxisServlet from displaying list of services to the user As per AXIS documentation we have added in the server-config.wsdd file of the deployed web service. Still AxisServlet is displaying the list of services on accessing http://localhost:8840/gwscws/servlet/AxisSe

RE: Could not find deserializer

2004-09-09 Thread Sagar Pidaparthi
Mark, Given below are my imports. They look similar to yours. import javax.xml.rpc.ParameterMode; import org.apache.axis.client.Call; import org.apache.axis.client.Service; import org.apache.axis.encoding.XMLType; import javax.xml.namespace.QName; import org.apache.axis.encoding.ser.BeanDeserial

RE: changing HTTP header values from Axis

2004-09-09 Thread Samir Shaikh
Thanks Paul. I will put my question in another way. I want to set a value to an HTTP Header in the Request made by the WSDL2JAVA generated client. Also if anyone knows how to set a new HTTPHeader. Does anyone know how to do this? -Original Message- From: Paul Callahan [mailto:[EMAIL PRO

RE: Could not find deserializer

2004-09-09 Thread Mark Malinoski
Sagar, I don't see your imports in your e-mail. Here are all of my imports in my BindingStub.java file. import com.datatransportstandard.www.utils.DTSRouting; import javax.xml.namespace.QName; import javax.xml.soap.SOAPException; import org.apache.axis.encoding.ser.BeanDeserializerFactory; imp

RE: Could not find deserializer

2004-09-09 Thread Sagar Pidaparthi
Thanks. However, it still gives me problems. Here are my importd for this program, can you send me your equivalents for these. Thanks once again. very much appreciate your help. Regards sagar -Original Message- From: Mark Malinoski [mailto:[EMAIL PROTECTED] Sent: Thursday, September

RE: Could not find deserializer

2004-09-09 Thread Mark Malinoski
Sagar, I'm using 1.1. I'm using BeanSerializationFactory in client code. On the service side I'm using the element in my wsdd. Here are my imports: import com.datatransportstandard.www.utils.DTSRouting; // My class that I send both directions. import javax.xml.namespace.QName; import org.a

RE: Could not find deserializer

2004-09-09 Thread Sagar Pidaparthi
Mark, Thanks for your message. Can you please send me your import statements. Are you using 1.1 or 1.2 beta? I had to switch to 1.1 due to problems elsewhere in our product. In 1.1 Do we use BeanSerializerFactory, or Serializer Factory? Regards Sagar -Original Message- From: Mark

Re: Could not find deserializer

2004-09-09 Thread Mark Malinoski
Sagar, I have not done the type mappping in the wsdd on the client side, but I have done it in code. Here is the snippet from my code in the BindingStub: QName qn = new QName("http://www.datatransportstandard.com";, "DTSRouting"); _call.registerTypeMapping(DTSRouting.class,

Axis and .NET interoperability - Arrays

2004-09-09 Thread Eric Chijioke
I have read a LOT of discussions concerning problems serializing and deserializing arrays between an Axis server and a .NET client but can't seem to find any definitive discussion/document. Is there one? Secondly, I have a .NET client that is attempting to deserialize an array of custom types th

Could not find deserializer

2004-09-09 Thread Sagar Pidaparthi
Hi, I get the following exception on the client. I see the response coming back on the SOAPMonitor, but the client is unable to deserialize the message. Is there something missing on my client side that is making it difficult for the client to deserialize the object? This is happening both on A

Re: Can't put JAX-RPC handler to work (Newbie question)

2004-09-09 Thread Venkat Reddy
You can probably try one of these things: 1. Instead of getting the chain by calling service.getHandlerRegistry().getHandlerChain(), you can just create a new ArrayList instance and add your handlerInfo to it and then set your handler chain with the new List. 2. Use client-deploy.wsdd to deploy y

Can't put JAX-RPC handler to work (Newbie question)

2004-09-09 Thread W.Beck
Hi all, I want to use a JAX-RPC handler with an AXIS *client* but I can't put it to work. Since I am pretty new to the webservices stuff I have no idea where to dig to find the solution... So far now the only task of my handler is to report its lifecyle events. So I subclassed javax.xml.rpc.han

Re: "extension base" inheritance seems non-functional in wsdl2java?

2004-09-09 Thread [EMAIL PROTECTED]
Certainly doesn't work in Axis 1.2 beta 3 I had to switch from 1.1 some time ago due to some serious bugs, and can't switch back. [EMAIL PROTECTED] wrote: Thanks, I'll try it with your sample and see if I get anything going. However, you don't seem to define namespace "tns1"? Perhaps this is the

RE: "extension base" inheritance seems non-functional in wsdl2java?

2004-09-09 Thread Christophe Roudet
I got that: http://schemas.xmlsoap.org/wsdl/"; xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:tns1="urn:my.domain" Christophe > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >

Re: "extension base" inheritance seems non-functional in wsdl2java?

2004-09-09 Thread [EMAIL PROTECTED]
Thanks, I'll try it with your sample and see if I get anything going. However, you don't seem to define namespace "tns1"? Perhaps this is the secret Axis fiddle I will need to get it working. I thought they replaced this "tns1" thing as a bug fix in 1.1 beta? It's certainly not a documented featu

Announcement of SWAD Europe Thesaurus API Demonstrator - DREFT (fwd)

2004-09-09 Thread NJ Rogers, Learning and Research Technology
Hi all Axis users, As part of the SWAD-Europe project (http://www.w3.org/2001/sw/Europe/reports/thes/) we have released the announcement I forward here. * What is 'DREFT'? Our demonstrator (*not* production grade software, but freely available) is of a SOAP Thesaurus service. We have named it D

RE: "extension base" inheritance seems non-functional in wsdl2java?

2004-09-09 Thread Christophe Roudet
It works fine for me with Axis 1.1 Here is a sample: http://www.w3.org/2001/XMLSchema";> http://schemas.xmlsoap.org/soap/encoding/"/> Christophe > -Original Message- > From: [EMAIL PROTE

Re: "extension base" inheritance seems non-functional in wsdl2java?

2004-09-09 Thread [EMAIL PROTECTED]
Actually, it appears Axis is completely oblivious to the " I even tried to define : and Axis doesn't even generate a warning! Seems to be there's a big piece of Axis not implemented here, I think when they see this definition, they just ignore it. So since I'm the first person on the planet to

arrays problem

2004-09-09 Thread Melzer, Steven
all, i have been trying to create a web service (only my second one) that requires arrays from the client to the web service. for complete compatibility, i am using document/literal. i have tried to do this with both axis 1.1 and axis 1.2beta. my web service uses a complex object as a paramet

AXIS client to gSOAP server through HTTPS..

2004-09-09 Thread rajesh . aroli
  Hi,   iwant to write a AXIS Java client to communicate to the gSOAP server through https can any one tell me what are the steps to do that .. iam a beginer in this...any piece of information wil b of great use...   Thanking You Rajesh Kumar             Rajesh Kumar Aroli Sof

Re: "extension base" inheritance seems non-functional in wsdl2java?

2004-09-09 Thread [EMAIL PROTECTED]
Yes, sorry, it was just a copy paste error. The correct wsdl is : but the end result is the sam

Re: "extension base" inheritance seems non-functional in wsdl2java?

2004-09-09 Thread tony . q . weddle
If you copy and pasted this bit of XML, then you have an error. The sequence element doesn't have a closing tag and there are two closing tags for the extension element. However, I would have expected this to show up as an error when running WSDL2Java. Tony I'm trying to factorise my wsdl desc

"extension base" inheritance seems non-functional in wsdl2java?

2004-09-09 Thread [EMAIL PROTECTED]
I'm trying to factorise my wsdl descriptions for all our web services, but as soon as I use the The class I want to extend is not even generated by Axis (in the example below, the SDResult class) I'd appreciate any thoughts on where I'm going wrong. Here's my wsdl snippet : ...

RE: How to get one object per thread?

2004-09-09 Thread tony . q . weddle
Branko, The Axis servlet is just that, a servlet, and so creates a thread for each request. So request scope should be identical to a thread scope. If the instantiation is expensive, why do you want to do anything other than application scope? Session scope is in the middle, instantiating the se