ADAPTER.HTTP_EXCEPTION / HTTP 302 Moved Temporarily
Hello all,
I have an RFC->XI->Web Service (SOAP) synchronous scenario.
I'm trying to send a message from the the RFC, and in the message monitoring (SXMB_MONI) I'm getting this error message:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Inbound Message
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="HTTP">ADAPTER.HTTP_EXCEPTION</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>HTTP 302 Moved Temporarily</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Does anyone knows what migth be happening?
Thanks in advance.
Felipe
Hello everyone,
Over a year ago I posted this issue. And I was never able to solve it. Now that I'm actually needing to do an interface of this kind, I cant find the solution.
The Web Service that I'm trying to invoke it is outside the LOCAL AREA NETWORK.
Please any ideas on how to solve this?
Thanks,
Felipe
Similar Messages
-
HTTP_EXCEPTION:HTTP 302 Moved Temporarily (RFC to SOAP)
Hi gurus
Iam facing a problem with a message which is failed at Call SOAP Receiver Adapter. The error is as follows:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIAdapter:ADAPTER.HTTP_EXCEPTION:HTTP 302 Moved Temporarily
HTTP 302 means that it has been redirected.It can be caused by an authentication need. In some cases, when the user/password authentication is requested, the WS call is redirected to another page.
But the proxy authentication and user authentication was done.
Could anyboyd please tell what is the solution for this?
Thanks.Hi.
Check this thread.
XIAdapter/HTTP/ADAPTER.HTTP_EXCEPT -
SOAP receiver: error HTTP 302 (Moved Temporarily)
Dear all,
I configured scenario where SOAP web service is consumed from SAP ABAP system via PI. The problem is in communication with the web service: the error observed in communication channels monitor for the configured SOAP receiver channel is:
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 302 Moved Temporarily: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 302 Moved Temporarily
The consumed web service is based on the function module developed in SAP NetWeaver 7.00 system. Endpoint for the service was then created via SOAMANAGER, generated binding's address was used as a target URL in the SOAP receiver channel.
If the service is consumed not via PI, but tested directly from external SOAP client (I used soapUI) with the same WSDL and endpoint, the response is fine and error-free.
Please advise possible root cause of the issue.
My regards,
VadimHi,
I am working on a similar scenario where I my consuming an external web service using https protocol from PI.
I have configured a soap receiver channel to call the target url of this web service as https://portal.xyz.org.uk/webservice_alt.
I am getting an error HTTP 302 suggesting that PI is not able to follow the re-direction to the target URL as the service resides not on that URL but on https://portal1.xyz.org.uk/webservice_alt or https://portal2.xyz.org.uk/webservice_alt.
This is their server fail over handling mechanism which is very common. But PI 7.0 is not able to handle this.
So if I change the target URL on the SOAP receiver channel to https://portal1.xyz.org.uk/web service or https://portal2.xyz.org.uk/webservice_alt , PI works fine without errors . But this is not the right approach because, every time the web service provider takes one of these systems down for upgrade/patching etc, they inform us and then I manually go and change the target URL to the available server on my production PI system config.
My problem is I want to resolve this redirection error in PI. I have tried raising a call with SAP itself and they pointed out to use Axis adapter which is still not working.
So I am here asking for help. any suggestions please from the experts?
Thanks
Jhansi. -
Pacman -S failure---http 1.0 302 moved temporarily
hi everybody
when i use the pacman tool ,i edit thc /etc/pacman.conf , i change the site with
Server = http://mirror.vmmatrix.net/ArchLinux/current/os/i686
or other site http://mirror.lupaworld.com/archlinux/current/os/i686 .etc
these site are mirror. but when i pacman -S packages , output the error with " HTTP 1.0 302 moved temporarily'
can you help now?Hi,
You should be able to get the "location" value out of the HTTP header which points to the new url which you can then process as normal.
Ben. -
Tomcat servlet respond with "302 Moved Temporarily" to HTTP GET requests
I started Tomcat (4.1.31) on a Unix machine (SunOS 5.8)
I tested the tomcat servlet using the following commands:
telnet 0 80
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
GET /index.html HTTP/1.0
HTTP/1.1 302 Moved Temporarily
Location: http://localhost/
Content-Length: 0
Date: Mon, 17 Oct 2005 18:09:15 GMT
Server: Apache-Coyote/1.1
Connection: close
Any other servlet that I test responses with the same result
Tomcat version 4.1.31
SDK build 1.3.1_02-b02
Solaris SunOS 5.8"302 Moved Temporarily" is a web server error (I googled it - see e.g. http://www.checkupdown.com/status/E302.html)
Two recommendations that you can try:
- do not use 'localhost' - use computer assigned name, or at worst IP address
- in my system, Server URL is set to http://ecm-base:16200/cs/idcplg (from ODC). Try to modify yours accordingly. -
HTTP/1.1 302 Moved Temporarily
I have a situation where weblogic is returning a HTTP/1.1 302 Moved Temporarily
and was curious what the reason might be.
WLS 6.1
win 2000
I.E. browser
There are two cases illustrated here. The first has no proxy settings in the browser
while the second has browsers pointing to a web proxy server.
In both cases the client resolves the IP address and establishes a TCP connection.
In both cases the weblogic server returns a 302 message indicating the url has
moved temporarily.
In both cases, the client then attempts to connect to a new url. One works and
one does not, that is another question, but for now.
Why does the server respond to the initial connection 'in both cases' with a 302
message?Hi,
You should be able to get the "location" value out of the HTTP header which points to the new url which you can then process as normal.
Ben. -
HTTP/1.1 302 Moved Temporarily Error getting while Crawling.
Hi,
I am running the application as crawling for any Url(e.x.http://tmo.eonline.mobi/).In this case I m getting the Error (HTTP/1.1 302 Moved Temporarily),so i am not able to fetch its sublinks and not able to go ahead.and my results are coming Empty.
I have put code snippet below from where i am getting error.
HTTPRedirect(final HttpMethod httpMethod) throws IOException {
final StatusLine statusLine = httpMethod.getStatusLine();
statusCode = statusLine.getStatusCode();Please give Solution for this problem or any useful link.
Thanking with you an anticipation in advance.Hi,
You should be able to get the "location" value out of the HTTP header which points to the new url which you can then process as normal.
Ben. -
AXF_SOAPCALL response error 302 Moved Temporarily
DECLARE
STRREQUEST VARCHAR2(32767);
strResponse VARCHAR2(32767);
BEGIN
STRREQUEST :='<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<UsernameToken>
<Username>weblogic</Username> <Password>user_passwrod</Password>
</UsernameToken>
</Security>
</soap:Header>
<soap:Body xmlns:ns1="http://imaging.oracle/">
<ns1:updateDocument>
<documentId>2.IPM_002620</documentId>
<uploadToken></uploadToken>
<fieldValues name="Status" id="4">
<value type="TEXT">Posted</value>
</fieldValues>
<reserved>0</reserved>
</ns1:updateDocument>
</soap:Body>
</soap:Envelope>
STRRESPONSE := AXF_SOAPCALL ('http://myserver:16000/imaging/ws' , STRREQUEST, 'true' ,Null,Null );
DBMS_OUTPUT.PUT_LINE (STRRESPONSE);
end;
getting the folowing response :
<html><head><title>302 Moved Temporarily</title></head>
<body bgcolor="#FFFFFF">
<p>This document you requested has moved temporarily.</p>
<p>It's now at http://amcon-orclipm1:16000/imaging/ws/.</p>
</body></html>
Any idea what's the error :
302 Moved Temporarily
his document you requested has moved temporarily
Thanks
BilalHi,
I am working on a similar scenario where I my consuming an external web service using https protocol from PI.
I have configured a soap receiver channel to call the target url of this web service as https://portal.xyz.org.uk/webservice_alt.
I am getting an error HTTP 302 suggesting that PI is not able to follow the re-direction to the target URL as the service resides not on that URL but on https://portal1.xyz.org.uk/webservice_alt or https://portal2.xyz.org.uk/webservice_alt.
This is their server fail over handling mechanism which is very common. But PI 7.0 is not able to handle this.
So if I change the target URL on the SOAP receiver channel to https://portal1.xyz.org.uk/web service or https://portal2.xyz.org.uk/webservice_alt , PI works fine without errors . But this is not the right approach because, every time the web service provider takes one of these systems down for upgrade/patching etc, they inform us and then I manually go and change the target URL to the available server on my production PI system config.
My problem is I want to resolve this redirection error in PI. I have tried raising a call with SAP itself and they pointed out to use Axis adapter which is still not working.
So I am here asking for help. any suggestions please from the experts?
Thanks
Jhansi. -
Distributed Document Capture and UCM commit issue: 302 Moved Temporarily
I am installing and configuring Oracle Document Capture and Oracle Distributed Document Capture to commit documents to Oracle UCM.
I am unable to commit documents to UCM because of the following error: "302 Moved Temporarily". What can be wrong with my configuration?
Error log from the ODDC:
Wed Dec 15 10:20:14 CET 2010 INFO Document file name is D:\oracle\Document Capture\Batches\001\00000001\00000001_1.
Wed Dec 15 10:20:14 CET 2010 INFO Begin Check In Process.
Wed Dec 15 10:20:14 CET 2010 INFO Idc service = CHECKIN_UNIVERSAL.
Wed Dec 15 10:20:14 CET 2010 INFO Parsing xml to obtain fields data.
Wed Dec 15 10:20:14 CET 2010 INFO dDocTitle: oddc.
Wed Dec 15 10:20:14 CET 2010 INFO dDocType: Application.
Wed Dec 15 10:20:14 CET 2010 INFO Field DocAuthor: weblogic.
Wed Dec 15 10:20:14 CET 2010 INFO dSecurityGroup: Public.
Wed Dec 15 10:20:14 CET 2010 INFO dDocAuthor: weblogic.
Wed Dec 15 10:20:14 CET 2010 INFO dDocAccount: .
Wed Dec 15 10:20:14 CET 2010 INFO primaryFile: D:\oracle\Document Capture\Batches\001\00000001\00000001.1.
Wed Dec 15 10:20:15 CET 2010 SEVERE Failed to check in document. Exception: {0}. Error is: oracle.stellent.ridc.protocol.http.HttpProtocolException: HTTP/1.1 302 Moved Temporarily
at oracle.stellent.ridc.protocol.http.IdcHttpProtocol.writeRequest(IdcHttpProtocol.java:171)
at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:140)
at com.oracle.capture.UCM11g.Driver.checkIn(Driver.java:192)
at com.oracle.capture.UCM11g.ComDriver.checkIn(ComDriver.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.jniwrapper.win32.com.server.IDispatchServer.invoke(SourceFile:209)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.jniwrapper.win32.com.server.CoInterfaceVTBL$VirtualMethodCallback.b(SourceFile:232)
at com.jniwrapper.win32.com.server.CoInterfaceVTBL$VirtualMethodCallback.callback(SourceFile:135)
at com.jniwrapper.Callback.enterPoint(SourceFile:222)
at com.jniwrapper.Function.invokeCFunc(Native Method)
at com.jniwrapper.FunctionCall.a(SourceFile:126)
at com.jniwrapper.FunctionCall.call(SourceFile:34)
at com.jniwrapper.Function.invoke(SourceFile:188)
at com.jniwrapper.Function.invoke(SourceFile:212)
at com.jniwrapper.win32.MessageLoopThread$LoopThread.run(MessageLoopThread.java:489)
Error log from the WLS - UCM_server1:
####<2010-12-15 10:23:52 CET> <Info> <ServletContext-> <???> <UCM_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <8857620d73b0a621:-7e6d4fca:12ce951b643:-7ffd-0000000000000045> <1292405032703> <BEA-000000> <Failed access to redirected secure URL>
I am using Oracle Distributed Document Capture Release 10gR3 and Content Server 11g Release 1.
I configured the Oracle UCM 11g Commit Driver:
user: my_user, password: my_password, Server URL: http://localhost:16200/cs
When I am trying to commit a batch I am getting the following response:
HTTP/1.1 200 OK
Cache-Control: no-cache
Date: Wed, 15 Dec 2010 09:33:06 GMT
Content-Length: 664
Content-Type: text/plain; charset=utf-8
Set-Cookie: IDCCS_SESSIONID=yycVNLLSL1hJ3P2mQkQrjss7XLZY23r8vFbt2n4wTj7VJ2c9xQ01!-1355344816; path=/; HttpOnly
X-ORACLE-DMS-ECID: 0000IndO3b39_aW5Pzw0yd1D28UE00000t
X-Powered-By: Servlet/2.5 JSP/2.1
<?hda version="11gR1-11.1.1.3.0-idcprod1-100505T121221" jcharset=UTF8 encoding=utf-8?>
@Properties LocalData
IdcService=PING_SERVER
ClientEncoding=UTF8
UserTimeZone=UTC
UserDateFormat=iso8601
addAlert=1
ActAsAnonymous=1
dUser=anonymous
blDateFormat=yyyy-MM-dd HH:mm:ssZ!tUTC!mAM,PM
refreshSubjects=
refreshMonikers=
changedSubjects=
refreshSubMonikers=
blFieldTypes=StatusMessage message
RedirectUrl=/cs/
changedMonikers=
idcToken=
IsJava=1
@end
@ResultSet USER_ALERTS
3
alertId
alertMsg
alertUrl
csWeblayout8dot3Error
<$lcMessage('!csWeblayout8dot3Error')$>
@end
@ResultSet UserAttribInfo
2
dUserName
AttributeInfo
anonymous
account,#none,15,role,guest,15
@end
HTTP/1.1 302 Moved Temporarily
Date: Wed, 15 Dec 2010 09:33:06 GMT
Transfer-Encoding: chunked
Location: http://localhost:16200/cs/login/login.htm
X-ORACLE-DMS-ECID: 0000IndO3c19_aW5Pzw0yd1D28UE00000u
X-Powered-By: Servlet/2.5 JSP/2.1
0113
<html><head><title>302 Moved Temporarily</title></head>
<body bgcolor="#FFFFFF">
<p>This document you requested has moved temporarily.</p>
<p>It's now at http://localhost:16200/cs/login/login.htm.</p>
</body></html>
0000
The Request:
POST /cs HTTP/1.1
User-Agent: Java; Stellent CIS 11g
IdcVersion: 11.1.1
Host: 127.0.0.1:16200
Content-Length: 124
Content-Type: text/hda; charset=UTF-8
IsJava=1
<?hda jcharset=UTF-8?>
@Properties LocalData
IdcService=PING_SERVER
UserTimeZone=UTC
UserDateFormat=iso8601
@end
POST /cs HTTP/1.1
User-Agent: Java; Stellent CIS 11g
IdcVersion: 11.1.1
Authorization: Basic d2VibG9naWM6d2VibG9naWMx
Host: localhost:16200
Cookie: $Version=0; IDCCS_SESSIONID=Z2ZpNLQbKchmg2tVB5fpQLL2pPphT4BFX18GJPbkqkxMxLVMhbLZ!-1355344816; $Path=/
Content-Length: 28963
Content-Type: multipart/form-data; boundary=67xMPN-krvICaGSzKNTkd02u8MLyarA
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="IsJava"
Content-Type: text/plain; charset=US-ASCII
1
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="ClientEncoding"
Content-Type: text/plain; charset=US-ASCII
UTF-8
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="IdcService"
Content-Type: text/plain; charset=UTF-8
CHECKIN_UNIVERSAL
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="UserTimeZone"
Content-Type: text/plain; charset=UTF-8
UTC
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="UserDateFormat"
Content-Type: text/plain; charset=UTF-8
iso8601
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="dSecurityGroup"
Content-Type: text/plain; charset=UTF-8
Public
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="dDocAccount"
Content-Type: text/plain; charset=UTF-8
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="dDocAuthor"
Content-Type: text/plain; charset=UTF-8
weblogic
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="dDocType"
Content-Type: text/plain; charset=UTF-8
Application
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="dDocTitle"
Content-Type: text/plain; charset=UTF-8
oddc
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="DocAuthor"
Content-Type: text/plain; charset=UTF-8
weblogic
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="primaryFile"; filename="00000002.1"
Content-Type: application/octet-stream; charset=ISO-8859-1
˙Ř˙ŕ<file content....>"302 Moved Temporarily" is a web server error (I googled it - see e.g. http://www.checkupdown.com/status/E302.html)
Two recommendations that you can try:
- do not use 'localhost' - use computer assigned name, or at worst IP address
- in my system, Server URL is set to http://ecm-base:16200/cs/idcplg (from ODC). Try to modify yours accordingly. -
Why get 302 Moved temporarily error
details:
<div style="padHTTP/1.0 302 Moved Temporarily Date: Thu, 30 Sep 2004 21:16:06 GMT Server: atg.server.http.HttpServer Connection: close Pragma: no-cache Cache-Control: no-cache Expires: Tue, 04 Dec 1993 21:29:02 GMT Content-Type: text/html Location: http://localhost:8840/business/error.jsp?_requestid=163
302 Moved TemporarilyWhy localhost, that presumably you control, is giving that, I couldn't say. Maybe you accidentally messed up your server's config somehow, or maybe your servlet is accidentally sending content bytes when it's supposed to be sending the response header.
-
ADAPTER.HTTP_EXCEPTION - HTTP 415 Unsupported Media Type
Hi All,
We have a Proxy to SOAP scenario which is throwing the below response.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Inbound Message
-->
- <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 415 Unsupported Media Type</SAP:AdditionalText>
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
We have used XSLT mapping and also used the Message transform bean (ocalejbs/AF_Modules/MessageTransformBean) with the module parameters.
Please help.this is the Audit log... Just in case this helps..
20.10.2011 09:57:34 Information Transform: successfully transformed
20.10.2011 09:57:34 Information MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
20.10.2011 09:57:34 Information SOAP: request message entering the adapter with user J2EE_GUEST
20.10.2011 09:57:34 Information SOAP: completed the processing
20.10.2011 09:57:34 Information SOAP: continuing to response message 765df5dd-fb23-11e0-a52b-0000124b6826
20.10.2011 09:57:34 Error SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
20.10.2011 09:57:34 Error MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
20.10.2011 09:57:34 Error Adapter Framework caught exception: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
20.10.2011 09:57:34 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error. Setting message to status failed.
20.10.2011 09:57:34 Error The message status was set to FAIL. -
ADAPTER.HTTP_EXCEPTION, HTTP 500 Internal Server Error, in Receiver soap A
Greetings All,
In my scenario i am calling external service of SFDC using receiver soap adapter but i am facing below error in the response.
ADAPTER.HTTP_EXCEPTION, HTTP 500 Internal Server Error
I am creating the soap structure/envelope using Java mapping since need to add additional parameter in soap header.
I am setting the URL in java UDF using parameter TServerLocation.
In comm channel checked "do not use soap envlope" also set the format to text/xml using MessageTransformBean.
The service was working fine when tested in SoapUI tool.
Looking forword for your help and will be appreciated.
Thanks,
SandipHello Sandip, I hope you are doing fine!
I`m not sure if you are using a sync or async scenario...
The behavior that you describe is the expected behavior for SOAP receiver adapter in nosoap mode, asynchronous case.
The explanation that lies behind it is that in nosoap mode the bahavior is just similar to pure HTTP communication. An HTTP 4/5 error received from the target server is treated as HTTP internal error and logged into AFW as an error. The message in an asynchronous scenario without acknowledgements is normally seen as successful on IE side as it is successfully sent to the target system. It can be even successfully consumed by the target webservice, but for amo other reason, the HTTP request from SAP PI to the target system returns HTTP 500 error.
If you ask for system delivery acknowledgements, you should get a non-successful delivery acknowledgement.
In synchrnous scenarios, when a response is expected, the behavior is different.
If this is a sync scenario, there is an official patch released on the service marketplace. SAP Note 1533195 is released.
In addition to deploying the patch, apply the additional configuration steps. As per this note, for the default module
sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
you will need to set:
Module Key = soap
Parameter Name = noSOAPMakeSysErrFromResponseFault
Parameter Value = false
If you need to bypass the HTTP errors in the communication with the target system, you need to apply note 1055678.
To apply it, just add for the default module
sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean in your receiver
channel, Modules tab the following:
Module Key = soap
Parameter Name = XMBWS.NoSOAPIgnoreStatusCode
Parameter Value = false
If you need any SOAP fault related behavior or any other SOAP related feature, you should setup the channel to run normal SOAP mode, since as already mentioned nosoap mode is used now.
In addition, check note:
856597 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 SOAP Adapter
section "1. Sender Connection"
Q: I get a server error "500 Internal Servler Error" from the
adapter's servlet. What went wrong?
and get the trace to give you more details of the error.
One more thing, VERY IMPORTANT.
I STRONLGY recommend you to update all XI-PI components to latest patch available in the Service Marketplace. Thery are:
XITOOLS, XIESR, XIAF, XIAFC, MESSAGING, XIGUI. Some of them might not be present depending on the release of you system. e.g: 3.0, 7.0, 7.1
I hope this helps you.
Cheers
Jorge Eidelwein -
Hello All,
We have scenario proxy->pi->webservice. In older versions of PI system they used wsrm adapter at receiver side and it's working fine.
Receiver interface is asynchronous. So no response structute is present and receiver service is business component(since receiver is a third party).
During migration, we have replaced the receiver adapter with SOAP adapter and used message protocol as SOAP 1.1 but the message is failing and in communication channel it is showing error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error". In this case the receiver interface is stateless xi 3.0 compatible(re using the old), after changing it to just stateless also issue persists.
In target url field if i prefix the url with "http" then above mentioned error is occurring otherwise if i use the hostname:port/path.. then it is giving error
"soap: Call failed: com.sap.aii.af.sdk.xi.srt.BubbleException: Unsupported protocol". So maintaing the url as http://hostname:port/pat.....
As in old channel wsrm channel there is no userid and password, i haven't given any userid/pwd in receiver channel.
used the bean sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean with parameters
Module Key = soap
Parameter Name = noSOAPMakeSysErrFromResponseFault
Parameter Value = false
and
xmbws.No SOAPIgnoreStatus = true
but not successful.
Please help me. I got stcuk here.Hello Jannus,
The connectivity is working fine. Network team has confirmed it. I doubt that any strucutre(header) difference might be present in message when sending with wsrm adapter compared to sending with soap adapter.
Please let me know the exact difference between soap and wsrm functionality in receiving end.
By considering the structure issue, i have checked the "do not use soap envelope" check box, then i got error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 415 Unsupported Media Type"
Then i used message transform bean, but not successful.
Regards,
Ch.Venkat. -
XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Request
Hi,
We are doing File to WCF Scenario( SOAP ). I am trying to post the Data to WCf usingf SOAP Reciver Adapter.
Getting the Following error.
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Request
Thanks in advance>>> Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Request
Answer: Use the third party wsdl in SOAP UI or any soap client tool and send the request and see the response. The problem here is the message structure mismatch between your request to the webservice and webservice expecting...
Possible 2 reasons:
1) You are not creating the target message based on the wsdl structure or not configured soap receiver properly.
or
2 ) Your wsdl is not latest or updated one or some changes have happened in the third party webservice hosting side. -
XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 404 Not Found
Hi,
The scenario is ECC-XI-SOAP(Asynchronous). We are getting the below mentioned error in SOAP reciver channel:
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 404 Not Found
Channel Configuration:
Target URL:
http://<hostname>:<port>/bpm/com/xyzprocess/SomeIntermediateEvent?wsdl=binding&mode=ws_policy
Tried with
http://<hostname>:<port>/bpm/com/xyzprocess/SomeIntermediateEvent as well
Conversion parameters:
Checked Do Not Use Soap Envelope
Appreciate any help in this regards.
Regards,
VishalCan you share with us the HTTP Headers for the Request?
POST http://server/sap/xi/engine?type=entry&version=3.0&Sender.Service=BusService&Interface=http://company.com/abc/CommonAck%5EMI_CommonAck_ia HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://sap.com/xi/WebService/soap1.1"
User-Agent: Jakarta Commons-HttpClient/3.1
Host: server
Content-Length: 560
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xir="http://www.dummy.org/response/">
<soapenv:Header/>
<soapenv:Body>
<xir:responseInput>
<Id>007</Id>
<Flag>10</Flag>
</xir:responseInput>
</soapenv:Body>
</soapenv:Envelope>
You can use the MessageTransformBean to correct the content type.
Thanks for the suggestion Mark.I am using MessageTransformBean but still the same issue.
Parameter Name:Transform.ContentType
Parameter Value:text/xml;charset=utf-8
Edited by: Vishal.P.Kulkarni on Oct 17, 2011 6:27 AM
Edited by: Vishal.P.Kulkarni on Oct 17, 2011 6:29 AM
Maybe you are looking for
-
HT1414 Serious Bug in App Store software update process - locks iPhone.
A situation to cause my iPhone to become unusable has occurred: IPhone 4 GSM model 1332 IOS Version 6.1.3 App Store prompted me that 2 apps needed updating ... The App Updates started, but during the update there was a network failure on my WiFi caus
-
Can I create a Master PDF that pulls field values from multiple PDFs?
I am designing a tracking system for a class and want to have the student fill out a basic information form that tracks personal information and individual test grades. As an administrator, I want to have a master list that can track the entire clas
-
How to capture screen display and save it
Hello everyone, I would like to capture what is being displayed on the screen and save it to a file or send it via http to someone else. I used to have this code but I lost it. Your help would be highly appreciated. Thanks Ulises
-
How would i design the relationship between "question", "subquestion", and "answer"
Hi all. Consider the following scenario: Scenario: A Question has an Answer, but some Questions have Subquestions. For example: 1. Define the following terms: (Question) a) Object (1 marks) (Subquestion) An instance of a class. (Answer) b) ... 2. Dif
-
Can you manually tell iphoto a camera is attached
I have updated to iphoto6. When I plug in my camera (canon) it switches on and opens iphoto but does not show in the menu for importing. Can I manually import?? I have had no problems before importing photo but i don't know what to do next. I just ke