[JBossWS] - Re: WS-Security trouble: {http://www.w3.org/2005/08/addressi
by alessio.soldano@jboss.com
Hi, as a general suggestion, I first of all suggest you to try using some more recent versions of both JBoss AS and JBossWS.
This said:
"timeagentess" wrote :
| anonymous wrote : ERROR [SOAPFaultHelperJAXWS] SOAP request exception
| | javax.xml.ws.addressing.AddressingException: Required element {http://www.w3.org/2005/08/addressing}Action is missing
| |
| | at org.jboss.ws.extensions.addressing.soap.SOAPAddressingPropertiesImpl.getRequiredHeaderContent(SOAPAddressingPropertiesImpl.java:71)
| | at org.jboss.ws.extensions.addressing.soap.SOAPAddressingPropertiesImpl.readHeaders(SOAPAddressingPropertiesImpl.java:141)
| | at org.jboss.ws.extensions.addressing.jaxws.WSAddressingServerHandler.handleInbound(WSAddressingServerHandler.java:82)
| | [...]
| |
You get this message because you're using WS-Addressing and the Action header is missing in your SOAP message. This is not related to WS-Security.
anonymous wrote :
| @HandlerChain(file="resource://META-INF/standard-jaxws-endpoint-config.xml")
| @EndpointConfig(configName = "Standard WSSecurity Endpoint")
|
Since you're using the standard endpoint configuration, you should try simplifying your configuration a bit (to better track down what's happening), i.e. remove the @HandlerChain annotation and forget about the standard-jaxws-endpoint-config.xml file (you already have the "Standard WSSecurity Endpoint" in the configuration that is automatically loaded by jbossws).
Regarding this:
anonymous wrote :
| Endpoint {http://localhost:8080/atb}WSTwoServiceBeanPort does not contain operation meta data for: {http://www.w3.org/2001/04/xmlenc#}EncryptedData
|
under which conditions you got this? Try looking at the log and verify the security handler on server side is configured (the ws-security conf is selected).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161434#4161434
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161434
16 years, 6 months
[JBossWS] - RPC WSDL and load balancing problem
by fbenvegna
I have a JBoss Cluster with two application server and an Apache with mod_jk as load balancer.
With web application no problem but with web-services there are...
my web-services WSDL (style RPC) reports an include on other WSDL URL that include a random identifier. Identifiers change on every deploy and are different from a machine to other.
PROBLEM with load balancing and wsdl rewrite configured: when a client requests WSDL on host A retrieve WSDL A, with included URL on machine A, but when it tries to retrieve the included WSDL A the request goes on host B, so.... error!
The problem only happens with JBossWS Native, no problem with JBossWS Metro because there isn't any deploy dependent identifier on generated WSDL.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161331#4161331
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161331
16 years, 6 months
[JBossWS] - web service conflicts with jbossws and jaxws
by paramsevak
I used wconsume to auto-generate a webservice client. The client works within eclipse after I remove the jaxws-rt.jar and jaxws-tools.jar from the classpath.
However when I use the same client-code from within an ejb deployed to jboss-4.2.2GA I get the following error. I have tried removing the jaxws-rt.jar and jaxws-tools.jar from the %JBOSS_HOME%/client/ dir but the following error still occurs.
e calling FM. Exception: Failed to create a new SAX parser
14:17:16,557 ERROR [STDERR] org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
14:17:16,557 ERROR [STDERR] at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller
(UnmarshallerFactory.java:100)
14:17:16,557 ERROR [STDERR] at org.jboss.ws.metadata.config.JBossWSConfigFactory.parse(JBossWSConfigFactory.jav
a:76)
14:17:16,557 ERROR [STDERR] at org.jboss.ws.metadata.config.JBossWSConfigFactory.getConfig(JBossWSConfigFactory
.java:134)
14:17:16,557 ERROR [STDERR] at org.jboss.ws.metadata.umdm.EndpointMetaData.initEndpointConfig(EndpointMetaData.
java:704)
14:17:16,557 ERROR [STDERR] at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.rebuildEndpointMe
taData(JAXWSClientMetaDataBuilder.java:288)
14:17:16,557 ERROR [STDERR] at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateI
mpl.java:262)
14:17:16,557 ERROR [STDERR] at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java
:193)
14:17:16,557 ERROR [STDERR] at javax.xml.ws.Service.getPort(Service.java:116)
14:17:16,557 ERROR [STDERR] at com.cbc.services.salt.fm.TuxedoWebService.getFmservicesFMGWWSHTTPPort(TuxedoWebS
ervice.java:58)
14:17:16,557 ERROR [STDERR] at com.cbc.services.salt.fm.FMInterface.transactFM(FMInterface.java:78)
14:17:16,557 ERROR [STDERR] at com.cbc.isac.ejb20.iccon.IcconBean.tpcall(IcconBean.java:2543)
14:17:16,557 ERROR [STDERR] at com.cbc.isac.ejb20.iccon.IcconBean.getAllConsumerStatements(IcconBean.java:3173)
14:17:16,557 ERROR [STDERR] at com.cbc.isac.ejb20.iccon.IcconBean.getAllActiveStatements(IcconBean.java:701)
14:17:16,557 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:17:16,557 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
14:17:16,557 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
14:17:16,557 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
14:17:16,557 ERROR [STDERR] at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
14:17:16,557 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSes
sionContainer.java:237)
14:17:16,557 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedCo
nnectionInterceptor.java:158)
14:17:16,557 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessio
nInstanceInterceptor.java:169)
14:17:16,557 ERROR [STDERR] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor
.java:63)
14:17:16,557 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.jav
a:121)
14:17:16,557 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java
:350)
14:17:16,557 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
14:17:16,557 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
14:17:16,557 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
14:17:16,557 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInt
erceptor.java:138)
14:17:16,557 ERROR [STDERR] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
14:17:16,557 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:960)
14:17:16,557 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:17:16,557 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
14:17:16,557 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
14:17:16,557 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
14:17:16,557 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155
)
14:17:16,557 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
14:17:16,557 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
14:17:16,557 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
14:17:16,557 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
14:17:16,557 ERROR [STDERR] at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:23
1)
14:17:16,572 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:17:16,572 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
14:17:16,572 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
14:17:16,572 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
14:17:16,572 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155
)
14:17:16,572 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
14:17:16,572 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
14:17:16,572 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
14:17:16,572 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
14:17:16,572 ERROR [STDERR] at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandle
r.java:201)
14:17:16,572 ERROR [STDERR] at $Proxy16.invoke(Unknown Source)
14:17:16,572 ERROR [STDERR] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769)
14:17:16,572 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.
java:573)
14:17:16,572 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387)
14:17:16,572 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
14:17:16,572 ERROR [STDERR] Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
14:17:16,572 ERROR [STDERR] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:96
)
14:17:16,572 ERROR [STDERR] at org.jboss.xb.binding.UnmarshallerImpl.(UnmarshallerImpl.java:55)
14:17:16,572 ERROR [STDERR] at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller
(UnmarshallerFactory.java:96)
14:17:16,572 ERROR [STDERR] ... 54 more
14:17:16,572 ERROR [STDERR] Caused by: javax.xml.parsers.ParserConfigurationException: Feature 'http://apache.org/x
ml/features/xinclude' is not recognized.
14:17:16,572 ERROR [STDERR] at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
14:17:16,572 ERROR [STDERR] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:92
)
14:17:16,572 ERROR [STDERR] ... 56 more
14:17:16,572 INFO [IcconBean] com.cbc.isac.ejb20.iccon.IcconBean.requestTuxedoService(String, String) - closing tu
xedo connection
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161276#4161276
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161276
16 years, 6 months