Hi Venkatesh,
THANK YOU. IT WORKED :-) I was actually missing the line QName qParam=new QName("urn:PublicService3","Param"); in Client.java
You are the best. If you ever come to England, please Stop by at the Buckingham palace.
Tony.
Venkatesh Kancharla <[EMAIL PROTECTED]> wrote:
Hi Tony,Its a p
Hi Tony,
Its a problem with your Client.java. You need to have this 2 lines
of code
QName qParam=new QName("urn:PublicService3","Param");
call.registerTypeMapping(Param.class, qParam, new ...);
Every object should have one Qualified Name associated with it.
regards
Venkatesh
On Fri, 6 F
Hi Venkatesh,
Thanks. I have corrected the problem but now I am getting this error:
SEVERE: Exception:org.xml.sax.SAXException: No deserializer for {urn:PublicService3}Param at org.apache.axis.encoding.DeserializerImpl.onStartElement(DeserializerImpl.java:485) at org.apache.axis.enc
Hi Tony,
There is a problem with your client code.. You have sent the
return type as Param and your type casting the result to a ArrayList..
So, modify your Client.java file and you need to modify the statement
call.setReturnClass(Param.class)...
regards
Venkatesh
On Thu, 5 Feb 2004, To
:18 AMTo: [EMAIL PROTECTED]Subject: Re: SimpleDeserializer error
Hi Venkatesh,
Thanks for the suggestion. I slightly modified my code from yesterday where my bean takes a Collection and my service also returns a Collection. Based on the error I get I am not sure if the ser/deser are the problem. H
-
Navneet.
-Original Message-From: Tony Blair
[mailto:[EMAIL PROTECTED]Sent: Thursday, February 05, 2004 8:18
AMTo: [EMAIL PROTECTED]Subject: Re:
SimpleDeserializer error
Hi Venkatesh,
Thanks for the suggestion. I slightly modified my code from yesterday
where my bean takes a
Hi Venkatesh,
Thanks for the suggestion. I slightly modified my code from yesterday where my bean takes a Collection and my service also returns a Collection. Based on the error I get I am not sure if the ser/deser are the problem. Here is the error and thanks for all the help you can give me.
Have a look at org.apache.axis.encoding.ser package. It contains all the
serializers and deserializers for some collecion objects.
On Wed, 4 Feb 2004, Tony Blair wrote:
> Venkatesh,
>
> Does Axis allow beans to have Collections as their data member?
>
> Thanks,
> Tony.
>
> Venkatesh Kanchar
Venkatesh,
Does Axis allow beans to have Collections as their data member?
Thanks,
Tony.
Venkatesh Kancharla <[EMAIL PROTECTED]> wrote:
> > Error : org.xml.sax.SAXException: SimpleDeserializer encountered a child element> , which is NOT expected, in something it was trying to deserialize.> >
I think you should register type mapping for Param also in the
Client.java as ur return type is of type Param
> -- client
> --
> public class Client
> {
> public static void main(String [] args) throws Exception
>
Thanks Venkatesh,
Here are the code:
---first bean-
public class Request{ private Param _params=null; public Param getParams() { return _params; } public void setParams(Param params) { _params=params; } }-
can you please post both the objects? I did face this problem long back
and I don`t clearly remember how I solved it. Maybe after seeing the
object, I may be able to give you some solution
regards
---
Venkatesh Kancharla
_|_|_|_|_| _|_|_|_|_| _|_|_|_|_| _|_|_|_|_| _|_|_| _|_|
Hi Venkatesh,
Thanks for the reply. Answer to your question is 'yes'. My bean contains another bean inside. Both beans have getters and setters. None of the samples that came with axis download have similiar situation. They all contain simple types.
Initially I was getting "no deserializer foun
>
> Error : org.xml.sax.SAXException: SimpleDeserializer encountered a child element
> , which is NOT expected, in something it was trying to deserialize.
>
> My client is invoking a call to the service and pass it a bean that has a complex
> type as a data member. Should I post the code and d
,
Richard
From: Pani,
Gourav [mailto:[EMAIL PROTECTED]
Sent: 06 January 2004 20:54
To: '[EMAIL PROTECTED]'
Subject: RE: SimpleDeserializer
Error
Can you accomplish this if you are using
RPC-style Web Services as opposed to using Castor or does Castor fit into any
RPC
: 06 January 2004 18:55To: '[EMAIL PROTECTED]'Subject: RE: SimpleDeserializer
Error
Is there some sort of
a workaround to this?
-Original
Message-From: Richard
Martin [mailto:[EMAIL PROTECTED]Sent: Tuesday, January 06, 2004 1:55
serializer
Error
Is there some sort of a workaround to
this?
-Original Message-
From: Richard Martin
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004
1:55 PM
To: [EMAIL PROTECTED]
Subject: RE: SimpleDeserializer
Error
Yes, this appears to be a bug:
http://nagoya.
Is
there some sort of a workaround to this?
-Original Message-From: Richard Martin
[mailto:[EMAIL PROTECTED]Sent: Tuesday, January 06, 2004 1:55
PMTo: [EMAIL PROTECTED]Subject: RE:
SimpleDeserializer Error
Yes, this appears to
be a bug:
http
Yes, this appears to be a bug:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17484
And there was another email about it not 3
or 4 weeks ago: http://www.mail-archive.com/[EMAIL PROTECTED]/msg16191.html
It seems that the deserialiser
has problems deserialising arrays of cust
19 matches
Mail list logo