Skip to Content
0
Mar 02, 2009 at 07:29 AM

Help with solution for receiver axis soap multipart

261 Views

Hi everybody.

I've read many questions made by people to this forum with no possitive results to my issue.

I'm developing a simple scenario : RFC >XI >Webservice in a sync way. I call a FM in an R3

backend and i must retrieve a string from the webservice.

First thing i've noticed is that the webservice only works if i set the external definition of it

in RPC mode. If not, i get the error 'method retrieveData' not found.

Second thing is that conventional SOAP receiver adapter doesn't work. I must use AXIS option.

So, i must use RPC mode with AXIS receiver.

No i've met another problem. When i check sxi_monitor, i have my FM response empty. This is because

i'm not retrieving the same message that is defined in the webservice. I retrieve a multipart

message with 3 parts : document-0, document-1 and document-2. I think that response message

mapping is not working because as document-0 comes a different structure that the one defined

in message mapping.

These are the the things i've tried :

Use of Payloadwapbean in receiver soap axis adapter. I can't put as document-0 the one that has the field i need.

I tried with ABAP-Mapping but when i try to find the field <name>, is not there.

Now, i'm thinking in other two solutions. first, develop a module to enhace the SOAP axis receiver.

First question about this .. will i have the 3 'attachments' so i can get the <name> field?

Can i use AXIS handlers to get the complete payload (i've read abput it but i don`t understand

how to do it)?.

Kind regards,

Inigo