Re: Retrive value?

2003-10-17 Thread Stephen Gordon
If you're using a handler, you can use the method getOption() which is inherited from BasicHandler... this gets the parameters which were set in server-config.wsdd (and i'm not sure but if you're on the client side I would think it would get the ones from client-config.wsdd). If you're talking

Re: HTTP Chunking

2003-10-17 Thread Dimuthu Leelarathne
Yes Axis supports chunking. Check out org.apache.axis.transport.http.HTTPSender.java. - Original Message - From: "Paul Harman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 14, 2003 4:16 PM Subject: HTTP Chunking > Does AXIS accept (and is AXIS able to send) HTTP-ch

Re: generated wsdl has wrong date type

2003-10-17 Thread jaccoud
Axis is correct, and this mapping is defined by JAX-RPC. The name of the java.util.Date class is misleading, since it also contains time values, and is thus mapped to xsd:dateTime. Otherwise, the time information would be lost. Beware that java.util.Calendar also gets mapped to a xsd:dateTime. Whe

Unable to Deserialize complex object

2003-10-17 Thread Sridhar Kotagiri
Hi, I am new to web services concept.I need to invoke a web service .The WSDL is developed using weblogic..I am using apache axis to generate the client side stubs.I have been receiving a SAXException I think it is unable to Deserialize the response object. 1)Previously the response obje

Re: referencing my complex types in my client code

2003-10-17 Thread Christopher Blunck
PS - I believe I could do it by casting my java.xml.rpc.Service to an org.apache.axis.client.Service and then call setTypeMappingRegistry(..) on it - is that the preferred method? I'm going to go give it a shot. -c On Fri, Oct 17, 2003 at 04:32:59PM -0400, Christopher Blunck wrote: > I've be

referencing my complex types in my client code

2003-10-17 Thread Christopher Blunck
I've been looking high and low for documentation on how to instruct a JAXRPC client (backed by Axis) where to look for your complex types. So here's a challenge - prove me an idiot by calling out where these docs exist, or similarly mock my intelligence by provided a code snippet to explain how t

generated wsdl has wrong date type

2003-10-17 Thread Steve Pruitt
All, I have a service with an argument declared as java.util.Date. When I use axis' wsdl generating tool, the resulting wsdl declares the part as xsd:dateTime. Shouldn't this be xsd:date? How do I get the right xsd type generated? -Steve Pruitt

Re: sharing session between servlets and soap services

2003-10-17 Thread Justin Ruthenbeck
Hi Lucas, Thanks for your message. I'm ashamed to say that I never saw the axis.transport.http.AxisHttpSession object while looking into HttpSession integration paths. It definitely makes sense to wrap the HttpSession to make it an axis.session.Session object. However, we're still missing on

Retrive value?

2003-10-17 Thread PARLEY,THUNDER (HP-MountainView,ex1)
Hi List, What is the best way for me to get a value in the web.xml while my service is processing a request? Is this even possible r is there a better way to establish configuration parameters for my service? I have tried this already: MessageContext context = MessageContext.getCurrentContext()

RE: I think my Axis is missing directories...

2003-10-17 Thread Sridhar Kotagiri
Hi, This is my classpath it was working for me.May be you can figure out the missing jar files from this. set classpath=%classpath%;E:\Cvs\build\lib\;.;E:\Cvs\build\lib\.;E:\Cvs\build\lib\apache_soap_2_2.jar;E:\Cvs\ibpdmz\webApplication\WEB-INF\lib\axis_1_1_plus.jar;E:\Cvs\ibpdmz\webApp

Re: Browsers that work with SOAPMonitor and Linux?

2003-10-17 Thread Christopher Blunck
No joy with Netscape 6.2 and jdk1.3.1 either. :-/ -c On Fri, Oct 17, 2003 at 12:12:43PM -0400, Christopher Blunck wrote: > Thanks. A coworker recommends Netscape 6.2 with the jdk1.3.1 java plugin for > Netscape 4. That's downloading right now - hopefully it will work. I'll post > if it does.

Re: I think my Axis is missing directories...

2003-10-17 Thread Yves Gerber
it doesn't matter what I do, I can't seem to get past NoClassDefFoundError. Are you using Unix or DOS/WinXP?Echo just repeated the line like I entered it.   Cheers -Yves Stephen Gordon <[EMAIL PROTECTED]> wrote: AXISCLASSPATH is just done for the convenience of that guide.My approach:Put all your

