on 01-26-2016 12:26 PM
Hi Everybody!
I'm developing an ABAP Proxy -> SOAP (1.2) scenario. I've read many posts and blogs about calling a SOAP 1.2 Ws and I modified the envelope via Java Mapping with help of this document:
How To Use SOAP 1.1 1.2 and HTTP POST for Web Services Integration
http://scn.sap.com/docs/DOC-29829
Calling the request I could make the same call as the SoapUI tool, and the response is also the same (a Fault message because the WS it's still not operative). The problem is that the fault response is coming back as an attachment. I realized that because of the ABAP Moni error that is "Runtime exception occurred during application mapping ... com.sap.aii.utilxi.misc.api.BaseRuntimeException:Premature end of file".
Searching again amongst many threads I still couldn't find the solution. Some information the clear a little more this post:
- I'm using the Java Mapping suggested in the post to convert the SOAP 1.2 Envelope in the request.
- In the response message, a JM to remove the Envelope.
- In the SOAP Receiver the "Do Not Use SOAP Envelope" is ticked.
And also, I'm attaching 3 screenshots to show that the fault response is coming back as an attachment in the RWB and ABAP Moni and the module tab configuration.
Thank you in advance!
Juan.
Hi Juan!
Did you solve this problem?
Now I have the same situation: I receive SOAP Fault message as attachment instead of payload. I tried to use fault message types and mapping but still no luck.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Juan,
The faulty response is coming as an attachment, because you have not maintained any service interface for faulty message while creation of service interface in ESR.
Therefore, since there is no service interface for faulty message hence PI is picking it up as an attachment.
Regards,
Souvik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Juan,
I guess your trying to convert attachement using Beans?
If yes try selecting Keep attachments in the Soap channel and check once.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.