[jbossws-issues] [JBoss JIRA] Commented: (JBWS-1126) Got Call invocation failed: setProperty must be overridden in subclasses of SOAPMessage when invoking a service

Brendan Farragher (JIRA) jira-events at lists.jboss.org
Tue Jun 9 07:50:56 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBWS-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12471160#action_12471160 ] 

Brendan Farragher commented on JBWS-1126:
-----------------------------------------

PS - You must remove the additional jars that you add to the lib/endorsed directory after you run wsconsume!

> Got Call invocation failed: setProperty must be overridden in subclasses of SOAPMessage when invoking a service
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JBWS-1126
>                 URL: https://jira.jboss.org/jira/browse/JBWS-1126
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: jbossws-1.0.2
>         Environment: windows 2000, JBoss 4.0.4
>            Reporter: Yaron Holland
>            Assignee: Thomas Diesler
>
> Got this when tring to test a JSR Web Service with encryption:
> java.rmi.RemoteException: Call invocation failed: setProperty must be overridden in subclasses of SOAPMessage; nested exception is: 
> 	java.lang.UnsupportedOperationException: setProperty must be overridden in subclasses of SOAPMessage
> 	at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:718)
> 	at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
> 	at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
> 	at $Proxy0.login(Unknown Source)
> 	at com.picom.services.TestPicomSession.testEndpoint(TestPicomSession.java:45)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.extensions.TestSetup.run(TestSetup.java:23)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
> Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden in subclasses of SOAPMessage
> 	at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:356)
> 	at org.jboss.ws.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:64)
> 	at org.jboss.ws.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:120)
> 	at org.jboss.ws.binding.soap.SOAP11BindingProvider.createMessage(SOAP11BindingProvider.java:52)
> 	at org.jboss.ws.binding.soap.SOAPBindingProvider.bindRequestMessage(SOAPBindingProvider.java:87)
> 	at org.jboss.ws.binding.soap.SOAP11BindingProvider.bindRequestMessage(SOAP11BindingProvider.java:58)
> 	at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:645)
> 	... 23 more
> Using code similar to the samples to run the test unit.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list