on 03-08-2013 6:37 AM
Dear Friends,
I am making one scenario in SAP Pi 7.0. It is Proxy to Soap. Abap Proxy in ECC is sender and Soap is receiver channel. When i test this proxy in sproxy in ecc, it gives a message of "message.general". When i test the status of messages in SXMb_MONI, it shoes red dot on both request and response message and in response message it gives error
"com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized"
Can anybody tell what is this error and how it can be resolved. I am new to PI. Thanks
Regards
Imran
Hi Imran,
This type of problems may occurs if the user is locked in target system or the RFC connection may be fails
Please check the user in receiver system and RFC Connection for the receiver system in sap PI system.
Regards
Ravinder.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the SOAP receiver communication channel, configure the User authentication. Provide the User & pwd of a user who has access to the specified URL. Also in the WS navigator tool, check if you can access the URL. The path for WS navigator is http://<host>:port/wsnavigator. If the webservice is an external webservice then it has to be added in the whitelist of WS navigator.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Adarsh,
Thanks for your reply. i did configure user authentication in SOAP receiver channel. I have test my WSDL file in XML spy, it works fine. When i test my URL in WS navigator, it gives this message
Cannot download WSDL from http://host:port/sap/xi/engine?type=entry&version=3.0&Sender.Service=Soap_Sender_Cus&Int...: Invalid Response Code: (500) Empty HTTP request received. The requested URL was:"http://host:port/sap/xi/engine?type=entry&version=3.0&Sender.Service=Soap_Sender_Cus&Interface=http%..."
if i try this URL in WS navigator http://host:port/XISOAPAdapter/MessageServlet?channel=:Soap_Sender_Cus:Soap_Cust&version=3.0&...
it gives this message
Cannot download WSDL from http://host:port/XISOAPAdapter/MessageServlet?channel=:Soap_Sender_Cus:Soap_Cust&version=3.0&...: Given http://host:port/XISOAPAdapter/MessageServlet?channel=:Soap_Sender_Cus:Soap_Cust&version=3.0&Sender.... is not WSDL definitions file !
First kindly tell am i using the right URL's? If my WSDL file works fine in XML spy, than why the URL is not working in WS navigator?is there any problem in URL? This is not external web service. I made the exposing scenario which is Soap to RFC. I made WSDL file of this exposing scenario and now i want to consume this web scenario in ECC using proxy to Soap.
Thanks and waiting for your reply
Hi Imran,
Can you please try
http://<server>:<port>/XISOAPAdapter/MessageServlet?channel=:<service>:<channel> in soap receiver channel and check if it works.
Regards,
Beena
Dear Adarsh,
when i test this url in ie, it gives this message
Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_14_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $) bound to /MessageServlet
Classname ModuleProcessor: null
Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
Lookupname for remoteModuleProcessorLookupName: null
ModuleProcessorClass not instantiated
ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
ModuleProcessorRemote not instantiated
what does this mean? i am still getting this error in sxmb_moni after executing the proxy from ecc.
com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized
kindly help
Regadrs
IMran
Hello,
If you are using dynamic configuration to build the URL, then you should also do the same for the user via DC (Technical Name: TAuthKey ) and place the basic authentication data under the Authentication Keys (Advanced Tab of Soap Receiver CC).
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Mark,
Can you please explain in detail how can i do this " user via DC (Technical Name: TAuthKey )" thing. I have put the authentication data in SOAP receiver channel. When i test WSDL file, the one i am using for consuming, in XML spy, it ask for PI user name and password. I have given the same user name and password in SOAP receiver channel. I am using SOAP receiver channel in business service and RFC sender channel in Business system. Shall i both try in business service? kindly suggest.
Thanks
Regards
Imran
Hi Imram,
You could try first with an external tool like SOAPui. But the error seems to be in the credentials or the URL endpoint.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Friends,
the url i am using for WSDl fiel is
I am using this URL in SOAP receiver channel. When i test this URL in XML SPY, it works fine. it brings the data from other side. when i test this URL in IE, it gives message
Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_14_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $) bound to /MessageServlet
Classname ModuleProcessor: null
Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
Lookupname for remoteModuleProcessorLookupName: null
ModuleProcessorClass not instantiated
ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
ModuleProcessorRemote not instantiated
Kindly verify thst my URL is ok or not?it is working fine in xml spy. thanks to all
Dear Sunil,
I am putting host and port correctly. Due to security reasons, i did not mention them in URL. I am using Pi 7.0. I get this URL from integration directory>tools>define web service. When you make WSDL file, you can see URL there as well. There is nothing wrong with URL.
Regards
Imran
Its issue with URL you are providing into configuration, it must be the URL to the WSDL.
Simply test it by putting it in browser and check whether you are able to see WSDL code.
Make sure that you are using correct User ID and Password and having proper settings of Firewall if any.
Hope it helps.!
Regards,
Sunil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Imran,
Does your SOAP receiver accept any specific content type? Check this and accordingly you can set the content type using MessageTransformBean in receiver SOAP channel -> Module tab
Check this http://scn.sap.com/message/2422573#2422573
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
have you seen below thread:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
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.