Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-305

Cannot find getter/setter for bean property

XMLWordPrintable

      $ ant -Dtest=org.jboss.test.webservice.marshalltest.MarshallDocLiteralTestCase one-test

      2005-06-24 14:29:05,535 DEBUG [org.jboss.ws.jaxrpc.ParameterWrapping] wrapRequestParameters: org.jboss.test.webservice.marshalltest.MarshallDocServiceInterface_echoBoolean_RequestStruct
      2005-06-24 14:29:05,535 DEBUG [org.jboss.ws.jaxrpc.ParameterWrapping] setBoolean_1: java.lang.Boolean

      2005-06-24 14:29:05,675 DEBUG [org.jboss.ws.jaxrpc.encoding.JAXBSerializer] serialize: [xmlName=

      {http://org.jboss.webservice/marshalltest-doclit/types}

      echoBoolean,xmlType=

      {http://org.jboss.webservice/marshalltest-doclit/types}

      echoBoolean]
      2005-06-24 14:29:05,715 DEBUG [org.jboss.xml.binding.MappingObjectModelProvider] getChildren: found neither getter nor field for boolean_1 in class org.jboss.test.webservice.marshalltest.MarshallDocServiceInterface_echoBoolean_RequestStruct
      2005-06-24 14:29:05,715 DEBUG [org.jboss.xml.binding.MappingObjectModelProvider] getChildren: found neither getter nor field for boolean_1 in class org.jboss.test.webservice.marshalltest.MarshallDocServiceInterface_echoBoolean_RequestStruct

      <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
      <env:Header/>
      <env:Body>
      <ns1:echoBoolean xmlns:ns1='http://org.jboss.webservice/marshalltest-doclit/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'/>
      </env:Body>
      </env:Envelope>

      Appart from finding the setter in this case, the marshalling layer should generate an error if the accessors cannot be found. It should not silently generate an invalid XML fragment.

            olubyans@redhat.com Alexey Loubyansky
            tdiesler@redhat.com Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: