Hai,
    
          I've a JavaBean which has got 3 properties
1.int 
2.String
3.Vector

this needs to be passed from the Server to the client.

In the Client code,the mappings are


    SOAPMappingRegistry smr = new SOAPMappingRegistry();
        BeanSerializer beanSer = new BeanSerializer();
        

        // Map the types.
        smr.mapTypes(
                Constants.NS_URI_SOAP_ENC,
                new QName("urn:TestPV-Provisioning", "ProvisioningResult"),
                ProvisioningResult.class,
                beanSer,
                beanSer);

and in the deployment descriptor,

<isd:map 
        
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";             
                        xmlns:x="urn:TestPV-Provisioning"
                        qname="x:ProvisioningResult"             
                        javaType="com.test.ProvisioningResult"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer" />   


I get the exception 

SOAPException fault code: SOAP-ENV:Client message: The
'http://schemas.xmlsoap.org/soap/encoding/:arrayType' attribute must be
specified for every array.

while running the client.

Where do I need to specify the array type attribute?

Thanks.


Reply via email to