[JBossWS] - Re: IllegalStateException Cannot find property
by gryffin
I installed JBossAS 4.2.3, this time NOT updating it to JBossWS 3.0.4. I get the same error running my client through Eclipse. I tried wsrunclient ( v4.2.3) and got a different error:
C:\Documents and Settings\tx714c\My Documents\workspace\MV4Client2\bin>c:\jboss-4.2.3.GA\bin\wsruncl
| ient com.boeing.nmt.nls.test.AssetTest
| log4j:WARN No appenders could be found for logger (org.jboss.ws.metadata.builder.jaxws.JAXWSWebServi
| ceMetaDataBuilder).
| log4j:WARN Please initialize the log4j system properly.
| ====================================
| DISABLE TAG: FFF123456789
| Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException
| : setProperty must be overridden by all subclasses of SOAPMessage
| at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:404)
| at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
| at $Proxy19.findPopulatedTagByNetworkId(Unknown Source)
| at com.boeing.nmt.nls.mv4client.MV4Client.disableTag(MV4Client.java:305)
| at com.boeing.nmt.nls.test.AssetTest.main(AssetTest.java:25)
| Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses
| of SOAPMessage
| at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
| at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:83)
| at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171)
| at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
| at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:158)
| at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:291)
| at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
| ... 5 more
I am using code generated by JBoss, using JBoss to run it, why is JBoss carping out?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172065#4172065
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172065
16 years, 6 months
[JBossWS] - Re: Deploying JDeveloper/Oracle webservices on JBossWS
by cappeca
That discussion is 2 years old, is that still up to date? I have only tried OC4J and JBoss, so I can't say (making arrangements right now to test it with WebSphere). If so, I'd like to see some official statement regarding this.
In any case, this part calls my attention:
"The Oracle Web Service team is currently working on a document explaning how you can create JAX-RPC services and deploy them in different container, but it is still an ongoing project and Tomcat is not the first targetted platform."
Any news on this, since it's been two years?
"Since you look familiar with Apache Axis, it is today the most portable Web Service stack, it has some limitations (support of WS-* for example), but based on your use case it looks using Apache Axis will be the best approach. As you may know Apace Axis is supported on OracleAS 10g R2 and R3."
And this, has anyone with the problem in this thread switched to Apache Axis?
As for the wsdl4j question, I have replaced mine with version 1.6.2, and it still seem incompatible with the Oracle library. Now, before we use the JDeveloper to deploy on JBoss, we have to copy a lot of libraries to the JBoss structure, in a process called ADF Runtime Installation. I'm assuming that should solve the class cast problem, but apparently not. My question is, why is this cast necessary inside JBoss?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172028#4172028
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172028
16 years, 6 months
[JBossWS] - WS-Security: possible bug with MTOM
by kosulin
Hi, I use MTOM to send zip archive with WS response, and it works like a charm. However, when I add support for WS-Security, all web methods which send plain XML response, succeed, but the method which responds with ZIP file attached using MTOM, I get an Exception:
14:59:47,457 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
| org.jboss.ws.WSException: No ByteArrayConverter for content type: application/zip
| at org.jboss.ws.core.utils.MimeUtils.getConverterForContentType(MimeUtils.java:217)
| at org.jboss.ws.extensions.xop.XOPContext.replaceBase64Representation(XOPContext.java:290)
| at org.jboss.ws.extensions.xop.XOPContext.restoreXOPDataDOM(XOPContext.java:266)
| at org.jboss.ws.extensions.xop.XOPContext.restoreXOPDataDOM(XOPContext.java:275)
| at org.jboss.ws.extensions.xop.XOPContext.restoreXOPDataDOM(XOPContext.java:275)
| at org.jboss.ws.extensions.xop.XOPContext.restoreXOPDataDOM(XOPContext.java:275)
| at org.jboss.ws.core.soap.SOAPContentElement.handleMTOMTransitions(SOAPContentElement.java:600)
| at org.jboss.ws.extensions.xop.RestoreXOPElementVisitor.visitSOAPContentElement(RestoreXOPElementVisitor.java:73)
| at org.jboss.ws.core.soap.SOAPContentElement.accept(SOAPContentElement.java:611)
| at org.jboss.ws.extensions.xop.RestoreXOPElementVisitor.visitXOPElements(RestoreXOPElementVisitor.java:54)
| at org.jboss.ws.extensions.xop.RestoreXOPElementVisitor.visitXOPElements(RestoreXOPElementVisitor.java:63)
| at org.jboss.ws.extensions.xop.XOPContext.visitAndRestoreXOPData(XOPContext.java:246)
| at org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS.callResponseHandlerChain(HandlerDelegateJAXWS.java:109)
| at org.jboss.ws.core.server.ServiceEndpointInvoker.callResponseHandlerChain(ServiceEndpointInvoker.java:132)
| at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:267)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:466)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:284)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:201)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:134)
| at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:183)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:90)
| at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:96)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Unknown Source)
|
application/zip is a standard MIME-type. Is this a bug or my fault?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171864#4171864
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171864
16 years, 6 months