ggary so did it work for you finally then ??? I am using jboss423 on java 5 and cant seem to get it to work. Then because of the hug u mentioned, i also tried using 421 and jbossws 201 but still it does not work.
@WebService(name = "CreditCard", serviceName = "CreditCard", | wsdlLocation = "/WEB-INF/wsdl/CreditCard.wsdl", | targetNamespace = "http://aig.al.com/APCWebServices/CreditCardService/", | endpointInterface = "com.al.aig.apc.ws.creditcard.server.generated.CreditCard") | @SOAPBinding(style = Style.DOCUMENT) | public class CreditCardService_Impl implements CreditCard{ | | @Resource | WebServiceContext wsContext; | | Logger log = Logger.getLogger(CreditCardService_Impl.class); | | @WebMethod(operationName = "createCreditCard") | public CreateCreditCardResponse createCreditCard( | @WebParam(name = "parameters") CreateCreditCardInput parameters) { | | log.debug("createCreditCard:entering."); | CreateCreditCardResponse drResp = new CreateCreditCardResponse(); | System.out.println("addSecondaryMsisdn() called.................."); | | if (wsContext == null) { | System.out.println("its NULLL.."); | } else { | System.out.println("ITS NOT NULL"); | } | | log.debug("createCreditCard:exiting."); | return drResp; | } | This is the code that i ahve got, nothing special here. I have handwritten the WSDL for this webservice. Does the WebServiceContext injection depend on the binding type or something. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183691#4183691 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183691 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
