on 01-28-2009 4:59 AM
Hi,
We are just sending the data from XI using SOAP adapter to plain adapter engine which they configured at receiving side.
When I used XI adapter the message is going successfully to the receiving side. But when I use the SOAP adapter to send the data Iam getting the error
"Cause: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 500 internal server error: "
I used localejbs/AF_Modules/MessageTransformBean module and done according to below blog.
https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5498I [original link is broken] [original link is broken] [original link is broken]
The conversion is happening correctly when I saw the adapter log. But still we are getting this error.
Need suggestion please.
Thanks
Deepthi.
Hi Deepthi,
Can you please elborated me how to solve this issue?
Thanks
Sateesh N.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepthi,
Can you please elborated me how to solve this issue?
Thanks
Sateesh N.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepthi,
Can you please elborated me how to solve this issue?
Thanks
Sateesh N.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We cannot connect standalone J2SE adapter by using SOAP adapter. We can only connect through either XI or SOAP-AXIS adapter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is service in the target exposed as webservice ?
If yes did you test it with another WS client?
If fine did you check the content type what its expecting?
When I used XI adapter the message is going successfully to the receiving side
how did you use this did target side is proxy ??
Could you please provide more info.
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
Please find the answers.
>> If yes did you test it with another WS client?
No I didn't tried. I do not have access to download xmlspy. Is there anyway to test it apart from ALtova.
>> If fine did you check the content type what its expecting?
How can we check abt this. We tried evything..
>> how did you use th is did target side is proxy ??
If we want to communicate with standalone J2SE adapter from XI, we always have to send the message using XI protocol. Since XI protocol is an extension of SOAP, we may also try to use standard SOAP adapter but we have to try, if the missing XI headers won't make a difference
for the J2SE adapter. Please note that there is no other way for communication between XI and J2SE adapter (in both ways) than using XI/SOAP protocol.
So we tested with XI adapter and it is successfull. But when using SOAP adapter we are facing this problem.
-Deepthi.
Hi deepthi,
why you used MessageTransformBean?
content type is application/xml. If your target system is not accepting application/xml content type then MessageTransformBean will used to change the content type. For your scenario i thing no need for this bean( XI adapter is successfully executed).
Regards,
Prakasu
Go to MessagingSystem and check the content by using display MessageBytes option tab.(both for XI and SOAP adapter)
http://host:port/MessagingSystem/monitor/monitor.jsp
Rajesh
The log as below.
Success Delivering to channel: SOAP_RCV
Success MP: Entering module processor
Success MP: Processing local module localejbs/AF_Modules/MessageTransformBean
Success Transform: using Transform.Class: $identity
Success Transform: transforming the payload ...
Success Transform: successfully transformed
Success MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
Success SOAP: request message entering the adapter with user J2EE_GUEST
Error SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 internal server error: java.lang.NullPointerException
Success SOAP: sending a delivery error ack ...
Success SOAP: sent a delivery error ack
Error SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 500 internal server error: java.lang.NullPointerException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 internal server error: java.lang.NullPointerException
Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 500 internal server error: java.lang.NullPointerException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 internal server error: java.lang.NullPointerException
Error Exception caught by adapter framework: invalid content type for SOAP: TEXT/HTML; HTTP 500 internal server error: java.lang.NullPointerException
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.