R: java2wsdl problem with axis1.2 alfa

2004-02-17 Thread Martini Roberto
Thanks Tony for the help, but It was only a simple reproduction of the problem that I'm having. The real problem involves about 10 interfaces with 7-8 methods taht use about 50 "complex-type". Moreover I need the generation of the wsdls and wsdd besause these interfaces are subject of

SSLHandshakeException

2004-02-17 Thread jagannath
Hi, I am trying to run WSOverSSL example. I have installed axis in tomcat. I have generated certificates and keystore using the keytool as mentioned in the README of the example. I have also configured Tomcat for SSL. But when I invoke a method in my deployed Web Service I get an

RE: SSLHandshakeException

2004-02-17 Thread GANDHIRAJAN,AYYAPPAN (HP-India,ex2)
Did you mention where you have the trust store in the client side? Thanks regards, Ayyappan Gandhirajan [GANDHIRAJAN,AYYAPPAN (HP-India,ex2)]-Original Message-From: jagannath [mailto:[EMAIL PROTECTED]Sent: Tuesday, February 17, 2004 3:00 PMTo: [EMAIL PROTECTED]Subject:

Re: SSLHandshakeException

2004-02-17 Thread Rommel Sharma
smime.p7m Description: S/MIME encrypted message

(505)HTTP Version Not Supported

2004-02-17 Thread Rein Reezigt
Hey all, I'm struggling with an exception I get when calling a web service. I deployed all the samples with axis on tomcat 5.0.18. With the clients provided with the exampes I can succesfully get some results, so no problem there. I wanted to see how the creation of a webservice from an

Re: Axis web services - multi-threaded ??

2004-02-17 Thread Aaron Hamid
Doesn't that create a new object per request? I thought Application scope allows the service to persist accross many requests. Anyway, regardless, if you are using HTTP pipelining, then there is a good chance whatever calls are queued on your pipeline will be issued sequentially (that is the

Re: SSLHandshakeException

2004-02-17 Thread Rommel Sharma
Jagannath, If you wish not to authenticate the client, then in the server.xml you may set clientAuth=false, for SSL handshake. Also you should ensure that the keystore server.xml is referring to has the server certificate. YourJDK's cacerts file should also have the root cert installed (the

Is disabling of mandatory field validation in response possible?

2004-02-17 Thread Jay D
Have implemented a Java client for a web service on Legacy system using Axis 1.0. Using Axis 1.0, we are fetching data from a legacy system. In the WSDL none of the elements are specified as nillable. However when the data comes from the Web Service some of the elements are blank. This results in

RE: Problem with running example with apache axis

2004-02-17 Thread Saunders, Roger
Put . in your classpath: set axisclasspath=.;%axisclasspath% works for me Roger -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 17 February 2004 13:18 To: [EMAIL PROTECTED] Subject: Problem with running example with apache axis Hi,

Re: (505)HTTP Version Not Supported

2004-02-17 Thread Rein Reezigt
Hey all, Me again. I found the problem. The 505 exception thrown pointed me looking in the wrong direction. With the creation of the WSDL file, I gave some 'wrong' parameters. This caused the service name to be ' MyBank -n urn:MyBank'. When I looked at the deployed services in axis it

Re: Axis web services - multi-threaded ??

2004-02-17 Thread Tony Blair
Hamid, That's true. "Request" will cause a new object to be created per request. This would be an ideal choice only if the service object contains state. Otherwise "Application" or "Session" would be preferable. Tony.Aaron Hamid [EMAIL PROTECTED] wrote: Doesn't that create a new object per

wsdl2java mapping primitives to objects

2004-02-17 Thread Heitzeg, Bill
Hi, When I generate a client using wsdl2java, xsd:int is mapped to a java int type. I would like it to be mapped to an Integer. Does anyone know how to do this? Thanks, Bill Bill Heitzeg 1-734-995-9131

Re: wsdl2java mapping primitives to objects

2004-02-17 Thread Matthew Sgarlata
I believe that if the WSDL specifies that the field is nillable, then xsd:int is mapped to Integer instead of int. Can you change your WSDL? Matt - Original Message - From: Heitzeg, Bill [EMAIL PROTECTED] To: Axis-User (E-mail) [EMAIL PROTECTED] Sent: Tuesday, February 17, 2004 10:30 AM

RE: wsdl2java mapping primitives to objects

2004-02-17 Thread Heitzeg, Bill
Thanks Matt, Unfortunately, the WSDL does specify that the element is nillable, but it is still being mapped to an int. In the wsdl the element looks like: element name=sailMinLenDays nillable=true type=xsd:int / Bill Bill Heitzeg 1-734-995-9131 -Original Message- From: Matthew

RE: wsdl2java mapping primitives to objects

2004-02-17 Thread Mallipeddi, Sekhar
Title: RE: wsdl2java mapping primitives to objects Here is the documentation on this from user guide Standard mappings from WSDL to Java xsd:base64Binary byte[] xsd:boolean boolean xsd:byte byte xsd:dateTime java.util.Calendar xsd:decimal

RE: wsdl2java mapping primitives to objects

2004-02-17 Thread Heitzeg, Bill
Title: RE: wsdl2java mapping primitives to objects Sekhar, Based on the documentation, it looks like there is a bug in wsdl2java. Have you been able to map a nillable xsd:int to a Java Integer? Has anyone else? Bill Bill Heitzeg 1-734-995-9131 -Original Message-

Re: wsdl2java mapping primitives to objects

2004-02-17 Thread Matthew Sgarlata
Title: RE: wsdl2java mapping primitives to objects Java2WSDL and WSDL2Java are buggy. I know that some bugs have been fixed in the nightlies, so I'm actually going to download that now instead of using 1.2 alpha. A committer would probably tell you to upgrade to the nightlies, see if the bug

Re: Problem with running example with apache axis

2004-02-17 Thread Andreas Roppel
Hi, I have set the axisclasspath in the runtimenvironment like you said, but now comes another errormessage: "java.net.ConnectException: Connection refused: connect" What can I do? thanks - Original Message - From: Saunders, Roger To: [EMAIL PROTECTED] Sent:

RE: Problem with running example with apache axis

2004-02-17 Thread Kees van Dieren
That's because you run the connectionTest example, this endpoint currently doesn't work. You should try the stockquote example, as described in the user-guide. Hope that helps! -Oorspronkelijk bericht-Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Verzonden: dinsdag 17

RE: wsdl2java mapping primitives to objects

2004-02-17 Thread Heitzeg, Bill
Title: RE: wsdl2java mapping primitives to objects Sekhar, Im using 1.2 alpha, so maybe I need to try this with 1.1 as well. I think what Ill do is to create a test case using multiple primitives, try it out with 1.1, 1.2 alpha, and the nightly builds. If it is indeed a bug, Ill then

Re: Problem with running example with apache axis

2004-02-17 Thread Andreas Roppel
thank you! the example2 (Calculator) worked :)) regards, andi from germany - Original Message - From: Kees van Dieren To: [EMAIL PROTECTED] Sent: Tuesday, February 17, 2004 5:52 PM Subject: RE: Problem with running example with apache axis That's because you

