cancel
Showing results for 
Search instead for 
Did you mean: 

missing response message in Idoc -> WS scenario

thomas_jork
Explorer
0 Kudos

Hello

I 'm missing a response message in the follwing scenario:

Idoc-> XI -> Web service (SOAP)

A Matmas idoc is sent from R/3 to XI. In XI the Idoc is

mapped to a SOAP message and sent to a web service.

The Message Interface for the SOAP call is synchronous

and has a PushMaterialSoapOut and a PushMaterialSoapIn

messsage, which is defined in the WSDL from the

web service and imported into XI Repository.

Everything is working fine but I do not get the response

message. The web service has sent the response message. I

have traced the firewall logs and i have seen the

response.

What is wrong? Is it basically possible to have a

scenario like this?

The message must have arrived somewhere, since the web

server does not throw an exception. But where is it?

Thank you in advance

Thomas

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

try using tcpgw:

https://websmp110.sap-ag.de/~sapidb/012006153200000201802006E/tcpgw.zip

to check if XI sends a correct SOAP request

you can also try invoking the web service via

some third party tool

like XML spy to see if the flow is ok

>>>Is it basically possible to have a

scenario like this?

yes you can have IDOC - XI sync SOAP - IDOC ack flow

via BPM for example

Regards,

michal

Answers (4)

Answers (4)

thomas_jork
Explorer
0 Kudos

Hello Stefan

>Scenarios with IDOCs are always async. Therefore you

>cannot have a response.

Ok, so I have to use BPM.

>How do you want to process the response? What should

>happen in the sender system?

I was thinking about an ALEAUD idoc which is sent back

to R/3. Therefor I have created an synchronous message

interface with the MATMAS idoc as outgoing message and an

ALEAUD as incoming message. Accordingly I have a message

mapping for the response message.

An other reaction to the response message could be to set

the message to status failed. But this is the next issue.

>In some scenarios you might use a BAPI instead of an

>IDOC for synchronous message processing, but this

>depends of many circumstance depending ofyour business

>requirement.

The process in SAP R/3 is fixed. To move to BAPI is not

an option.

Regards

Thomas

Former Member
0 Kudos

Hi Thomas, I also have to create a similar scenario, Idoc to XI to a Websservice and send a ALEAUD response back to SAP, did you ever manage to get this scenario working without using a BPM?

thomas_jork
Explorer
0 Kudos

Hello

I have tested the web service with the SAP wsnavigator,

a nice little tool to send SOAP requests to a web service.

With this little tool, which is part of the XI

installation, you can can also see the whole request

and response messages and not just the payload. So it's

working.

I have also read your interesting weblog regarding

configuration for message logging. So LOGGING_SYNC has

the value 1.

Regards

Thomas

Message was edited by: Thomas Jork

stefan_grube
Active Contributor
0 Kudos

> I 'm missing a response message in the follwing

> scenario:

> Idoc-> XI -> Web service (SOAP)

Scenarios with IDOCs are always async. Therefore you cannot have a response.

> The Message Interface for the SOAP call is

> synchronous

The sender determines the Quality of service.

Regards

Stefan

thomas_jork
Explorer
0 Kudos

Hello Michal

The request is ok and it is arriving at the web service.

I can see the resulting action of the request. The

response is also sent by the web service an it correctly

arrives in the destination(XI) network. I just can not see

it in XI monitoring.

Do you think I have to use bpm in order to make this

scenario working? Or is there any other way?

Regards

Thomas

Shabarish_Nair
Active Contributor
0 Kudos

just one query,

in sxmb_adm -> intg. engine conf. -> spec. conf.

can you check if LOGGING_SYNC has the value 1.

Also try testing the webservice independently via XML SPY (or some other tool)

stefan_grube
Active Contributor
0 Kudos

> Do you think I have to use bpm in order to make this

> scenario working? Or is there any other way?

How do you want to process the response? What should happen in the sender system?

In some scenarios you might use a BAPI instead of an IDOC for synchronous message processing, but this depends of many circumstance depending ofyour business requirement.

Regards

Stefan

Message was edited by: Stefan Grube