cancel
Showing results for 
Search instead for 
Did you mean: 

String index out of range: 0 error when sending to SOAP Receiver

Former Member
0 Kudos

Hi experts,

I have an interface

IDOC -> XI -> SOAP

Occasionally I will get this error message from RWB when sending to the SOAP service:

Delivery of the message to the application using connection AFW failed, due to: String index out of range: 0

To trace the soap message, I sent the message through a TCPMonitor, the error does not occur anymore.

Has anyone met with this problem before?

How do I resolve this?

Thanks!

Ron

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Wee,

The error states there is some problem in your message mapping. Have you used any substring function in your mapping. If yes can you check the message for which you have got error in message mapping. For this open sxmb_monin and open your message and then right click and then view source. Then copy this source and test in message mapping test tab. Then you will come to know whether you have any mapping error or not?

---Satish

Former Member
0 Kudos

> Wee,

>

> The error states there is some problem in your

> message mapping. Have you used any substring function

> in your mapping. If yes can you check the message for

> which you have got error in message mapping. For this

> open sxmb_monin and open your message and then right

> click and then view source. Then copy this source and

> test in message mapping test tab. Then you will come

> to know whether you have any mapping error or not?

>

> ---Satish

I did not do any substring in the mappings.

The strange thing is, with the same message, I can re-send without any error if I send this message through the SOAP TCP Monitor.

henrique_pinto
Active Contributor
0 Kudos

Since its an async soap receiver, it may be related to the fact that the response was a completely empty message and not an empty SoapEnvelope as expected.

Regards,

Henrique.