Christian,
We need a mapping for datahandler, something like this:
QName qnDataHandler = new QName("http://schemas.xmlsoap.org/soap/encoding/";,
"DataHandler");
call.registerTypeMapping(dhSource.getClass(),
qnDataHandler,
JAFDataHandler
hey folks,
I think I know what the problem is. Its the URLClassLoader. My service
method does the following
Class.forName("...ApiResponse", urlClassLoader);
where urlClassLoader has been instantiated with a set of URL's to look for
the classes. The service method uses the above to create the res
Nathan,
I ran into the same problem on my end with a Web Service I
was deploying via a WAR into Tomcat.
What helped me solve the problem was to insure my WAR had
*every* JAR file and class that my web service could
possibly reference - including copies of the axis JAR
files. So far, this has
Also, are you running inside Tomcat with the -security option set? I remember
seeing that there is a problem(?) with serializers and deserializers when
-security is invoked. Though, I could have been reading about Axis 1.1 and
not 1.2.
Bob
On Sunday 19 September 2004 11:25 pm, Chandrasegaram
make sure you have set the bean serializer in your wsdd file.
You have to provide the bean serializer and the deserializer for your
service.
If you generate the deploy.wsdd automatically it should have been there.
Just check it.
regards,
Jeyakumaran
> Hello mailing list!
>
> After processing a ca
Yah thanx, I was missing mail.jar :(
Now it is working. But still I am getting the first problem I mentioned, I
am not able to see the WSDL
Rgds,
-Siva
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: No serializer found for class
Make sure both activation.jar and mail.jar are in your classpaths .
James
"Sivakumar Jagadeesan" <[EMAIL PROTECTED]>
01/04/2004 23:01
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
No serializer found for class javax.activation.DataHandler
I was able to deploy th
an element? I believe the qn is referencing the complex type
now..
From: Airline Pedestal <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: No serializer found for class
Date: Thu, 26 Feb 2004 16:49:22 -0800 (PST)
Best I can tell, this whole type m
as? Thank you very much for
replying..
From: "Hari Lakshmanan" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: RE: No serializer found for class
Date: Thu, 26 Feb 2004 16:35:11 -0800
Sorry it should read as namespace instead of qname
Best I can tell, this whole type mapping mechanics
is complete magic
Here's an idea that might help you.
The qn I think needs to reference a complex type
in the XML schema (not an element).
By the way, what does encoding style NS_URI_XML
mean?
--- christopher justin
<[EMAIL PROTECTED]>
Sorry it should read as namespace instead of qname
mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 4:11 PM
To: [EMAIL PROTECTED]
Subject: No serializer found for class
Hello all,
My web service client seems to not register my class with the
BeanSerializer
correctly...I keep getting
I had similar problem
Make sure qname under typeMappings in your deploy.wsdd is
urn:SearchCategoryService. If not, change it and redeploy and run the
client
Hope this helps
-Original Message-
From: christopher justin [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 4:11 PM
T
ditors.com To: [EMAIL PROTECTED]
cc:
02/23/2004 08:24 Subject: Re: No serializer found
The problem was with the Date and time, Axis was trying to use the Calendar Serializer and de-serializer, but I think the format of the incoming data was a bit weird hence it could not deserialize it correctly, I changed it to be a "String" and it worked.. partially .
Now the problem that I am ru
PROTECTED]
Subject: Re: No serializer found for class
Date: Fri, 20 Feb 2004 13:55:43 -0800
Tony,
If I do modify the wsdd, I will have to redeploy the service again
correct? I'm not sure if I have access to do that (since its another team
maintaning it)
Also, The problem that I am facing is with t
0
Thanks,
Parul
Tony Blair <[EMAIL PROTECTED]>
02/20/2004 01:20 PM
Please respond to axis-user
To: [EMAIL PROTECTED]
cc: (bcc: Parul Joshi/IS/Expeditors)
Subject:
qName = new javax.xml.namespace.QName(nameSpace, "errorResult"); call.registerTypeMapping(ErrorResult.class, qName, beanSF, beanDF); qName = new javax.xml.namespace.QName(nameSpace, "answer"); call.registerTypeMapping(Answer.class, qName, beanSF, beanDF)
Parul,
Can you post your Client code and the your WSDD (NOT the WSDL) here?
Regards,
Tony.[EMAIL PROTECTED] wrote:
Hi there, I am extremely new to Axis and SOAP, and am trying to solve this for the past 2 days, without and luck. I am running into a problem when I am trying to deserialize incomi
Hi there,
I am extremely new to Axis and SOAP, and am trying to solve this for the past 2 days, without and luck.
I am running into a problem when I am trying to deserialize incoming data.
I get the following exception.
SimpleDeserializer encountered a child element, which is NOT expected, in so
Hi there,
Adding bean mapping and the type mapping in your wsdd will create the ser/Deser on the server side. You also need to define ser/deser on the client side for each complex type in your Call.invoke() method. Let me know if you have more questions on this.
Regards,
Tony.Rajagopal <[EMAIL
I think I know why this is happening, but I
don't know what to do about it. My highest level
object implements the interface java.util.List.
I'm guessing that type has a typeMapping already
associated. It apparently finds that mapping
before it finds my mapping. Can anyone confirm
this? How c
Hi,
I haven't had this problem with Axis 1.1.
Only when I switched to Axis 1.2alpha did I
start getting this exception. I don't understand
what is going on, because I am using the same
code. It works on 1.1, but fails on 1.2alpha.
Does anyone know why Axis would be looking for
a serializer f
eers
>
> Dhanush
> - Original Message -
> From: siva kondapalli
> To: [EMAIL PROTECTED]
> Sent: Wednesday, December 17, 2003 3:05 PM
> Subject: Re: No serializer found... (AXIS 1.2
> alpha)
>
> Hi,
> I got the similar type of error
- Original Message -
From:
siva
kondapalli
To: [EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 3:05
PM
Subject: Re: No serializer found... (AXIS
1.2 alpha)
Hi,
I got the similar type of error but
Iam using Axis1.1
"throws No seria
Hi,
I got the similar type of error but Iam using Axis1.1
"throws No serializer found for my classes and complaining about is a component of a larger object which has registered type mapping"
CAn you help me in soling this in Axis1.1..?
thanks
Rao.,Airline Pedestal
uot; parameters to your hearts
content.
-Original Message-
From: Gurkan, Ozzie (MAN-Corporate)
Sent: Wednesday, March 19, 2003 11:34 AM
To: '[EMAIL PROTECTED]'
Subject: RE: No serializer found for class...
Wow, I found it! It had to do with "encodingStyle" attribute
Now all of the classes end up
getting created under the same type mapping impl class.
-Original Message-
From: Gurkan, Ozzie (MAN-Corporate)
Sent: Wednesday, March 19, 2003 11:17 AM
To: '[EMAIL PROTECTED]'
Subject: RE: No serializer found for class...
I have downloaded the so
I have downloaded the source code and figured out that, for some reason, the
"StatusType" and "ErrorCodeType" classes are registered with a different
instance of the TypeMappingImpl. This completely explains why the
BeanSerializer for the "Confirmation" class can't find the other classes.
The "Conf
Hi
cld u cut and paste the signature of the method that u are using.
-Original Message-
From: Munjal [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 13, 2002 3:00 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: no serializer found exception
Hi,
I have a web-service impleme
29 matches
Mail list logo