Dynamic proxy serialization problem.

From: Hall, Joe <>
Date: Thu, 27 Mar 2003 10:40:45 -0700

Is this still a bug in jwsdp 1.1? I'm encountering a problem using a
dynamic proxy where I have a serializable java bean as a parameter to
jax-rpc server.

I can get a test client to work using a static stub, but I'm having problems
with the dynamic proxy client.

Any suggestions?

Here's a snippet of the proxy client:

   public static void main(String[] args)

            String UrlString =
            String nameSpaceUri = "";
            String serviceName = "PoursReceipt";
            String portName = "ReceiptIFPort";

            URL helloWsdlUrl = new URL(UrlString);

            ServiceFactory serviceFactory = ServiceFactory.newInstance();
            QName qname = new QName(nameSpaceUri, serviceName);
            System.out.println("QNAME: " + qname.toString() + ":" +
            Service helloService =
serviceFactory.createService(helloWsdlUrl, qname);

            ReceiptIF myProxy = (ReceiptIF) helloService.getPort(new
QName(nameSpaceUri, portName), ReceiptIF.class);

            SendReceiptVO receipts[] = new SendReceiptVO[2];
            receipts[0] = new SendReceiptVO();
            receipts[1] = new SendReceiptVO();
            System.out.println(myProxy.receive(1L, receipts));

        catch (Exception ex)

Here's what the ReceiptIF looks like:

public interface ReceiptIF extends Remote
    public boolean receive(long transKey, SendReceiptVO receipts[]) throws


Joe Hall