[jbossws-dev] [Design of JBoss Web Services] - Re: JBMETA-44, ws annotation processing for references

alex.loubyansky@jboss.com do-not-reply at jboss.com
Thu Jun 12 05:44:13 EDT 2008


Another question related to JBMETA-44 and JBCTS-797. It's not clear to me how the @WebServiceRef should be mapped to ServiceReferenceMetaData.

What (if anything) in @WebServiceRef should specify the service-interface?

The current processing of @WebServiceRef is
      if(annotation.type() != Object.class)
  |          ref.setServiceRefType(annotation.type().getName());
  |       else
  |          ref.setServiceRefType(getType(element));
  |       if(annotation.value() != Object.class)
  |          ref.setServiceInterface(annotation.value().getName());
  | 

Is this correct? The example Scott posted above is from JBCTS-797 which currently fails because "service-interface is null".

Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157629#4157629

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157629



More information about the jbossws-dev mailing list