[ http://jira.codehaus.org/browse/XFIRE-748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_86987 ]
Tom Lambrechts commented on XFIRE-748: -------------------------------------- Hi, I want to use WS events (One Way) but this issue blocks me from doing so. (I use also soap/jms where one way events do make sense) When using One way the operation output is null causing the operation wrapped=false. The WSDLServiceConfigurator then sets the whole service as BARE. Why is a one way operation BARE in the first place and way does it not follow the WSDL? Neither the WSDLServiceConfigurator or the WSDLServiceBuilder.setWrapped can be overwritten so there is no workaround. public class WSDLServiceBuilder { ... public static boolean isWrapped(Operation op, XmlSchemaCollection schemas) { Input input = op.getInput(); Output output = op.getOutput(); if (output == null || output.getMessage().getParts() == null) return false; Regards, Tom L. > Generation problem with mixed operation patterns in same WSDL > ------------------------------------------------------------- > > Key: XFIRE-748 > URL: http://jira.codehaus.org/browse/XFIRE-748 > Project: XFire > Issue Type: Bug > Components: Generator > Affects Versions: 1.2.2 > Reporter: Daniel Förberg > Assigned To: Dan Diephouse > Priority: Critical > > I am currently migrating an application from JaxWS to JSR181 in way. We use > Java 5 and Jaxb 2.0. > The problem is that when mixing one-way operation and response-req in same > WSDl file. > It seem that the Java Interface assumes that every operation have a > parameterstyle as BARE. > It should be WRAPPED because even the one-way operations are wrapped. This > causes > problem invoking the service, cause the WSDL and the code will be different. > This critical > for a customer i am helping. Tanks before. > I hope we can find a solution or a workaround on this problem soon as possible > Regards, > Daniel -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email