[
https://jira.jboss.org/jira/browse/JBWS-1439?page=com.atlassian.jira.plug...
]
Partha Pal commented on JBWS-1439:
----------------------------------
Hi Shelly !
The JDK Version is 1.6.0_06 I copied the jaxb-api.jar from JBOSS_HOME/client to
JBOSS_HOME/lib/endorsed . Still not working .
The Error I am getting is :-
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:317)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:255)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
at $Proxy14.newAccountingFileNotification(Unknown Source)
at clientjava.NewClassClient.main(NewClassClient.java:31)
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:67)
at
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
at
org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
at
org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:156)
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:289)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
... 4 more
Thanks !
Partha
Jdk 1.6.0 Requests get the error "setProperty must be overridden
by all subclasses of SOAPMessage"
--------------------------------------------------------------------------------------------------
Key: JBWS-1439
URL:
https://jira.jboss.org/jira/browse/JBWS-1439
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-1.0.4
Environment: Jboss 4.0.5.GA
Java 1.6.0
Reporter: Denis Angleton
Assignee: Heiko Braun
Fix For: jbossws-2.0.0
Requests get the error "setProperty must be overridden by all subclasses of
SOAPMessage"
In the abstract class javax.xml.soap.SOAPMessage which is now shipped with the jdk, the
implementation of setProperty is as follows:
public void setProperty(String property, Object value)
throws SOAPException {
throw new UnsupportedOperationException("setProperty must be overridden
by all subclasses of SOAPMessage");
}
in the constructor of org.jboss.ws.soap.SOAPMessageImpl it calls the super methods
setProperty(CHARACTER_SET_ENCODING, "UTF-8");
setProperty(WRITE_XML_DECLARATION, false);
This results in the exception being thrown.
--
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