on 07-29-2010 7:17 PM
Hi Experts,
I have a scenario where I have a SOAP receiver that accepts only messages with gzip compact and base64 encoding, in this order. That means I must first compact the message with gzip and then convert this result into base64 encoding.
I tried to do so using the SOAP default module (XISOAPAdapterBean) with this configuration parameters:
XMBWS.Encoding = gzip
XMBWS.TransferEncoding = base64
XMBWS.XMLEncoding = base64
When I run that configuration, however, the following error occurs in the processing (viewed via sxmb_moni):
com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.UnsupportedEncodingException: base64
Are the parameters correct?
Can I see the sequence of the operations (compact and encode)?
Is there anyway to configure this sequence?
Any other sugestions?
Thanks
> XMBWS.XMLEncoding = base64
This is wrong. XMLEncoding must be a codepage, like UTF-8.
Delete that parameter.
Try also:
XMBWS.AcceptEncoding compress, gzip
See this guide:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
After delete the line "XMBWS.XMLEncoding = base64", the server began to return this error: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/PLAIN; HTTP 415 Unsupported Media Type
I made another test, configuring the parameters according to the guides, like this:
XMBWS.XMLEncoding = charset iso-8859-1
XMBWS.TransferEncoding = base64
XMBWS.Encoding = gzip
XMBWS.AcceptEncoding = compress, gzip
But the same error occurs: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/PLAIN; HTTP 415 Unsupported Media Type
Is there anyway to check the operations sequence (first compact then encode)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check this link and read from 6th page onwards
Regards
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.