>>>>> "Rajesh" == I V Rajesh <I.V.Rajesh> writes:
Rajesh> Hi,
Rajesh> I have deployed my service in Axis engine. I have
Rajesh> written
Rajesh> serializer and deserializer for the class ObjectName which
Rajesh> is used for invoking the method in RemoteMBeanServerImpl.
Rajesh> This is shown below. But when i try to invoke the method
Rajesh> it throws SAXException.
Rajesh> MY wsdd file conmtains:
Rajesh> <service name="SoapAdaptorService" provider="java:RPC">
Rajesh> <parameter name="className"
Rajesh> value="com.adventnet.adaptors.soap.RemoteMBeanServerImpl"
Rajesh> />
Rajesh> <parameter name="allowedMethods" value="*" />
Rajesh> <typeMapping xmlns:ns="http://soapinterop.org/xsd"
Rajesh> qname="ns:ObjectName"
Rajesh> type="java:javax.management.ObjectName"
Rajesh> serializer="org.apache.axis.encoding.SerializerFactory"
Rajesh> deserializer="org.apache.axis.encoding.DeserializerFactory"
In addition to writing your De/Serializer you also need to write a
factory for that De/Serializer. Then you register your new factories
in the wsdd.
Hope this helps
- Bob
Rajesh> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
Rajesh> />
Rajesh> </service>
Rajesh> The Exception content : SAXEXCEPTION: Deseralizing
Rajesh> parameter "arg0": could not find deseralizer for type
Rajesh> {http://www.w3.org/2001/XMLSchema}anyType
Rajesh> I have given a print in my serialize file (i.e
Rajesh> ObjectNameSer.java). But it was not called. Please may i
Rajesh> know where i am going wrong?.
Rajesh> Thanks, Rajesh I.V
--
SynXis Corporation | [EMAIL PROTECTED] | no .sig today.
1610 Wynkoop, Suite 400 | Ph: (303)595-2511 |
Denver, CO 80202 | Fax:(303)534-4257 |