everson . [http://community.jboss.org/people/everjava] created the discussion
"how to build Document/Literal (Wrapped)" To view the discussion, visit: http://community.jboss.org/message/607508#607508 -------------------------------------------------------------- I didn't understand very well the example from docs. My doubt is about @RequestWrapper and @ResponseWrapper. How is the SubmitPO and SubmitPOResponde implementation ? @WebService *public* *class* DocWrappedServiceImpl { @WebMethod @RequestWrapper (className="org.somepackage.SubmitPO") @ResponseWrapper (className="org.somepackage.SubmitPOResponse") *public* String submitPO(String product, *int* quantity) { ... } } I have this code below. I'm using jboss 5.1 + esb4.9 + jbossws native 3.1.2.GA. But I got the error "*Endpoint .... does not contain operation meta data for ...*" myMethod(object param) gets an array from client written in php @WebService(name="PessoaWS" ,targetNamespace=" http://scxx http://scxx" ) @SOAPBinding(style = Style.DOCUMENT, use=Use.LITERAL, parameterStyle=ParameterStyle.WRAPPED) public class PessoaWS { @WebMethod public void myMethod( Object param){ try { Message esbMessage = SOAPProcessor.getMessage(); String soap = esbMessage.getBody().get().toString(); System.out.println(soap); } catch (Exception e) { e.printStackTrace(); } } -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/607508#607508] Start a new discussion in JBoss Web Services at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
