RE: JNDI Lookup does not work with Tomcat/Axis

2004-09-07 Thread tony . q . weddle
Sushil, I've only used JNDI once, with Tomcat, so am not too sure about the details. I also don't have Tomcat on my machine at the moment. However, you can define resources in the Tomcat configuration files, in terms of a JNDI name and a class name. Tomcat will instantiate the class and bind it

Losing cookie information when passing from http to https

2004-09-07 Thread olschmeltzer
Hi ! Our SOAP Axis client sends first request in http, and then switches to https. It then loses the cookie information (taking a look at the Http header shows that the Cookie tag is not there any more). Actually, this happens in the setTargetEndpointAddress() method of the Call object. The

Re: Request formed from WSDL doesn't have the method name?

2004-09-07 Thread WAJSBERG Julien RD-BIZZ
Frank-Ralph Reiser a écrit : One of my web service classes deployed with axis has e.g. a method public Data findCityByName(String name) {...} which returns a Data object containing an array of City objects. Consuming that webservice using an JSP client with generated stubs by wsdl2java and either

?wsdl

2004-09-07 Thread Dorner Thomas
Hello, I think I found a bug or I don´t know? When I call my Service, with http://127.0.0.1:8080//Service?wsdl To get my the wsdl for the Service, I got this (for example): - element name=login - complexType - sequence element name=loginuser type=xsd:string / element

Re: ?wsdl

2004-09-07 Thread tony . q . weddle
Thomas, To return the WSDL file that you used to generate the service skeleton, you have to specify the wsdlFile element in the deployment descriptor for the service (WSDD). Tony Hello, I think I found a bug or I dont know? When I call my Service, with

AW: ?wsdl

2004-09-07 Thread Dorner Thomas
Hi Tony, thank you for your reply. Can you give me an example from your server-config.wsdd, How I have to set this? But the question is, is the wsdl generated by the Service OK? And why? Thanks Thomas

Re: AW: ?wsdl

2004-09-07 Thread tony . q . weddle
It's just a simple element, under the service element, Thomas. For example, service name=myService ... ... wsdlFilemyResources/myService.wsdl/wsdlFile ... /service There is a little bit more description in the Axis Reference Guide under Individual Service Configuration. Tony Hi Tony,

static inner class serialization

2004-09-07 Thread Good David
Can anyone help with this issue? We have a number of beans which use static inner classes instances internally. We have written a type-mapping entry for the wsdd file (see below), but any attempt to deploy the webservice produces a ClassNotFoundException for the static class. The classpath of

AW: AW: ?wsdl

2004-09-07 Thread Dorner Thomas
Tony, ahhh thank you very much i got it! It works fine. But you don´t know, why AXIS generates this misleading wsdl? Thanks Thomas --- T-Systems International GmbH Service Line

axis final 1.2 ?

2004-09-07 Thread Dorner Thomas
Hi all, I read the discussion last weeks about the new axis release axis 1.2 (final), and there was a few ideas for workaround. So my question is, do someone can give my some information about the final releasdate? Or what will going on? when can we await a release? Month? Is the

Re: AW: AW: ?wsdl

2004-09-07 Thread tony . q . weddle
Sorry, Thomas, I have no idea why the generated WSDL is misleading. I'm fairly new to Axis so there could well be a good reason that I'm not aware of. I think it uses the same code as Java2WSDL does, so you could try experimenting with that tool (part of the Axis distribution) to find out

Re: deploy problems with axis and JBoss EJB

2004-09-07 Thread edward winston
I am using the first method, trying to get the Axis servlet to talk directly to the EJB provider. edward On Tue, 7 Sep 2004 09:30:21 +0600 Mahen Perera [EMAIL PROTECTED] wrote: Hi edward, Need some more info as to how u have set up the ear. Are u using the EJB provider to call ur

Fault or Exception

2004-09-07 Thread Thomas Bailey
Hi All, Ive been trying to figure out the best way of doing exception / error handling. If someone could give me some guidance it would be much appreciated. Ive made some assumptions from reading various docs - please correct me. Im using Axis 1.1 (Java), + latest Tomcat. As I understand

Re: Request formed from WSDL doesn't have the method name?

2004-09-07 Thread Frank-Ralph Reiser
Am Tue, 07 Sep 2004 11:22:23 +0200 schrieb WAJSBERG Julien RD-BIZZ: Consuming that webservice using an JSP client with generated stubs by wsdl2java and either apache axis works without any problems. But when consuming it with e.g. nuSOAP (PHP) or MS SOAP 3.0, the request doesn't contain the

FW: static inner class serialization

