2 Replies Latest reply on Nov 20, 2006 10:05 AM by K Ren

    jbossws marshal vector object problem

    K Ren Newbie

      Hello, I met some problems when I try to use Vector in wsdl. I checked the log file and found JBoss set the objects correctly:

      DEBUG [org.jboss.ws.binding.EndpointInvocation] setReturnValue: java.util.Vector

      2006-11-17 17:39:39,234 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider] bindResponseMessage: {http://ws.ebay.autoquake.com/jaws}getVehicleFeaturesInStore

      2006-11-17 17:39:39,234 DEBUG [org.jboss.ws.binding.EndpointInvocation] getReturnValue

      2006-11-17 17:39:39,234 DEBUG [org.jboss.ws.binding.EndpointInvocation] transformPayloadValue: java.util.Vector -> java.util.Vector

      2006-11-17 17:39:39,234 DEBUG [org.jboss.ws.soap.SOAPContentElement] setObjectValue: [com.autoquake.ebay.core.pojo.ValueObjectPOJO@157a7ec, com.autoquake.ebay.core.pojo.ValueObjectPOJO@1d18707, com.autoquake.ebay.core.pojo.ValueObjectPOJO@f7f725, com.autoquake.ebay.core.pojo.ValueObjectPOJO@1829ea2, com.autoquake.ebay.core.pojo.ValueObjectPOJO@7ca9bd, com.autoquake.ebay.core.pojo.ValueObjectPOJO@6bb78a, com.autoquake.ebay.core.pojo.ValueObjectPOJO@1df02c9, com.autoquake.ebay.core.pojo.ValueObjectPOJO@300f65, com.autoquake.ebay.core.pojo.ValueObjectPOJO@142e23f, com.autoquake.ebay.core.pojo.ValueObjectPOJO@13b792, com.autoquake.ebay.core.pojo.ValueObjectPOJO@78d976, com.autoquake.ebay.core.pojo.ValueObjectPOJO@cead6, com.autoquake.ebay.core.pojo.ValueObjectPOJO@dafa2, com.autoquake.ebay.core.pojo.ValueObjectPOJO@85ce5a, com.autoquake.ebay.core.pojo.ValueObjectPOJO@ae8764, com.autoquake.ebay.core.pojo.ValueObjectPOJO@3acf34, com.autoquake.ebay.core.pojo.ValueObjectPOJO@f96845, com.autoquake.ebay.core.pojo.ValueObjectPOJO@2cb491, com.autoquake.ebay.core.pojo.ValueObjectPOJO@102d72d, com.autoquake.ebay.core.pojo.ValueObjectPOJO@17cdd50, com.autoquake.ebay.core.pojo.ValueObjectPOJO@a5b721, com.autoquake.ebay.core.pojo.ValueObjectPOJO@199ffdd, com.autoquake.ebay.core.pojo.ValueObjectPOJO@16d383a, com.autoquake.ebay.core.pojo.ValueObjectPOJO@1868b72, com.autoquake.ebay.core.pojo.ValueObjectPOJO@2cec33, com.autoquake.ebay.core.pojo.ValueObjectPOJO@1472b3c, com.autoquake.ebay.core.pojo.ValueObjectPOJO@167a209, com.autoquake.ebay.core.pojo.ValueObjectPOJO@bf00ab, com.autoquake.ebay.core.pojo.ValueObjectPOJO@1c4ed65, com.autoquake.ebay.core.pojo.ValueObjectPOJO@1bdbf51, com.autoquake.ebay.core.pojo.ValueObjectPOJO@5b7025, com.autoquake.ebay.core.pojo.ValueObjectPOJO@11fa5f0]


      However, it failed to marshal this vector:


      DEBUG [org.jboss.ws.soap.SOAPContentElement] Transitioning to dom-valid state, MTOM disabled

      2006-11-17 17:39:39,234 DEBUG [org.jboss.ws.soap.SOAPContentElement] getXMLFragment from Object [xmlType={http://java.sun.com/jax-rpc-ri/internal}vector,javaType=class java.util.Vector]

      2006-11-17 17:39:39,234 DEBUG [org.jboss.ws.jaxrpc.encoding.JAXBSerializer] serialize: [xmlName=result,xmlType={http://java.sun.com/jax-rpc-ri/internal}vector]

      2006-11-17 17:39:39,250 DEBUG [org.jboss.ws.jaxrpc.encoding.JAXBSerializer] serialized: <result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"></result>

      2006-11-17 17:39:39,250 DEBUG [org.jboss.ws.soap.SOAPContentElement] xmlFragment: <result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"></result>

      2006-11-17 17:39:39,250 DEBUG [jbossws.SOAPMessage] Outgoing SOAPMessage
      <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
      <env:Header/>
      <env:Body>
      <ns1:getVehicleFeaturesInStoreResponse xmlns:ns1='http://ws.ebay.autoquake.com/jaws'>
      <result xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'/></ns1:getVehicleFeaturesInStoreResponse></env:Body></env:Envelope>


      The serialized result was empty.

      Is it a bug or I made any thing wrong? Thanks in advance.