You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by la...@gfi.ihk.de on 2003/01/30 17:52:16 UTC
Java-Class as argument for a .NET Client via an Axis .JWS-File
Hello Axis-Users,
i assume its a newbie problem, but i could'nt figure it out, even in the
archived
mailing lists nothing pointed me to a solution.
So here goes my scenario:
The aim of my efforts is to call my webservice from a remote .NET-Client
written
in C#, using webreferences.
I have a .jws-File offering one public method that takes a self
implemented class
as in and out-parameter (see below).
When i deploy it with axis in my webserver und add a webreference in .NET
pointing
to the resulting WSDL-Url, .NET generates the corresponding client support
classes
and everything looks fine.
If i call the service from .NET i receive an axis-error in my webserver
saying
"org.xml.sax.SAXException: Deserializing parameter 'bean': could not find
deserializer for type
{http://etiketten.fida.common.eva.gfi.com}TestParameter
What did i do wrong?
thanks in advance,
Thomas
the jws-File
================
package com.gfi.eva.server.bizlogic.fida.etiketten;
public class EtikettenService
{
public TestParameter testBean(TestParameter bean)
{
return bean;
}
}
the argument class
================
package com.gfi.eva.common.fida.etiketten;
import java.io.Serializable;
public class TestParameter implements Serializable
{
public String nachname;
public Integer schuhgroesse;
}