multiple scopes ?

2004-02-20 Thread christopher justin
Is it possible to have a Request or Response Handler have Application Scope but the Service itself be is Request scope ? The reason I ask is because I want to create a Request Handler that persists and refreshes data from a database placing caching authentication information so database queries

Re: Weblogic 6.1

2004-02-20 Thread Barry BURNEREAU
Ok thank's I've started to do some test, everything is ok right now. The only problem I've found is if I want to use the web service client included with weblogic to call axis web service, it does not work. Indeed, weblogic 6.1 ws client does not support Exception. The issue is very simple: using

Re: No serializer found for class

2004-02-20 Thread Parul . Joshi
Tony, If I do modify the wsdd, I will have to redeploy the service again correct? I'm not sure if I have access to do that (since its another team maintaning it) Also, The problem that I am facing is with the de-serializing part of it. Please correct me if I am wrong, but the call.addParameter()

Re: No serializer found for class

2004-02-20 Thread Tony Blair
Parul,   I've notice two things:   1-Your WSDD does not have any information regarding the encoding, ser and deser. Perhaps you may have to add them manually yourself. The absence of these information results in exceptions such as Seriliazer or Desr not found.   2-In the client code the call.addPar

Rules in WSDL

2004-02-20 Thread javamann
Hi y'all, Is it possible to add some constraints or rules in the WSDL? Meaning, if I want certain fields to only contain certain values, or have one field's value depend on another field's value is this possible? TIA -Pete

Trying to make Axis client use CommonsHTTPSender

2004-02-20 Thread Christoph Moskalonek
So I've added the commons-http-2.0.jar to my project, as well as the related classes from Axis 1.2. However, after scouring the lists for several days I cannot find out how to force the Axis client to use it. I seem to recall stumbling across some code that set a property telling which class to u

Re: Weblogic 6.1

2004-02-20 Thread Tony Blair
Hi there,   I had 2 people in my team using AXIS 1.1 with WL 6.1 and there weren't any issues. In Tomcat you need to drag the webapp from axis and drop it under Tomcat where in WL this step was not even required, so was I told.   Regards, Tony.Barry BURNEREAU <[EMAIL PROTECTED]> wrote: HelloI'd lik

Re: No serializer found for class

2004-02-20 Thread Tony Blair
Parul,   Can you post your Client code and the your WSDD (NOT the WSDL) here?   Regards, Tony.[EMAIL PROTECTED] wrote: Hi there, I am extremely new to Axis and SOAP, and am trying to solve this for the past 2 days, without and luck. I am running into a problem when I am trying to deserialize incomi

How to add value to HTTP header in a SOAP connection

2004-02-20 Thread Samuel Cheung
Title: How to add value to HTTP header in a SOAP connection Hi, Could someone please tell me how to add http value to HTTP header in a SOAP connection?  SOAPConnectionFactory scFactory = SOAPConnectionFactory.newInstance();  SOAPConnection con = (SOAPConnection) scFactory.createConnecti

Re: No serializer found for class

2004-02-20 Thread Parul . Joshi
Hi there, I am extremely new to Axis and SOAP, and am trying to solve this for the past 2 days, without and luck. I am running into a problem when I am trying to deserialize incoming data. I get the following exception. SimpleDeserializer encountered a child element, which is NOT expected, in so

Re: Retrieve objects from SOAP response

2004-02-20 Thread Tony Blair
Hi there,   One thing that I noticed is your : call.addParameter( "outMsg", XMLType.XSD_ANYTYPE, ParameterMode.IN ); you need pass the qName as oppose to XMLType.XSD_ANTYPE.   Try this.   Regards, Tony.[EMAIL PROTECTED] wrote: Hi, I have a SOAP service that returns objects. I know the method works,

Re: No serializer found for class

2004-02-20 Thread Tony Blair
Hi there,   Adding bean mapping and the type mapping in your wsdd will create the ser/Deser on the server side. You also need to define ser/deser on the client side for each complex type in your Call.invoke() method. Let me know if you have more questions on this.   Regards, Tony.Rajagopal <[EMAIL

No serializer found for class

2004-02-20 Thread Rajagopal
Hi, I am new to web services and axis. I am trying to host a web service in axis using RPC pattern and document binding. When I run the test client I get a "serializer not found" exception. I tried specifying a beanMapping and typeMapping but still got the same error. I have copied the java fi

SOAP intermediary [was: How do you perform a transport protocol change using Axis?]

2004-02-20 Thread Biörn Biörnstad
Hi, I have exactly the same problem. The solution to our problem is called "SOAP intermediary" (in this case a "forwarding intermediary"). But the next problem is: How do I implement an intermediary using Axis? I have read all documentation I could find, I have searched the mailing lists and the W

RE: fault sample in the Axis distribution

2004-02-20 Thread Rob Montalvo
Kees, I did not get a null pointer exception when I went through the link you provided. Given the outcome of our experiment, I don't know that it matters, but, I am running Tomcat 4.1. I still suspect it has something to do with the arguments I should pass to the client invocation when I type:

How do you perform a transport protocol change using Axis?

2004-02-20 Thread NICHOLLS T Ext OCISI
Hello guys, I have to do a transport protocol change when I send web services requests and responses over the internet, from one intranet to another. Internally on the intranets the web services communication will be SOAP over HTTP, but when being transfered over the internet it should be send

RE: fault sample in the Axis distribution

2004-02-20 Thread Kees van Dieren
Are you using an application server for serving the webservices? Sometimes I also get nullpointerexceptions for every action for axis, regarding webservices. Could you view the wsdl at url http://localhost:8080/axis/services/AdminService?wsdl? If you get a nullpointerexception there also try to re

Re: fault sample in the Axis distribution

2004-02-20 Thread Rob Montalvo
Thorsten, Thank you very much for your prompt and valuable feedback! That made a huge difference. I am a lot closer now. I am getting a null pointer exception now, but I think it is because the program is expecting an input string which I am not providing when I call it. Would you (or anyone el