When I use the "nodatabinding" feature of Sun's JWSDP 1.6 wscompile tool, then deploy and run on jbossws-1.0.1GA & jboss 4.0.4.GA, I receive the exception:
| 13:59:30,152 ERROR [SOAPFaultExceptionHelper] SOAP request exception | org.jboss.ws.WSException: javaType cannot be null | at org.jboss.ws.soap.SOAPContentElement.assertContentMapping(SOAPContentElement.java:462) | at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:229) | at org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233) | at org.jboss.ws.binding.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:103) | at org.jboss.ws.binding.EndpointInvocation.getRequestPayload(EndpointInvocation.java:117) | at org.jboss.ws.server.ServiceEndpointInvokerJSE.invokeServiceEndpoint(ServiceEndpointInvokerJSE.java:94) | at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:118) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:234) | at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | I'm not sure if this is related, but I had to manually create <java-xml-type-mapping> elements in the jaxrpc mapping file: | <java-xml-type-mapping> | <java-type> | javax.xml.soap.SOAPElement | </java-type> | <root-type-qname xmlns:typeNS="http://www.anywhere.com/stuff"> | typeNS:DetailRequestType | </root-type-qname> | <qname-scope>complexType</qname-scope> | </java-xml-type-mapping> | Any ideas on what could be causing the exception? I've searched high and low throughout the JBossWS documentation for nodatabinding examples & documentation, and have not found a documented solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950740#3950740 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950740 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