Re: Browsers that work with SOAPMonitor and Linux?

2003-10-17 Thread Christopher Blunck
Thanks. A coworker recommends Netscape 6.2 with the jdk1.3.1 java plugin for Netscape 4. That's downloading right now - hopefully it will work. I'll post if it does. -c On Sat, Oct 18, 2003 at 02:06:43AM +1000, Stephen Gordon wrote: > Try Mozilla Firebird v0.7 or Mozilla v1.5. It works on Win

question about wsdl2java

2003-10-17 Thread Nsathiamoorthy
Hi, I'm having a problem which results in a deserilizer not being found when I run the junit class that was autogenerated from wsdl2java. In my webservice, I have a method which takes no arguments and returns a Collection of SystemCheckResponse objects. The SystemCheckResponse Class is not specif

Re: sharing session between servlets and soap services

2003-10-17 Thread Lucas McGregor
I am not sure if this answers your question, but if you look at the code for org.apache.axis.transport.http.AxisServlet in doPost, you will find the line: msgContext.setSession(new AxisHttpSession(req)); The AxisHttpSession is basically a SoapSession object that wraps the HttpSession object. So,

.Net generating wrong function signature

2003-10-17 Thread Agarwal, Naresh
I've written a doc/literal WSDL. This has one operation "echo".   The input message for this operation refers to an element "ipml:echo" . This element is of complextype which contains a sequence.   Output message refers to an element "impl:echoReturn. This element is of complex type which

Re: Browsers that work with SOAPMonitor and Linux?

2003-10-17 Thread Stephen Gordon
Try Mozilla Firebird v0.7 or Mozilla v1.5. It works on Windows at least. I think this is a mozilla problem since that's what's crashing and it's a pretty old version. If you can't get the Java plugin to work go to plugindoc.mozdev.org stephen Christopher Blunck wrote: I'm on RH9, running both g

how to specify className when you generate the skeleton

2003-10-17 Thread Christopher Blunck
I've got our web service skeleton generation running out of ant like this: This happily generates the deploy.wsdd. But in the deploy.wsdd, the className is the skeleton that wsdl2java generated. It would be nice to be able to specify a className as an argument to wsdl2java that can be passe

Browsers that work with SOAPMonitor and Linux?

2003-10-17 Thread Christopher Blunck
I'm on RH9, running both galeon and mozilla. When I try to view the SOAPMonitor page, my browser dies with: [1]+ Exit 255mozilla I'm running Mozilla: Mozilla 1.2.1 Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 This also happens to me with galeon 1.2.7

Re: I think my Axis is missing directories...

2003-10-17 Thread Stephen Gordon
AXISCLASSPATH is just done for the convenience of that guide. My approach: Put all your JARs in webapps\axis\WEB-INF\lib. set TOMCAT_HOME=wherever set AXIS_LIB=%TOMCAT_HOME%\webapps\axis\WEB-INF\lib set CLASSPATH=%AXIS_LIB%\axis.jar Then for all the other JARs in webapps\axis\WEB-INF\lib: set

Re: I think my Axis is missing directories...

2003-10-17 Thread Yves Gerber
Is there a difference between AXISCLASSPATH and CLASSPATH? I try following the Axis guide, they keep refering to AXISCLASSPATH, which I have implemented. Also, I have all the jar files listed in the AXISCLASSPATH, in XP, in the enviro var settings so separate each of the jars with a semi-colon ; ri

Deserialization problem

2003-10-17 Thread Sridhar Kotagiri
Hi, I'am new to web services.I have been facing a problem with deserialization. 1)I am using axis to generate the client side code.When my object model is simple I dont have any problems everything is working perfect. 2)Now I have a complex object model that returns MyContactTOW

Re: I think my Axis is missing directories...

2003-10-17 Thread Stephen Gordon
You need to set your CLASSPATH to include all the axis JARs. Then do java org.apache.axis.client.AdminClient -l deploy.wsdd The URL supplied on the -l flag should be right if you did the default install of axis (Tomcat on port 8080, axis in the /axis context). Also check http://localhost:8080/

RE: WS - SSL / Certificate-question

2003-10-17 Thread Mike Burati
> However, I don't know how to get from Axis to the servlet request object. > May be someone else knows? http://marc.theaimsgroup.com/?l=axis-user&m=104489083330198&w=2

