Results 1 to 2 of 2
  1. #1
    ssnivas is offline Member
    Join Date
    Mar 2011
    Posts
    1
    Rep Power
    0

    Post Getting -- java.lang.UnsupportedOperationException: getSOAPHeader must be overridden

    Hi,

    I am calling a webservice with environment -- IBM RAD 7, jdk 1.6.

    I am getting the following exception after running this webservice.
    Can any one please suggest me with the solution.

    Caused by: java.lang.UnsupportedOperationException: getSOAPHeader must be overridden by all subclasses of SOAPMessage
    at com.ibm.ws.webservices.engine.WebServicesFault.mak eFault(WebServicesFault.java:191)
    at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXR PCHandlerChain.handleRequest(JAXRPCHandlerChain.ja va:402)
    at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXR PCHandler.invokeClientRequestHandler(JAXRPCHandler .java:527)
    at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXR PCHandler$3.invoke(JAXRPCHandler.java:446)
    at com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper.java:208)
    at com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper.java:228)
    at com.ibm.ws.webservices.engine.WebServicesEngine.in voke(WebServicesEngine.java:336)
    at com.ibm.ws.webservices.engine.client.Connection.in vokeEngine(Connection.java:929)
    at com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:722)
    at com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:673)
    at com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:495)
    at com.ibm.ws.webservices.engine.client.Stub$Invoke.i nvoke(Stub.java:948)

    Thanks in Advance,
    Srinivas.

  2. #2
    akiravelmont is offline Member
    Join Date
    Mar 2011
    Location
    bangalore
    Posts
    61
    Rep Power
    0

    Smile

    Exception:getSOAPHeader must be overridden by all subclasses of SOAPMessage
    may be getSOAPHeader() should me used in all the derived classes of SOAPMessage class.

    I dont think exactly. but why dont you post the code. may it helpful to us.

    Before posting the code check your company rules(IBM) on privacy of project code.:rolleyes:

Similar Threads

  1. Replies: 5
    Last Post: 03-17-2011, 02:26 PM
  2. Replies: 11
    Last Post: 10-10-2010, 06:31 PM
  3. Subclass Overridden Method throws Exception Rule?
    By hemanthjava in forum New To Java
    Replies: 5
    Last Post: 05-14-2010, 02:20 PM
  4. Invoking a superclass version of a overridden method
    By CyberFrog in forum New To Java
    Replies: 3
    Last Post: 05-25-2009, 01:33 PM
  5. Graphic settings being overridden?
    By sjchase in forum New To Java
    Replies: 0
    Last Post: 01-16-2008, 11:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •