Announcement Announcement Module
No announcement yet.
Problem with SOAP Header Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with SOAP Header

    This is the header info from my request, and I am getting null pointer Exception while parsing soap header???

    xmlns:SOAP-ENV="" is defined at three levels , envelope, header, secuirty , If remove from header and security it works fine? My client is sending request like this. See error below.

    <SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:SOAP-ENC="" xmlns:xsd="" xmlns:xsi="">
    <SOAP-ENV:Header xmlns:SOAP-ENV="">

    <wsse:Security xmlns:SOAP-ENV="" xmlns:wsse="" xmlns:wsu="" SOAP-ENV:mustUnderstand="1">
    <wsse:UsernameToken> <wsse:Username>User</wsse:Username> <wsse:Password>PWD</wsse:Password>

    ERROR: 'NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.'
    Mar 12, 2008 5:58:45 PM com.sun.xml.messaging.saaj.soap.EnvelopeFactory createEnvelope
    SEVERE: SAAJ0511: Unable to create envelope from given source
    2008-03-12 17:58:45,172 DEBUG MessageTracing[receive() line 160] - Received request [SaajSoapMessage]
    2008-03-12 17:58:45,172 DEBUG SoapMessageDispatcher[processEndpointException() line 306] - Testing endpoint exception resolver [
    2008-03-12 17:58:45,172 DEBUG MessageDispatcherServlet[processRequest() line 493] - Could not complete request
    at ion.getName(
    at getBody(
    at tSoapBody(
    at tPayloadSource(
    at loadRootAnnotationMethodEndpointMapping.getLookupK eyForMessage(PayloadRootAnnotationMethodEndpointMa
    at tractMethodEndpointMapping.getEndpointInternal(Abs
    at tractEndpointMapping.getEndpoint(AbstractEndpointM
    at tEndpoint(
    at spatch(
    at ceive(
    at eMessageReceiverObjectSupport.handleConnection(Web
    at ssageReceiverHandlerAdapter.handle(WebServiceMessa
    at tcherServlet.doService(MessageDispatcherServlet.ja va:197)
    at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(
    at org.springframework.web.servlet.FrameworkServlet.d oPost(
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    at ternalDoFilter(
    at Filter(
    at org.apache.catalina.core.StandardWrapperValve.invo ke(
    at org.apache.catalina.core.StandardContextValve.invo ke(
    at org.apache.catalina.core.StandardHostValve.invoke(
    at org.apache.catalina.valves.ErrorReportValve.invoke (
    at org.apache.catalina.core.StandardEngineValve.invok e(
    at org.apache.catalina.connector.CoyoteAdapter.servic e(
    at org.apache.coyote.http11.Http11Processor.process(H

  • #2
    upgrading Jdk5.-13 fixed the problem if any one has this problem.