on 07-12-2006 7:39 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> 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
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.