Hi Take a look at xfire-generator test cases in jsr181 folder, there are some useful samples. This is code from one of them :
@WebService(endpointInterface = "jsr181.echo.bare.EchoPortType", serviceName = "Echo", targetNamespace = "http://xfire.codehaus.org/test/echo") @SOAPBinding(style = Style.DOCUMENT, use = Use.LITERAL, parameterStyle = ParameterStyle.BARE) public class CustomEchoImpl extends EchoImpl Hope this help. -----Original Message----- From: Adam Chesney [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 10:22 AM To: [email protected] Subject: [xfire-user] Wrapped vs Document Hi, I am using JSR-181 annotated services and Java 5 and by default my service arguments get wrapped in Objects that take the name of the web service method. I'd like to get rid of that extra level of indirection as all my Web Service methods take a single parameter that is equivelent to a Document. I can see that if I was using a services.xml that I could manipulate the Style parameter for a Service, but I can't find the equivelent when using JSR-181. Is there a way to do it? If not, what's the hack? :) If it's not hard to add, then I could provide a patch for it. Cheers, Adam Chesney Head of Core Development Multicom Products Ltd ===================================================== Tel: (+44) 117 908 1254 (Direct) Mobile (+44) 7780 962 961 email: [EMAIL PROTECTED] This communication is intended solely for the addressee and is confidential. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Although this e-mail and any attachments are believed to be free of any virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Multicom Products Limited for any loss or damage arising in any way from receipt or use thereof.
