Hide Forgot
Steps to Reproduce: - import WSRP Configuration portlet - add WSRP configuration portlet on page - create or refresh any consumer project_key: JBEPP It is not possible to create any WSRP consumer. Log: [WSRPConsumer] Consumer with id 'test' started 16:59:47,318 ERROR [CommonClient] Exception caught while (preparing for) performing the invocation: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String at org.jboss.ws.core.client.HTTPRemotingConnection.createRemotingMetaData(HTTPRemotingConnection.java:325) at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:176) at org.jboss.ws.core.client.SOAPProtocolConnectionHTTP.invoke(SOAPProtocolConnectionHTTP.java:71) at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:360) at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:231) at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:171) at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:157) at $Proxy230.getServiceDescription(Unknown Source) at org.gatein.wsrp.services.v1.V1ServiceDescriptionService.getServiceDescription(V1ServiceDescriptionService.java:96) at org.gatein.wsrp.consumer.ProducerInfo.getUnmanagedServiceDescription(ProducerInfo.java:832) Important: it works properly with GateIn - today I checked with portal trunk + wsrp trunk. There is full log from hudson job: http://hudson.qa.jboss.com/hudson/view/EPP5/job/epp5_wsrp2_ui_tests_epp5_vs_epp5/5/console
I attached a patch to let you continue, just replace the existing one. Note that I found a new issue (would need a jira). If i try to activate a consumer before refreshing it, I get a stacktrace. Here is the sources of the patch: Index: consumer/src/main/java/org/gatein/wsrp/services/ServiceWrapper.java =================================================================== --- consumer/src/main/java/org/gatein/wsrp/services/ServiceWrapper.java (revision 4591) +++ consumer/src/main/java/org/gatein/wsrp/services/ServiceWrapper.java (working copy) @@ -109,7 +109,7 @@ // better interoperability as Oracle's producer doesn't support it, for example. // See https://jira.jboss.org/jira/browse/JBWS-2884 and // http://community.jboss.org/wiki/JBossWS-NativeUserGuide#Chunked_encoding_setup - requestContext.put(JBOSS_WS_STUBEXT_PROPERTY_CHUNKED_ENCODING_SIZE, 0); + requestContext.put(JBOSS_WS_STUBEXT_PROPERTY_CHUNKED_ENCODING_SIZE, "0"); // Add client side handler via JAX-WS API Binding binding = bindingProvider.getBinding();
Attachment: Added: wsrp-consumer-2.0.0-Beta01_patched.jar
Thanks for patch Thomas - it works fine with it. But I wasn't able to reproduce issue you mentioned (activate and refresh). Can you describe it please?
I tried again and it's not clear, if i play with activate/desacivate/refresh buttons randomly for selfv1 and selfv2 I get some stacktraces
Shouls be fixed by r4609 (Need upgrade of WSRP component post-Beta01)
Release Notes Docs Status: Added: Not Required