Asankha,

I've modified the request and added a body and .. it works perfectly. 
Does this mean that a Mediator can only handle SOAP messages ?

Regards, Stefan

asankha wrote:
> 
> Stefan
>> I've been doing some additional testing and removed the SOAPAction and
>> Content-Type headers from the HTTP request but this does not solve the
>> problem.
>>
>> Information captured from TCPMon:
>> POST /soap/Spring-Proxy HTTP/1.1
>> User-Agent: Jakarta Commons-HttpClient/3.0.1
>> Content-Length: 127
>> Host: localhost:9290
>>
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><TestFromWSO2ESBSenderTestCase/></soapenv:Envelope>
>>   
> The problem is you have a SOAPEnvelope without a Body.. which AFAIK is 
> invalid
> 
> asankha
> 
> -- 
> Asankha C. Perera
> 
> WSO2 - http://wso2.org
> http://esbmagic.blogspot.com
> 
> 
> _______________________________________________
> Esb-java-user mailing list
> [email protected]
> http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/NPE-when-using-a-Spring-Mediator-tp19184059p19197377.html
Sent from the WSO2 ESB Users mailing list archive at Nabble.com.


_______________________________________________
Esb-java-user mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to