cancel
Showing results for 
Search instead for 
Did you mean: 

BINDUMP of content denied in the SMICM log while connecting to external sys

Former Member
0 Kudos

Hi,

Though this question is related to SAP XI, I feel this question can also be answered by people in ITS, so i am posting this in this forum.

In my current scenario where SAP XI system pushes data to another system(ABC system) using HTTPS connection. I have set up an RFC destination of Type G to connect to the external system.

When i do a Test connection, i see in SMICM log file, i found that connection established, request message written into ABC system.When response is being written i could find BINDUMP of content denied in the SMICM log file. What does that exactly mean..?

Also When i contacted the other party--ABC, they have told that they could not see any messages in their system.

XI shows successfully processed and ABC system did not receive the message... So where did the data go?? I have no clue :-(( Need your inputs in this regard. How to trace if the message has been successfully posted by XI. Below is the SMICM log file.

[Thr 5880] IcmConnConnect: direct connect to www2.ABC.com:443

[Thr 5880] nihsl-getHostAddr: found hostname '.www2.ABC.com' in cache

[Thr 5880] nihsi-getHostAddr: hostname '.www2.ABC.com' = addr 16.256.48.91

[Thr 5880] nihsi-getServNo: servicename '443' = port 01.BB/0443

[Thr 5880] NiCreateHandle: state hdl 23 / socket -1 NI_INITIAL

[Thr 5880] NiIBlockMode: switch off block-mode for hdl 23 / socket -1

[Thr 5880] NiLowLevCon: connect to: host 16.256.48.91, port 01.BB/0443, fam 2 (low adr..high adr)

[Thr 4532] [Thr 4532] NiISelect: fds in write-mask: [Thr 5880] NiIInitSocket: set default settings for socket 65268

[Thr 5880] NiISocket: hdl 23 got socket 65268

[Thr 5880] NiPBlockMode: set socket 65268 to NONBLOCK mode

[Thr 4532]

[Thr 5880] NiPConnect: connect in progress

[Thr 5880] SiPeekPendConn: connection of socket 65268 established

[Thr 5880] NiLowLevCon: took local port 10.1B/4123

[Thr 5880] nilh-localCheck: using local address list

[Thr 5880] NiSetStat: state hdl 23 NI_CONNECTED

[Thr 5880] ->> SapSSLSessionInit(&sssl_hdl=015BC3DC, role=1 (CLIENT), auth_type=3 (USE_CLIENT_CERT))

[Thr 5880] <<- SapSSLSessionInit()==SAP_O_K

[Thr 5880] in: args = "role=1 (CLIENT), auth_type=3 (USE_CLIENT_CERT)"

[Thr 5880] out: sssl_hdl = 19193D20

[Thr 5880] ->> SapSSLSetNiHdl(sssl_hdl=19193D20, ni_hdl=23)

[Thr 5880] IcmPlCheckRetVal: Next status: WRITE_REQUEST(3)

[Thr 5880] IcmConnRollInWP: no need to roll in WP status: ROLLED IN

[Thr 5880] MPI<12ee>0#7 GetInbuf 5 1489e0 2179 (1) -> 6

[Thr 5880] NiPBlockMode: set socket 65268 to NONBLOCK mode

[Thr 5880] NiPSockGetStatus: socket 65268 ok, no data pending

[Thr 5880] NiPBlockMode: set socket 65268 to BLOCK mode

[Thr 5880] IcmReadFromPartner(id=0/4693): fe-nihdl timeout

[Thr 5880] PlugInHandleServData: role: 2, status: 3, content-length: 0/0

buf_len: 2127, buf_offset: 0, buf_status: 6

[Thr 5880] HttpParseRequestHeader: content length: 1805

[Thr 5880] HttpParseRequestHeader: no transfer-encoding set

[Thr 5880] HttpParseRequestHeader: Version: 1000

[Thr 5880] HttpParseRequestHeader: Keep-Alive: 0

[Thr 5880] IcmPlCheckRetVal: Next status: READ_RESPONSE(2)

[Thr 5880] IcmHandleNetWrite(id=0/4693): HandleServData returned: 2

[Thr 5880] BINDUMP of content denied

[Thr 5880] IcmWriteToConn(id=0/4693): prepared to write data to partner (len = 2127)

[Thr 5880] ->> SapSSLWrite(sssl_hdl=19193D20, buf=061F8A74, len=2127, timeout=2000, &writelen=123EFF24)

[Thr 5880] <<- SapSSLWrite(sssl_hdl=19193D20)==SAP_O_K

[Thr 5880] result = "written= 2127 of 2127 (all)"

[Thr 5880] IcmWriteToConn(id=0/4693): wrote data to partner (len = 2127)

[Thr 5880] MPI<12ee>0#8 FreeInbuf#1 0 1489e0 0 -> 0

[Thr 5880] IcmConnRollInWP: no need to roll in WP status: ROLLED IN

[Thr 5880] IcmReadFromConn(id=0/4693): request new MPI (0/0)

[Thr 5880] MPI<12ed>1#4 GetOutbuf -1 1489e0 65536 (0) -> 061F8A40 0

[Thr 5880] ->> SapSSLRead(sssl_hdl=19193D20, buf=061F8A74, maxlen=65483, timeout=500, &readlen=123EFEE8)

[Thr 5880] Fri Dec 02 08:59:10 2005

[Thr 5880] <<- SapSSLRead(sssl_hdl=19193D20)==SAP_O_K

[Thr 5880] result = "max=65483, received=8036"

[Thr 5880] IcmReadFromConn(id=0/4693): read 8036 bytes(timeout 500)

[Thr 5880] BINDUMP of content denied

[Thr 5880] PlugInHandleNetData: role: 2, status: 1, content-length: 0/-1

buf_len: 8036, buf_offset: 0, buf_status: 0

[Thr 5880] PlugInHandleNetData: read response header

[Thr 5880] HttpParseResponseHeader: no transfer-encoding set

[Thr 5880] HttpParseResponseHeader: Version: 1000

[Thr 5880] HttpParseResponseHeader: Keep-Alive: 0

[Thr 5880] PlugInHandleNetData: more data to read

[Thr 5880] PlugInHandleNetData: need more data (7936/12484)

[Thr 5880] IcmPlCheckRetVal: Next status: READ_RESPONSE(2)

[Thr 5880] IcmHandleNetRead(id=0/4693): read_len: 8036, HandleNetData returned: 2

[Thr 5880] IcmHandleNetRead(id=0/4693): status 2 -> 2

[Thr 5880] ->> SapSSLReadPending(sssl_hdl=19193D20, &pendlen=123EFF1C)

[Thr 5880] <<- SapSSLReadPending(sssl_hdl=19193D20)==SAP_O_K

[Thr 5880] out: pendlen = 0

[Thr 5880] IcmHandleNetRead(id=0/4693): pending SSL data: 0, rollout=1

[Thr 5880] nihsl-getHostAddr: found hostname 'localhost' in cache

[Thr 5880] nihsi-getHostAddr: hostname 'localhost' = addr 127.0.0.1

[Thr 5880] NiIDgSend: re-connect dgram to: host 127.0.0.1, port FD.E6/64998, fam 2 (low adr..high adr)

[Thr 5880] IcmConnRollOut: connection (id=0/4693) rolled out:

[Thr 5880] CONNECTION (id=0/4693):

used: 1, role: 2, stateful: 0

NI_HDL: 23, protocol: 2

host: www2.ABC.com:443

status: READ_RESPONSE

connect time: 02.12.2005 08:59:08

WP-status: ROLLED IN (Context: 0, Role: 2)

tid: 15, mode: 0, uid: 746, roll-reason: ICM_ROLL_NONE

MPI request: <12ee> MPI response: <12ed>

request_buf_size: 2127 response_buf_size: 65484

request_buf_used: 2127 response_buf_used: 8036

request_buf_offset: 0 response_buf_offset: 0

[Thr 4852] NiBufSelect: Postprocessing...

[Thr 4852] NiBufSelect: returning 1 clients

[Thr 4852] NiSelNext: returning hdl 5, r--, 00000000, rest 0 entries (0164FEF0)

[Thr 5880] IcmWorkerThread: Thread 6: Waiting for event

[Thr 4852] NiIPeek: peek successful for hdl -1 / socket 65588 (r)

[Thr 4852] NiIDgReceive - WAKEUP DGRAM received from:

host 127.0.0.1, port 07.B0/1968, fam 2 (low adr..high adr)

[Thr 4852] NiIPeek: peek for hdl -1 / socket 65588 timed out (r; 0)

[Thr 4852] IcmWatchDogThread: dg received

[Thr 4852] IcmWatchDogUpdateRollQueue(id=0/4693): insert fe-nihdl 23, flags=1

[Thr 4852] NiSelSet: hdl 23, r-, 01679D50

[Thr 4852] IcmWatchDogThread: check ni handles (timeout=10000)

[Thr 4852] NiBufSelect: Preprocessing...

[Thr 4852] NiISelect: timeout 10000 ms

[Thr 4852] NiISelect: maximum fd=65757

[Thr 4852] NiISelect: fds in read-mask: [Thr 4852]

[Thr 4852] NiISelect: fds in write-mask: [Thr 4852]

[Thr 4852] NiBufSelect: Postprocessing...

[Thr 4852] NiBufSelect: returning 1 clients

[Thr 4852] NiSelNext: returning hdl 23, r--, 01679D50, rest 0 entries (0164FF00)

[Thr 4852] IcmWatchDogThread(id=0/4693): nihdl 23 - data received(read)

[Thr 4852] NiSelClear: removed hdl 23 from selectset

[Thr 4852] IcmQueueAppend: Queuelen: 1

[Thr 4852] IcmCreateRequest: Appended request 8369

[Thr 4852] IcmConnRollIn: connection (id=0/4693) rolled back to status: READ_RESPONSE

[Thr 4852] IcmWatchDogThread: check ni handles (timeout=10000)

[Thr 4852] NiBufSelect: Preprocessing...

[Thr 4852] NiISelect: timeout 10000 ms

[Thr 4852] NiISelect: maximum fd=65757

[Thr 4852] NiISelect: fds in read-mask: [Thr 4152] IcmWorkerThread: worker 3 got the semaphore

[Thr 4152] REQUEST:

Type: READ_RESPONSE Index = 8368

[Thr 4152] CONNECTION (id=0/4693):

used: 1, role: 2, stateful: 0

NI_HDL: 23, protocol: 2

host: www2.ABC.com:443

status: READ_RESPONSE

connect time: 02.12.2005 08:59:08

WP-status: ROLLED IN (Context: 0, Role: 2)

tid: 15, mode: 0, uid: 746, roll-reason: ICM_ROLL_NONE

MPI request: <12ee> MPI response: <12ed>

request_buf_size: 2127 response_buf_size: 65484

request_buf_used: 2127 response_buf_used: 8036

request_buf_offset: 0 response_buf_offset: 0

[Thr 4152] ->> SapSSLRead(sssl_hdl=19193D20, buf=061FA9D8, maxlen=57447, timeout=500, &readlen=10BEFEE8)

[Thr 4852]

[Thr 4852] NiISelect: fds in write-mask: [Thr 4852]

[Thr 4152] <<- SapSSLRead(sssl_hdl=19193D20)==SAP_O_K

[Thr 4152] result = "max=57447, received=4548"

[Thr 4152] IcmReadFromConn(id=0/4693): read 12584 bytes(timeout 500)

[Thr 4152] BINDUMP of content denied

[Thr 4152] PlugInHandleNetData: role: 2, status: 2, content-length: 7936/12484

buf_len: 12584, buf_offset: 8036, buf_status: 0

[Thr 4152] PlugInHandleNetData: read response body (len=12484/12484)

[Thr 4152] PlugInHandleNetData: response completely read(EOS=0)

[Thr 4152] IcmFlushBuf: Flushing 12584 Bytes, buf_status: 6

[Thr 4152] flush buffer with mpi buffer id 1

[Thr 4152] MPI<12ed>1#5 FlushOutbuf l1 1 1 1489e0 12636 6 -> 061F8A20 0

[Thr 4152] IcmConnRollInWP: no need to roll in WP status: ROLLED IN

[Thr 4152] PlugInHandleNetData: close connection

[Thr 4152] IcmPlCheckRetVal: Plugin retval: PLUGIN_RET_CLOSE (-702)

[Thr 4152] IcmHandleNetRead(id=0/4693): read_len: 4548, HandleNetData returned: -702

[Thr 4152] IcmConnRollInWP: no need to roll in WP status: ROLLED IN

[Thr 4152] PlugInStopConn: role: 2, error: 0, write_err: 1

[Thr 4152] ->> SapSSLSessionDone(&sssl_hdl=015BC3DC)

[Thr 4152] <<- SapSSLSessionDone(sssl_hdl=19193D20)==SAP_O_K

[Thr 4152] NiICloseHandle: shutdown and close hdl 23 / socket 65268

[Thr 4152] IcmConnClose: Connection 0/4693 closed

[Thr 4152] IcmConnFreeContext: context 0 released

[Thr 4152] IcmServDecrRefCount: intersrv.afdb.local:443 - serv_ref_count: 1

[Thr 4152] IcmWorkerThread: Thread 3: Waiting for event

Cheers,

Siva Maranani

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member

Hi,

My problem is solved.

I was not able to see the message in external system b'cos the XML document being posted to external server was an incorrect one. When we changed the payload and tested the scenario, its woking fine.

It did not have anything related to BINDUMP. BINDUMP error still exists even after successful post into external system.

Regards,

Siva Maranani