I'm trying to migrate our JBoss.NET based services to new JBossWS but I'm having trouble getting rpc/encoded styles working. I need this for my Perl (SOAP::Lite) based clients. Is rpc/encoded style still supported in JBossWS?
My Java code looks like: | package com.lunatech.test.jbossws; | | import javax.ejb.Stateless; | import javax.jws.WebMethod; | import javax.jws.WebParam; | import javax.jws.WebResult; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | | import org.jboss.ws.annotation.PortComponent; | | import com.lunatech.test.jbossws.dvo.GetInfoRequest; | import com.lunatech.test.jbossws.dvo.GetInfoResponse; | | @WebService( | targetNamespace = "http://test.lunatech.com/MutationService/", | serviceName = "MutationService" | ) | @PortComponent(contextRoot="/MutationService", urlPattern="/*") | @SOAPBinding( | style = SOAPBinding.Style.RPC, | use = SOAPBinding.Use.ENCODED | ) | @Stateless | public class MutationService implements MutationServiceRemote { | | @WebMethod(action = "getInfo") | @WebResult(name = "response") | public GetInfoResponse getInfo(@WebParam(name = "request") GetInfoRequest request) { | return new GetInfoResponse(); | } | | } | But the relevant bit of WSDL generated still says use='literal'. Also, my soapAction seems to be missing: | ... | <binding name='MutationServiceBinding' type='tns:MutationService'> | <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/> | <operation name='getInfo'> | <soap:operation soapAction=''/> | <input> | <soap:body namespace='http://test.lunatech.com/MutationService/' use='literal'/> | </input> | <output> | <soap:body namespace='http://test.lunatech.com/MutationService/' use='literal'/> | </output> | </operation> | </binding> | ... | This is with the latest 4.0.4 jboss-head checkout on 2006-03-26. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932773#3932773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932773 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