I think my Axis is missing directories...

2003-10-17 Thread Yves Gerber
On the User's guide, where it tells you to "run the admin client" -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd  but I can't find the "services/AdminService" directory, nor the "servlet/AdminServlet" directory when you click "Administer Axis" from the axis home page. I have Axis 1

SV: Invalid date/time

2003-10-17 Thread Hans Jakob Skovenborg
Title: Meddelelse Well, my code is generated by WSDL2Java and I have checked it now and it's using java.util.Date. ;-!   -Oprindelig meddelelse-Fra: Ajia [mailto:[EMAIL PROTECTED] Sendt: 17. oktober 2003 13:32Til: [EMAIL PROTECTED]Emne: RE: Invalid date/timeu need to use java.util.d

RE: Invalid date/time

2003-10-17 Thread Ajia
u need to use java.util.date in your service, not java.sql.date.I have same problem and my solution, convert to long to avoid future problems :) - Mensage Original De: [EMAIL PROTECTED]Para: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>Asunto: Invalid date/timeFecha: 18/10/03 05:28I go

Invalid date/time

2003-10-17 Thread Hans Jakob Skovenborg
I got problems using schema date type in an attribute definition. The element is here 250. I don't get gany problems by using date type in an element definition like this 2003-10-06 At the client side I get following exception -> java.lang.NumberFormatException: Invalid date/time

Jaxrpc.jar und wsdl.jar

2003-10-17 Thread Akacem Mohammed
hello, I noticed that in the file jaxrpc.jar und wsdl.jar the same class Qname ( with differrent version) are included. On the weblogic server I have a conflict because this difference. my question is : do I need the wsdl.jar file for my axis client for produktion? ps : axis version 1.0 thanks

AW: WS - SSL / Certificate-question

2003-10-17 Thread Andreas Schoernig
Thanks, I try it... Bye, Andreas > -Ursprüngliche Nachricht- > Von: Manuel Mall [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 17. Oktober 2003 10:58 > An: '[EMAIL PROTECTED]' > Betreff: RE: WS - SSL / Certificate-question > > > Andreas, > > have a look at the getUserPrincipal() met

RE: WS - SSL / Certificate-question

2003-10-17 Thread Manuel Mall
Andreas, have a look at the getUserPrincipal() method in the HttpServletRequest object. I think that's what you want. However, I don't know how to get from Axis to the servlet request object. May be someone else knows? Manuel -Original Message- From: Andreas Schoernig [mailto:[EMAIL PRO

WSDL error when retrieving WSDL definition of an Axis service

2003-10-17 Thread De Closmadeuc, Etienne
I've declared in server-config.wsdd the following service (like the axis example EchoAttachmentsService.java) : http://schemas.xmlsoap.org/soap/encoding/"; serializer="org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory" deserializer="org.apache.axis.enc

AW: WS - SSL / Certificate-question

2003-10-17 Thread Andreas Schoernig
Hi, ok i forgot some informations ;-) q1: the host is a tomcat (4.1.X / linux) q2: after first tries with SSL only with server-certification i set it to request client certificates. and it works ... ;-) but no idea how to access the certificate on the ws ... ok i try to search again.. maybe i

RE: WS - SSL / Certificate-question

2003-10-17 Thread Manuel Mall
Andreas, Q1: Which environment are you using to host AXIS - eg. tomcat, websphere, Q2: Have you configured SSL in your environment to request client certificates - by default SSL usually only requires a server certificate You may have to read up / search the web on SSL + ... where ... is yo

Re: WS - SSL / Certificate-question

2003-10-17 Thread Harald Pollak
I'm not shure but maybe you can do this via Handlers Harry Am Freitag, 17. Oktober 2003 10:03 schrieb Andreas Schoernig: > Hi, > > I have a short question and found no answer at searchengines (maybe becaus > wrong seach-words ?!) > > Ok the situation: > > I have a AXIS-WS using HTTPs , SSL ... a

WS - SSL / Certificate-question

2003-10-17 Thread Andreas Schoernig
Hi, I have a short question and found no answer at searchengines (maybe becaus wrong seach-words ?!) Ok the situation: I have a AXIS-WS using HTTPs , SSL ... all works fine ... so far so good, but now i would like to check in axis which user is it . Can I access the Certificate from Axis ( in