milewise/node-soap — Issue #21: Response encoding and content-type
Author: 0x80
Created: 2012-02-15 16:04:29+00:00
State: open

When my soap server is called it returns http headers with wrong fields for encoding and content type. It should be "text/xml" and UTF-8. How and where can i fix this? Here's some logging of the server calling my service. The outbound message is sent en inbound is what node soap returns.

INFO 20120215 16:55:26 AbstractLoggingInterceptor.java:178- Outbound Message
---------------------------
ID: 437
Address: http://localhost:9096/mediaprocessor/video_transcoder
Encoding: UTF-8
Content-Type: text/xml
Headers: {Accept=[*/*], SOAPAction=["http://mydomain.nl/mediaprocessor/#getStatus"]}
Payload:

--------------------------------------
INFO 20120215 16:55:26 AbstractLoggingInterceptor.java:178- Inbound Message
----------------------------
ID: 437
Response-Code: 200
Encoding: ISO-8859-1
Content-Type:
Headers: {connection=[keep-alive], transfer-encoding=[chunked]}
Payload: STATUS_OKDefault processor response
--------------------------------------