9 Replies Latest reply on Jan 28, 2013 3:33 AM by nickarls

    native-core-4.0.2.GA in jboss-as 7

    rahul22

      hi,

       

      i was migrating to native-core-4.0.2.GA jboss-as:7

       

      my problem is that CommonConfig is now a interface and EndPointProperty is deprecated.

       

      so when on CommonConfig object i call getProperties() earlier it use to return me List<EndPointProperty > but now its Map<String,String>

       

      so i can change the interceptor code which you can find here

       

      http://efreedom.com/Question/1-2014319/Jboss-Web-Service-Error-JavaioIOException-Transmit-Message

       

      or see here

       

      Iterator<EndpointProperty> iter = commonConfig.getProperties().iterator();
                 
      while (iter.hasNext()){
                     
      EndpointProperty p = iter.next();
                     
      if (p.name.equals(new URI(EndpointProperty.CHUNKED_ENCODING_SIZE))){
                          p
      .value = "0";
                          hacked
      = true;
                          log
      .info("Chunking set to 0 since service host does not support chunked requests");
                     
      }

                 
      }

       

      so is there any different way to achieve this , some new class in the package ????

       

      or there is some workaround ???????

       

      any suggestion will greatly appreciated

       

       

      Thanks