Hi All, Quick question...i'm using 181 annotated EJB3's in a very simple web service and i want to know if it's possible to have my EJB pickup the SOAP message as a DOM object instead of being bound to some Java data type. Yes I am talking about message style endpoints but via 181 annotations. If there are no direct 181 annotations that will get this working can I leave my object as it is at present and create some other deployment artifact to get this working? Or do i have to bite the bullet and come away from EJB3s and 181 annotations to achieve this?
The artifacts i have so far are...... EJB @WebService(name = "EndpointInterface", | targetNamespace="http://xyz.com", | serviceName="TestService", | wsdlLocation="META-INF/wsdl/TestService.wsdl") | public @Stateless class TestEndPointBean { | | @WebMethod public SOAPElement helloWorld(SOAPElement msg) | { | return new SOAPElementImpl("test"); | } | } | relevant snipped of my WSDL file | <types> | <xsd:element name="helloWorldResponse" type="xsd:anyType" /> | </xsd:schema> | </types> | <message name="EndpointInterface_helloWorldResponse"> | <part name="result" element="tns:helloWorldResponse" /> | </message> | <message name="EndpointInterface_helloWorld"> | <!-- <part name="parameters" element="tns:root" /> --> | <part name="input" element="tns:helloWorldResponse" /> | </message> | <portType name="EndpointInterface"> | <operation name="helloWorld"> | <input message="tns:EndpointInterface_helloWorld" /> | <output message="tns:EndpointInterface_helloWorldResponse" /> | </operation> | </portType> Many thanks in advance, Craig View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952705#3952705 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952705 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