Axis != SOA but used in possible impl?

2004-02-17 Thread Peter Girard
Is Axis up to the task of implementing the foundations of a SOA? One of the tenents of a SOA is the ability to have a Service call another Service. Can Axis act as both a Server and a Client? If so, is there a good example of the Server/Client code? thanks, pg

Help with deploy.wsdd

2004-02-17 Thread Nair Kumar
I have a webservice that takes as input some string fields and an attachment and it returns back another attachment. I get the following error when I try to browse the wsdl from the AxisServlet Fault - ; nested exception is: WSDLException: faultCode=OTHER_ERROR: Canapos;t find prefix for

Re: Problem with running example with apache axis

2004-02-17 Thread Andreas Roppel
Hi Tony, thanks for your reply. I took another example, because with this example you need a network connection and this bring perhaps some problems. The userguide example2 (Calculator) worked. Now I have a problem with example3 (% java samples.userguide.example3.Client "test me!") I get an

WSDL2Java throws IOException when given a huge wsdl (487kb)

2004-02-17 Thread Susantha Kumara
Hi, When I parsed a huge WSDL (SLWebSvc.wsdl) WSDL2Java throws following exception. java org.apache.axis.wsdl.WSDL2Java SLWebSvc.wsdl java.io.IOException: WSDL2Java emitter timed out (this often means the WSDL at the specified URL is inaccessible)! at

Re: WSDL2Java throws IOException when given a huge wsdl (487kb)

2004-02-17 Thread Davanum Srinivas
run wsdl2java with -O -1 -O, --timeout argument timeout in seconds (default is 45, specify -1 to disable) thanks, dims --- Susantha Kumara [EMAIL PROTECTED] wrote: Hi, When I parsed a huge WSDL (SLWebSvc.wsdl) WSDL2Java throws following exception. java

Re: Problem with running example with apache axis

2004-02-17 Thread Tony Blair
Andreas, It sounds that example 3 has not been deployed on your server. To determine if a service has been deployed, you can go to http://localhost:8080/axis (assuming you have installed your app server on port 8080) then click on the "View" tab to view all the deployed services. If you don't see

Re: R: java2wsdl problem with axis1.2 alfa

2004-02-17 Thread Tony Blair
Roberto, I am not sure how to generate the doc/lit wsdl). Tony.Martini Roberto [EMAIL PROTECTED] wrote: Thanks Tony for the help, but It was only a simple reproduction of the problem that I'm having. The real problem involves about 10 interfaces with 7-8 methods taht use about 50

RE: wsdl2java mapping primitives to objects

2004-02-17 Thread Heitzeg, Bill
Title: RE: wsdl2java mapping primitives to objects Just to follow up on this. I tried this with 1.1 and it worked fine. For the following type: complexType name=SetOfPrimitives sequence element name=doubleValue nillable=true type=xsd:double/ element name=integerValue

Problem with EchoAttachment sample

2004-02-17 Thread ROBERT SJODIN
When running the samples.attachments.EchoAttachment code, a NullPointerException is thrown in org.apache.axis.Message.createAttachmentPart(), on line 620 of the file. It appears that the member variable mAttachments is null. Comments in the file suggest that the variable is null when