Skip to Content
author's profile photo Former Member
Former Member

missing response message in Idoc -> WS scenario

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Jul 12, 2006 at 06:50 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 13, 2006 at 08:43 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • > 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

  • Posted on Jul 13, 2006 at 09:07 AM

    > 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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 13, 2006 at 09:53 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 13, 2006 at 10:10 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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?

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.