2004-09-07 Thread Good David
Futher to this message, there was in fact a problem with the war file assembly which was causing the error. Now I've got another issue. Invoking the service results in the following exception stack, which I don't understand because DTOEntitySrchResult is indeed registered (see my previous

Re: static inner class serialization

2004-09-07 Thread smcardle
Hi David, I have had this issue previously. Firstly, the complex type in the schema is where you set this up but there is a SERIOUS issue with the naming. The Schema spec does not allow a $ character in a qname (it is not in the allowable range of legal characters). Axis does however ignore

Re: deploy problems with axis and JBoss EJB

2004-09-07 Thread Mahen Perera
Hi edward, Is the service shown in the Deployed Services section in the Welcome page? i havene tried the scenario ur saying ,,, (that is to view the WSDL) As far as I know Axis has a Java2WSDL, but not a EJB2WSDL I guess,, there fore not sure whether it will work Another point : - did u try

Re: deploy problems with axis and JBoss EJB

2004-09-07 Thread edward winston
Yes, the service shows on the axis welcome page. I have verified that before deployment i have just the AdminService and Version services, and after deployment i see my service WSInvestigation. When i navigate to the URL /services/WSInvestigation it says that there is a service there. But when

WSDL2Java and HTTPS

2004-09-07 Thread Daniel Herbison
When trying to use WSDL2Java with HTTPS I get the exception: HTTPS hostname wrong: should be Out side of WSDL2Java when I access a secure HTTP WSDL I have to provide a HostnameVerifier in order for it to work but how can I get WSDL2Java to create the clients for me when using a HTTPS

RE: static inner class serialization

2004-09-07 Thread Good David
The second issue has been resolved now, too. The return type deserializer was not registered with the client end, fixed this by adding extra classes into the WSDL generation step. -Original Message- From: Good David [mailto:[EMAIL PROTECTED] Sent: 07 September 2004 13:07 To: Axis-User

Re: deploy problems with axis and JBoss EJB

2004-09-07 Thread smcardle
Hi Edward, If you want to tun on loggin for Axis try this. It worked for me. Create a log4j.properties files: # Set root category priority to INFO and its only appender to CONSOLE. log4j.rootCategory=DEBUG, LOGFILE # Set the enterprise logger category to FATAL and its only appender to CONSOLE.

RE: Ecoding Problem document vs. rpc

2004-09-07 Thread Anne Thomas Manes
Axis 1.1 has very poor support for document/literal. If you want to use Axis 1.1, then you cannot use java2wsdl to generate the WSDL file. You must develop the WSDL yourself and run wsdl2java. Please describe the problem that youre experiencing with Axis 1.2 beta3 in more detail.

RE: Ecoding Problem document vs. rpc

2004-09-07 Thread Anne Thomas Manes
Axis 1.1 has very poor support for document/literal. If you want to use Axis 1.1, then you cannot use java2wsdl to generate the WSDL file. You must develop the WSDL yourself and run wsdl2java. Please describe the problem that youre experiencing with Axis 1.2 beta3 in more detail.

RE: WSDL2Java and HTTPS

2004-09-07 Thread Wagle, Shriniwas
The name on the certificate (The CN component)should match the hostname on the service endpoint in the WSDL. If you get these two to match, that should fix the error you are getting. From: Daniel Herbison [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 9:12 AMTo: [EMAIL

RE: WSDL2Java and HTTPS

2004-09-07 Thread Daniel Herbison
When Im generating the certificate with keytool I should enter the host name instead of my first and last name as it request? -Original Message- From: Wagle, Shriniwas [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 8:41 AM To: [EMAIL PROTECTED] Subject: RE:

RE: WSDL2Java and HTTPS

2004-09-07 Thread Daniel Herbison
Thank you, I believed that worked! -Original Message- From: Wagle, Shriniwas [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 8:41 AM To: [EMAIL PROTECTED] Subject: RE: WSDL2Java and HTTPS The name on the certificate (The CN component)should match the hostname on

NoSuchMethodException with Axis1.2

2004-09-07 Thread sandeep arshanapally
Hi, We are using Axis with Tomcat and recently upgraded to Axis1.2. I was trying to debug a problem and found that when the debug is turned on, the following exception occurs on both the client and server-side when a method call is invoked initially. Is this normal???

Re: JAXB and Axis 1.2

2004-09-07 Thread irv
I just added more debug in, via: public void rental_agreement(SOAPEnvelope req, SOAPEnvelope resp){ try { SOAPBodyElement body = req.getFirstBody(); StreamResult result = new StreamResult( new FileOutputStream( agreement.raw.out ) ); DOMSource source = new

Re: JAXB and Axis 1.2

2004-09-07 Thread irv
I just added more debug information in via: SOAPBodyElement body = req.getFirstBody(); StreamResult result = new StreamResult( new FileOutputStream( agreement.raw.out ) ); DOMSource source = new DOMSource( body ); Transformer transformer = TransformerFactory.newInstance().newTransformer();

Re: deploy problems with axis and JBoss EJB

2004-09-07 Thread edward winston
I tried this and it didn't work. I was able to get debugging output by changing the log4j.xml file used by jboss. Thanks for the tip anyway, though! edward On Tue, 7 Sep 2004 15:12:29 +0200 [EMAIL PROTECTED] wrote: Hi Edward, If you want to tun on loggin for Axis try this. It worked for

java.lang.OutOfMemoryError in the client

2004-09-07 Thread sandeep arshanapally
Hi, I am seeing an OutOfMemoryError in the client with Axis 1.1 final. Even 1.2 beta has the same problem. The strange thing is that most of the times it recovers after this error. Has anyone seen these issues before and know of any fix??? Thanks, Sandeep

changing HTTP header values from Axis

2004-09-07 Thread Samir Shaikh
Hi, I am wanting to change the value of the HTTP Header Host. Does anyone know how to do this? Thanks in advance for any help! Best regards, Samir

Re: How to create interoperable web service with axis, with method taking xml document as argument?

2004-09-07 Thread navkalp
Hi mahen, thanks, example is fine, and i can see this wsdl from .net, what i did i created web service withjws extension and then .net is able to find the service, the only problem is it says, (1): Custom tool error: Unable to import WebService/Schema. Unable to import binding

Re: changing HTTP header values from Axis

2004-09-07 Thread Mahen Perera
U mean u want to do this using a servlet? Mahen - Original Message - From: Samir Shaikh [EMAIL PROTECTED] Date: Tue, 7 Sep 2004 15:14:27 -0700 Subject: changing HTTP header values from Axis To: [EMAIL PROTECTED] Hi, I am wanting to change the value of the HTTP Header Host. Does

Re: NoSuchMethodException with Axis1.2

2004-09-07 Thread Mahen Perera
I think some problem with the client and server side WSDD files (the type mapping sectons)... or that the serializers /deseralizers are not in the classpath. send the server-config.wsdd file Mahen On Tue, 7 Sep 2004 13:58:24 -0500, sandeep arshanapally [EMAIL PROTECTED] wrote: Hi, We

Re: deploy problems with axis and JBoss EJB

2004-09-07 Thread Mahen Perera
Hi edward, did u to try to invoke the web service methods from the client side by using the Call object? Mahen On Tue, 7 Sep 2004 09:06:04 -0400, edward winston [EMAIL PROTECTED] wrote: Yes, the service shows on the axis welcome page. I have verified that before deployment i have just the

How to get one object per thread?

2004-09-07 Thread Branko Peteh
Hi, There are three choices for deployscope attribute of the axis-wsdl2java ant task. Those are Application, Session and Request. When Application is chosen, the SOAP implementation class is a singleton, i.e. there is only one instance for all axis servlet threads. Session and Request choices

Re: changing HTTP header values from Axis

2004-09-07 Thread ravi
If you are using a servlet you can do this by setting HTTP headers. Ravi Hi, I am wanting to change the value of the HTTP Header Host. Does anyone know how to do this? Thanks in advance for any help! Best regards, Samir

RE: java.lang.OutOfMemoryError in the client

2004-09-07 Thread Janarthanan Poornavel
Sandeep, Do you have any objects ,with circular references which are getting serialized and deserialized And regarding the recovery,is more because of the jvm (u might be using 1.4) I suppose Regards, Jana http://www.orangescape.com -Original Message- From: sandeep

Re: Expose a java class in only once with Axis ?

2004-09-07 Thread Roslan Amir
No. The documentation clearly states that the BindingImpl class will not be overwritten by wsdl2java if it already exists. Roslan Chandrasegaram Jeyakumaran wrote: yes,thats ok,Any how he needs to populate the logic in the generated class(BindingImpl) once again. Jeykaumaran Or you can use Ant

Re: Expose a java class in only once with Axis ?

2004-09-07 Thread Mahen Perera
mm... good point raised!!! + 1 for that On Wed, 08 Sep 2004 13:47:15 +0800, Roslan Amir [EMAIL PROTECTED] wrote: No. The documentation clearly states that the BindingImpl class will not be overwritten by wsdl2java if it already exists. Roslan Chandrasegaram Jeyakumaran wrote: