1 Reply Latest reply on Feb 10, 2009 6:01 AM by ropalka

    Jboss SOAPElementSerializer error

      I am using Jboss 4.2.3 and trying to invoke BPEL process which has a decision service(a web service). I get the following error.

      ----------------------------------------------------------------------------------
      ERROR [RequestHandlerImpl] Error processing web service request
      org.jboss.ws.WSException: org.jboss.xb.binding.JBossXBRuntimeException: Failed to find read method or field for property 'resultList' in class org.jboss.ws.core
      .soap.SOAPBodyElementDoc
      at org.jboss.ws.WSException.rethrow(WSException.java:68)
      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHand
      lerImpl.java:325)
      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl
      .java:201)
      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(Request
      HandlerImpl.java:134)
      at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java
      :84) .......

      Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to find read method or field for property 'resultList' in class org.jboss.ws.core.soap.SOAPBodyElementDoc
      at org.jboss.xb.binding.introspection.ClassInfo.getFieldInfo(ClassInfo.j
      ava:82)
      at org.jboss.xb.binding.introspection.FieldInfo.getFieldInfo(FieldInfo.j
      ava:155)
      at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.getJavaValue(M
      arshallerImpl.java:1267)
      at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.getChildren(Ma
      rshallerImpl.java:1257).....
      ------------------------------------------------------------------------

      We fixed this issue by introducing the piece of code as below in eagerInitializeTypes method in EndpointMetaData.java

      -----------------------------------------------------------------------------
      else
      if(javaTypeName.equals("javax.xml.soap.SOAPElement"))
      {
      typeMapping.register(javaType, xmlType, new SOAPElementSerializerFactory(), new SOAPElementDeserializerFactory());
      }

      ------------------------------------------------------------------------------------

      we are working on porting Oracle SOA Suite on to Jboss 4.2.3 for a customer.

      Kindly let us know how to check this fix in and or is there any other workaround to get over this issue?

      Thank you.

      Nirmal