RE: ...getting null values

2003-12-12 Thread I-Sampige, Srinivas
Hi I am using Axis 1.1. I think I confused you by talking about the "implementation class". This is how I have my web service setup - -- mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 12:46 PM To: [EMAIL PROTECTED] Subject: Re: ...getting null

How do I tell Axis to deserilize an xml-soapSOAPStruct in stubs?

2003-12-12 Thread Scott Ellsworth
Howdy, all. I have read through the responses to my last post, and tried various experiments, but I think I am just missing something. Here is a more specific, and thus hopefully easier question that might illuminate what I am missing. I am trying to deserialize the following return from my

Re: Proper WSDL allowing Axis to interpret a SOAP::Lite hash ref

2003-12-12 Thread Scott Ellsworth
On Dec 12, 2003, at 12:51 PM, [EMAIL PROTECTED] wrote: Just a word of warning. Hash tables are not a standard interop type. You will loose compatibility between SOAP implementations. I suggest you use an array of Java Beans with key/value pair concept. Fair enough. I am having a bit of troub

Re: Session Handling and Stateful WS

2003-12-12 Thread Chetan Lalye
Thanks Chris   However, I modifed it as you suggested and tried to get the value back as soon as I create it and it still fails...   long longval= 9912345678L java.lang.Long id2 =  new Long(longval);// and add it SOAPHeaderElement header = new SOAPHeaderElement("http://mywork.test.session",

RE: Proper WSDL allowing Axis to interpret a SOAP::Lite hash ref

2003-12-12 Thread rmkellogg
Just a word of warning. Hash tables are not a standard interop type. You will loose compatibility between SOAP implementations. I suggest you use an array of Java Beans with key/value pair concept. Good luck, Rick Kellogg > Have you tried using the built-in HashMap type provided by apachesoap

Re: ...getting null values

2003-12-12 Thread Aaron Hamid
That's strange, only the Skeleton class was inspected for ServiceLifecycle last time I checked, and my impl was not itself inspected/called. What Axis version are you using, 1.1? Are you using RPC style with stubs? Aaron I-Sampige, Srinivas wrote: Aaron, I got it working after some close ana

RE: ...getting null values

2003-12-12 Thread I-Sampige, Srinivas
Aaron, I got it working after some close analysis and trial and error. I had place the parameters in the wrong section using the wrong tags. This is what I had to do - Apache-Axis demoFoFileName demoFoFile.fo foo desc --

RE: Proper WSDL allowing Axis to interpret a SOAP::Lite hash ref

2003-12-12 Thread Gurkan, Ozzie (MAN-Corporate)
Have you tried using the built-in HashMap type provided by apachesoap: Types definition: http://xml.apache.org/xml-soap"; xmlns="http://www.w3.org/2001/XMLSchema";> http://schemas.xmlsoap.org/soap/encoding/"; /> Message definition: Works l

RE: Session Handling and Stateful WS

2003-12-12 Thread chris
    #2 )Axis registers a type mapping for the java.lang.Long.class, is your id object of type java.lang.Long or a custom type?  If it is a custom type, the type mapping needs to be defined, or convert the object to a native object (for example, String or Long) and pass the simpler represe

Proper WSDL allowing Axis to interpret a SOAP::Lite hash ref

2003-12-12 Thread Scott Ellsworth
Hi, all. I have searched the archives, but have not gotten quite enough of a clue to solve the problem I face. I wish to use Java to get the results from a call to a SOAP server running Perl SOAP::Lite. The function returns a hash ref, encoded as SOAP::Lite encodes. (raw soap call/retur

Session Handling and Stateful WS

2003-12-12 Thread Chetan Lalye
Hi,   I have a couple of questions for the axis gurus..   1. Session Handling  I created a simple stateful webservice by using the SimpleSession Handler and it seemed to work. However I wanted to know how this scales to mutiple users and clients. Are there any limitations ? Are there any other iss

AW: Can webservice code read from file?

2003-12-12 Thread Daniel Humberg
Oh, I think I solved the problem: Probably it was a classpath-error. Tomcat/Axis looks for jars in its common/lib folder or in the systems classpath-variable (right?). I used Eclipse to write the webservice. Eclipse looks for jars in its own places that can be specified in the Eclipse-project's se

RE: Help on name spaces in castor

2003-12-12 Thread Pradeep Jonnalagadda
Thanks Ozie i will try ur approach and let u know pradeep. This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in de

axis binding

2003-12-12 Thread Keith Bohnenberger
Are there any plans to make the "binding" capability in Axis pluggable so you could choose to use whatever binding tool you wanted in wsdl2java and in the soap engine at runtime? It seems that if the JAXB spec ever catches up and is mandated by the JAX-RPC spec this type of architecture would be ne

Re:Re: Can webservice code read from file?

2003-12-12 Thread Daniel Humberg
Thanks Keith, with stack traces, i found out a bit more. It seems to be an XML-parsing problem. (my code tried to read from an XML file and parse it. Once again, the same code works fine if I call the method locally from a java-class (without webservices). What could be the reason? Could it be tha

RE: Deserializer help needed

2003-12-12 Thread Gurkan, Ozzie (MAN-Corporate)
Cool! -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 8:49 AM To: [EMAIL PROTECTED] Subject: RE: Deserializer help needed FYI - http://marc.theaimsgroup.com/?l=axis-dev&m=107123658717925&w=2. Please try the latest cvs. -- dims --- "

RE: 1.2 alpha and castor serialization

2003-12-12 Thread Gurkan, Ozzie (MAN-Corporate)
Ok, I will try my best... -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 8:18 AM To: [EMAIL PROTECTED] Subject: RE: 1.2 alpha and castor serialization Ozzie, Can you please submit a stripped down complete sample that we can drop into

RE: 1.2 alpha and castor serialization

2003-12-12 Thread Gurkan, Ozzie (MAN-Corporate)
No, just simply use the http://creditreport.service.portal.manheim.com/2003/8"/> Notice that there is no mention of serializers, because, in the background, it uses the standard Bean Serializer/Deserializers to introspect the castor beans. That particular class, "CreditCheckRequest", was generated

[Axis & Tomcat4.1.27] Bug when changing SDK (client side !)

2003-12-12 Thread Tracy McGrady
Hi I've had a strange error when i've decided to upgrade my java sdk client side. I've installed Axis under Tomcat 4.1.27, which runs with sdk 1.4.1. My client sofware, that i'm developping run well with sdk 1.4.1... I've decided to upgrade the sdk, server side and client side. - With sdk 1.4.2_0

RE: Deserializer help needed

2003-12-12 Thread Davanum Srinivas
FYI - http://marc.theaimsgroup.com/?l=axis-dev&m=107123658717925&w=2. Please try the latest cvs. -- dims --- "Gurkan, Ozzie (MAN-Corporate)" <[EMAIL PROTECTED]> wrote: > Here are the two attached files for helping with serialization and > de-serialization of Castor EnumType classes. You will ne

RE: Castor Serializers

2003-12-12 Thread Davanum Srinivas
FYI - http://marc.theaimsgroup.com/?l=axis-dev&m=107123658717925&w=2. Please try the latest cvs. -- dims --- "Gurkan, Ozzie (MAN-Corporate)" <[EMAIL PROTECTED]> wrote: > No, it works fine without modification. Why do you think that it needs > modification? > > -Original Message- > From:

Re: How do I make a POST call to a webservice?

2003-12-12 Thread Guillaume Sauthier
When you make a POST request to a webservices, a real SOAP message is required. There is no way to use a GET style (method=, ...) with POST method. Regards Guillaume Nikolaj Ravn wrote: > > Hi All > > How do I make my webservice accept data send as POST. It works fine when > I'm performing

RE: 1.2 alpha and castor serialization

2003-12-12 Thread Davanum Srinivas
Ozzie, Can you please submit a stripped down complete sample that we can drop into say samples/castor directory in Axis 1.2 Beta release? (http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/SubmitPatches) Thanks, dims --- "Gurkan, Ozzie (MAN-Corporate)" <[EMAIL PROTECTED]> wrote: > 1

Important .. Query Regarding Compression Using Axis

2003-12-12 Thread aDiTyA kUlKaRnI
Hi, I am a developer in a private company and facing the following problem :- I am using axis to access a webservice. The request i am making to the webservice is not compressed by default when i am using axis. Now, I want to enable the compression so that when i send any request by iovoking th

SSL causes nullpointer

2003-12-12 Thread Magnus Sandberg
I have managed to build java source from a https wsdl source using WSDL2java. When I try to invoke the service using https getSocket causes a nullpointer. Is this a bug in axis or do I have to do something extra to make the client work with SSL? Calling the same server using http works as expecte

Namespace Prefix Stripped From XML Data

2003-12-12 Thread Lovell, Jim M
I have an Axis RPC service that return a DOM Element as the return data type. The data I expect to get back from the servoce should look like the following. However what I get back from Axis is a stripped down verison without the namespace prefix data. Any idea why Axis would remove namespace pr

How do I make a POST call to a webservice?

2003-12-12 Thread Nikolaj Ravn
Hi All How do I make my webservice accept data send as POST. It works fine when I'm performing a GET, but I have an awfull lot of XML text which requires a POST. I've noticed that you can specify a WSDD-file but the Apache doc lacks a somewhat. I'm using Axis 1.1. Please, any help wil be much app

RE: Best practice for Java Object types like Integer, Long, ...

2003-12-12 Thread Keith Hatton
Thanks for that Rick, I suspected as much, :(, but at least I know I haven't missed anything obvious. For now, I'll go with Strings on these problem methods (as I am wrapping an existing API that I don't want to change). Keith -Original Message- From: Rick Kellogg [mailto:[EMAIL PROTEC

RE: Can webservice code read from file?

2003-12-12 Thread Keith Hatton
Hi Daniel, I don't think there is any problem in principle with reading/writing Files. But your application server's security policy might not permit it by default. The other possibility that springs to mind is that there is some problem with class loaders, and that Axis can't find the classes

Can webservice code read from file?

2003-12-12 Thread Daniel Humberg
I an quite new to axis and I am stuck in a UserException problem: I have a method 'String addEntry()' that reads from a local file and then adds an entry to a mysql-database. If I run addEntry locally, it works fine. If I call it with a webservice-client, I get a soap-fault: - soapenv:Ser

RE: Help on name spaces in castor

2003-12-12 Thread Gurkan, Ozzie (MAN-Corporate)
It looks like your request is the one with the problem. The request's body is in a "" namespace while the root is in "http://beans"; namespace. You need to somehow remove the extra xmlns attributes because it is confusing the parser. -Original Message- From: Pradeep Jonnalagadda [mailto:[E

RE: Castor Serializers

2003-12-12 Thread Gurkan, Ozzie (MAN-Corporate)
No, it works fine without modification. Why do you think that it needs modification? -Original Message- From: Pradeep Jonnalagadda [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 5:14 PM To: [EMAIL PROTECTED] Subject: Castor Serializers Hi Ozzie, I'm

RE: some queries for axis c++

2003-12-12 Thread Jaspreet Singh
Hi Thanks for the prompt reply. > -Original Message- > From: Susantha Kumara [mailto:[EMAIL PROTECTED] > Sent: Friday, December 12, 2003 6:10 PM > > 4. what if my web service is not a dll or i don't want to > make it a dll? i > > just have a set of functions/classes and i don't want to

RE: some queries for axis c++

2003-12-12 Thread Susantha Kumara
Hi Jaspreet, > -Original Message- > From: Jaspreet Singh [mailto:[EMAIL PROTECTED] > Sent: Friday, December 12, 2003 4:05 PM > To: [EMAIL PROTECTED] > Subject: some queries for axis c++ > > > Hi All > > I have a few queries regarding axis c++. > > 1. I tried using the InteropBase sample. T

RE: Best practice for Java Object types like Integer, Long, ...

2003-12-12 Thread Rick Kellogg
Keith, In general, the approach you are taking will not work with other languages. You see for example, C# does not include a Long data type. It only includes long and Object. I suggest another approach using marker values. Good luck, Rick -Original Message- From: Keith Hatton [mailt

RE: Best practice for Java Object types like Integer, Long, ...

2003-12-12 Thread Rick Kellogg
Keith, In general, the approach you are taking will not work with other languages. You see for example, C# does not include a Long data type. It only includes long and Object. I suggest another approach using marker values. Good luck, Rick -Original Message- From: Keith Hatton [mailt

Best practice for Java Object types like Integer, Long, ...

2003-12-12 Thread Keith Hatton
Not an Axis-specific question, more about WSDL and Java... I have a number of methods with parameters or return types like java.lang.Integer or java.lang.Long. Using Java2WSDL/WSDL2Java these get converted into int and long, which is not what I need - null is a valid value. But I can't put nill

Re: Apache Axis Tutorial

2003-12-12 Thread Yves
Nevermind... I just needed to restart the service...Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Testez le nouveau Yahoo! Mail

some queries for axis c++

2003-12-12 Thread Jaspreet Singh
Hi All I have a few queries regarding axis c++. 1. I tried using the InteropBase sample. The array types were not working. There crash while deleting the array on server side (i used simpleaxisserver) at: ~Param() -> ~ArrayBean() -> crash at "delete [] a;" for that particular type 2. i had probl

RE: Zipping up stream?

2003-12-12 Thread Morten S. Mortensen
Have a look at the RFC for HTTP on look under "HTTP compression". Gzip-compression is prettry common - reduces the size with a factor of 3 to 10, depending. Gzip-input- and Gzip-output-streams exist in J2SE. Regards, Morten Sabroe Mortensen -Original Message- From: Gurkan, Ozzie (MAN

RE: Edit server-config.wsdd ?

2003-12-12 Thread Daniel Humberg
Yes, the url was correct. I just misspelled it in the mail. http://localhost:8080/axis/services/myservice?list -Ursprüngliche Nachricht- Von: Dhanush Gopinath [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 12. Dezember 2003 10:51 An: [EMAIL PROTECTED] Betreff: Re: Edit server-config.wsdd ?

Re: Edit server-config.wsdd ?

2003-12-12 Thread Dhanush Gopinath
is the URL correct its services ... try that :) Dhanush - Original Message - From: "Daniel Humberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 12, 2003 3:06 PM Subject: Edit server-config.wsdd ? > I tried to edit my axis' server-config.wsdd. > My plan was to inser

Can webservice code read from file?

2003-12-12 Thread Daniel Humberg
I an quite new to axis and I am stuck in a UserException problem: I have a method 'String addEntry()' that reads from a local file and then adds an entry to a mysql-database. If I run addEntry locally, it works fine. If I call it with a webservice-client, I get a soap-fault: - soapenv:Ser

Edit server-config.wsdd ?

2003-12-12 Thread Daniel Humberg
I tried to edit my axis' server-config.wsdd. My plan was to insert 2 global parameters: I tested this by going to http://localhost:8080/axis/service/myservice?list, but the page coudn't be found. Then I tried AdminClient -list , but it returned an "internal server error". I had to reuse the

Re: Apache Axis Tutorial. Problem solved: new problem

2003-12-12 Thread Yves
I got the TaxClient.java to compile, it was a case that I needed to first compile the other four dependent files, now that's okay. When I go to run the app (java TaxClient) I get: An Axis Fault occurred: java.net.ConnectException: Connection refused: connect What's up with that?   Cheers   YvesDo Y

getChildElements(Name) trouble

2003-12-12 Thread Cyril Godefroy
I'm having trouble iterating through my SOAPBody. I get the top element fine, but when I go down, the iterators come back empty. Here's my SOAPBody : http://schemas.xmlsoap.org/soap/envelope/";> http://schemas.realhouses.com/listingSubmission";> Really Nice Homes, Inc add T