hi all,

I want to use Javabean as parameter, so I used java2wsdl and wsdl2java
to create a service like blow:

    public TestJavaBean testBean(String p1, TestJavaBean bean,
TestJavaBean[] beans);

it works fine when I use the stub class to call it, but when I use Call
object
to make a call, it tell me :

    Deserializing parameter 'testBeanReturn':  could not find deserializer
for type {urn:BeanService}TestJavaBean

even I use the same bean(TestJavaBean) got from service side !

The client code has these code below :
---->
    QName q = new QName("urn:BeanService", "TestJavaBean");
     call.registerTypeMapping(TestJavaBean.class,
                q,
                BeanSerializerFactory.class,
                BeanDeserializerFactory.class,
                true);
<----

Attachment is the WSDL and WSDD, could anybody help me please ?

Regards,
- sukie

Attachment: BeanService.wsdl
Description: Binary data

Attachment: deploy.wsdd
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to