Problem with plain http adapter on XI 2.0
Hi all,
i have a problem setting up proper communication between XI 2.0 and PI 7.0 system using plain http adapter.
Regardless of what i pass as url argument, i always receive the following error message:
HTTP-Server Code 500 Reason Internal Server Error Explanation URL-Parameter namespace (Sender Interface-namespace) is missing (see first link)
SXMB_MONI Trace:
[http://image-upload.de/image/Rv3NeE/77c11c84fc.jpeg]
Configuration:
[http://image-upload.de/image/5Z2Gwr/90c19f2074.jpeg]
[http://image-upload.de/image/hGrzQL/559bf5e566.jpeg]
[http://image-upload.de/image/2WqCqz/7513a1a366.jpeg]
Hi,
the namespace of the inbound interface in the interface determination was missing. So now it kind of works. But we still have the problem, that we are not able to pass parameters via URL, the XI 2.0 just ignores them.
Is there a way to enhance the url by using the Header Fields tab. Can you give me an example for the valid params?
Best Regards
Sven
Similar Messages
-
Plain Http adapter Monitoring with CCMS / Alerting framework
Hello all,
Can you explain me the optimal way to monitor process using plain http adapter (Sender AND Receiver).
My goal is to push issue information as soon as possible to monitoring team (via CCMS) when the process is in error.
During my tests, I ve had a lot of messages with ICM HTTP error 110 but Integration engine did not trigger any alert.
Thanks for your help.Hi,
Check this link for ICF trace.
http://help.sap.com/saphelp_webas620/helpdata/en/2d/64d041e74911d6b2e400508b6b8a93/content.htm
/people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
/people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
regards
Aashish Sinha
PS : reward points if helpful -
Plain HTTP Adapter vs SOAP Adapter with regards to SSL
Hi,
I need to setup communication channles within XI to send and receive secure xml. I am confused after reading the XI documentation and the some of the discussion forums on SDN.
Can anyone clarify the following:
1) Does the plain HTTP Adapter support SSL? According to the XI documentation is does NOT? Have I miss read it?
2) This being the case, the only way to send and receive secure XML is to use the XI/SOAP Adapter?
Thanx for your help.
Cheers
YackeenHi Yackeen,
no, that's not true. The plain HTTP Adapter supports SSL. No problem.
Regards,
Udo -
Using extra attributes in plain Http Adapter
Hi All,
I am using a Plain HTTP Adapter to send messages to XI. This is working fine but i'm facing a problem with HTTP variables.
I need to send a flag as an http variable that identifies the message as a new message or not. It's important for me that this variable is reachable in the Receiver Determination so i can create a routing rule based on that. I've read this help from sap (<a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm">Configuring the Sender Plain HTTP Adapter</a>), but i couldn't find a place to set the "Adapter-Specific Message Attributes".
Thanks a lot for any help.
Regards,
Leonardo Tayt-sonIn your Sender HTTP Adapter, check out for "Adapter-Specific Message Attributes" section (usually, it's the last section). Mark the "Use Adapter-Specific Message Attributes" checkbox. Then, mark "Apply URL Parameters" checkbox and enter a name for Parameter 1 (for example, New).
Then, your incoming http URL shoud be something like http://<application_hostname>?New=true .
And in your receiver determination, go to condition editor for each Business System, and enter expression editor for left expression. Check "Context Object" and select "URLParamOne" parameter from "http://sap.com/xi/XI/System/HTTP" namespace. For the right expression, use the value you want.
Them you can use your condition like
If (URLParamOne = true) send to BS 1
If (URLParamOne = false) send to BS 2
Regards,
Henrique. -
Plain HTTP adapter error: Bad Gateway, Proxy Error, please help !
hello all,
i have the following scenario:
filesystem->file adapter->XI->plain http adapter-> receiver system.
the following error occurred while calling plain http adapter:
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_Server</SAP:Code>
<SAP:P1>502</SAP:P1>
<SAP:P2>Bad Gateway</SAP:P2>
<SAP:P3> Proxy Error</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>HTTP-Server Code 502 Reason Bad Gateway Explanation Proxy Error</SAP:Stack>
A RFC-Destination with SSL is used in this scenario. Connection test to the destination machine is also succeeded. some files have been transported to the receiver system, yet without payload. data is lost.
anyone has encountered such problem or anybody can tell me please how to solve this problem.
thanks for your help
regardsHi,
I´ve found a SAP-Note concerning this error-message 692057
There is the note 450226 gives an overview over error codes
Probably below solution may help you.........
As an administrator on your portal go to:
System Configuration > Service Configuration >applications
Under: com.sap.portal.ivs.httpservice > Services > Proxy
If any proxy settings are configured you may end up with the problem, so you need to set the "nonProxyHosts" to include the trex host.
After a restart the search was working normally again.
Thanks
Swarup -
Configure plain http adapter for receiving message from an external system
Hi,
we use Pi/700.
Now I have an external system and I have to use HTTP (plain) to send messages to XI (via plain http adapter).
I have no experiences with HTTP!
In the external system I can only configure "URL, Username, Password" for sending messages - that's all!
What do I have to configure in XI (communication channel, abap-stack, java-stack,...)?
I don't know the URL of my XI-system. Is there an transaction code to get this information?
Why do I need a Username/Pasword?
For testing I can use a "http-post test tool" I found here in this forum.
Thank you all for any help!
Regards
WolfgangHi Hummel,
In Exteranl System u have to use these values
name="myhost" value="xiserver"
name="myport" value="8000"
name="mysystem" value="XY_BSservice"
name="myinterface" value="Order_out"
name="mynamespace" value="urn:xi:hcl:powebapp"
name="myqos" value="BE"
name="myclient" value="300"
name="myuser" value="XYZCLNT"
name="mypass" value="xiuser"
Here My system is the Business service created in Integration directory of XI, Interface is the one created in Integration Repository (This is Outbaound from external sys to XI)
In XI U have to create
Data Types : 1) Source Structure data type(from extenal sys)
2) Target structure (where u want to send from XI)
Message Types : 2 with above DT's
Message Interface: 1) Outbound, Async (Order_out)
2) Inbound , Async (for the target sys)
Then Message mapping and Interface mapping as usual..
And in ID u have to create 2 services one is XY_BSservice for sending system and the other is for receiving system...
For sending system no communication channel required...
Hope u will get idea from the above..
Need any further u r welcome..
Regards
Sridhar -
Plain HTTP Adapter (XML return without namespace)
Hello Experts,
I'm very new at XI.
I'm using XI 7.0 SP9.
I wanna make interface with public website using plain HTTP adapter.
The receiver url is
http://openapi.naver.com/search?key=cdb64b1f218b55acbb73105b3b6f68a9&query=news&target=rank
It returns XML like
<?xml version="1.0" encoding="UTF-8" ?>
<result>
<item>
<R1>
<K>CHOICE</K>
<S>new</S>
<V>0</V>
</R1>
</item>
</result>
How I can specify namespace and root document type ?
I learned that I can specify namespace and root document type in JDBC communication channel.
In plain HTTP, Is there any possibility to specify namespace like JDBC?Ji,
look at this it will help u.
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
/people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom
Sreeram Reddy -
Hi guys,
I use receiver plain HTTP adapter for sending SOAP request. Followinf parameters have tu be entred:
Addressing Type: URL Address
Target Host: <host>
Service Number: <port>
Path Prefix: <path>
Then final address is generated:
http://<host>:<port>/<path>
It's working fine if I use http protocol.
Now I need to send SOAP request to address https://<host>/<path>. I don't know number of port where SSL communication's running.
Is it possible to enforce using of https protocol instead of http? Is it possible to enter empty port number? Or do you have any other idea how to pass around this problem?
Thank you in advance for every advice!
Regards
Zbynek>>Is it possible to enforce using of https protocol instead of http?
Instead of using URL Addressing option, you need to start using HTTP Destination option. An RFC destination type G should then be created where the similar details of hostname and path should be provided.
>Is it possible to enter empty port number?
Yes it could be empty, but you need to confirm it from the receiver party that would they be able to receive https request or not if no port is provided. This would depend upon the type of implementation they have at their end.
Regards,
Prateek -
Using plain http adapter using (SIN)---Most urgent please help me
Hi Experts,
all we need to do is call the pipeline directly using plain http adapter using (SIN) and get the output from the pipeline to the local file folders. This can help developers to verify the interfaces that have been migrated to XI , to compare the out put results generated in XI with the original output captured using existing middle ware solutions.
Could anyone help me out this UrgentHi Experts,
all we need to do is call the pipeline directly using plain http adapter using (SIN) and get the output from the pipeline to the local file folders. This can help developers to verify the interfaces that have been migrated to XI , to compare the out put results generated in XI with the original output captured using existing middle ware solutions.
Could anyone help me out this Urgent -
Hello all!
I have a following scenario: IDoc ORDERS05 -> IDoc adapter -> XI -> Plain HTTP adapter -> receiver system.
The error arise when HTTP adapter being called.
<!-- Call Adapter -->
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
<SAP:P1>500</SAP:P1>
<SAP:P2>Internal Server Error</SAP:P2>
<SAP:P3>Internal Server Error</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Http server code 500 reason Internal Server Error explanation Internal Server Error</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Furthermore, there are two tags "Call Adapter" in XML message (transaction SXMB_MONI).
Please tell me how to solve this problem.
Thanks
AlexanderHi Seth.
Thanks for your reply.
Unfortunately, your thread didn't help me.
Let me to explain the problem more detail.
The error occurs on outbound channel when Integration Engine is calling the plain HTTP adapter. I think so because no messages appear in Adapter Engine (For check it I use Message Display Tool).
And what is more the error code changed. It is 404 now:
<!-- Call Adapter -->
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
<SAP:P1>404</SAP:P1>
<SAP:P2>Not Found</SAP:P2>
<SAP:P3>File not found</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Http server code 404 reason Not Found explanation File not found</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Regards,
Alexander -
Problem with JCA compliant adapter in XI
Hi
I have problem with JCA compliant adapter in XI (SP15).
Adapter works in PCK but doesn't work in XI (periodically).
Sometimes messages delivered with successful status but
very often after send message i have following message in
Message Display Tool (Detail Display):
Engine All
Status System Error
Repeatable Yes
Cancelable Yes
Start 29.03.2006 17:26:57
End 29.03.2006 17:26:57
Quality of Service Exactly Once
Error Category XICACHE
Error Code COMMUNICATIONIncrease the trace level of AFW components to "info" with the Log Configurator J2EE service using VisualAdmin.
When the error happens again, crawl into the most recent DefaultTrace, either by opening the file or by using the more confortable NetWeaver Administrator log viewer (defaulttrace), reachable via browser at http://xiboxhostname:5<sysnr>00/nwa
Good luck.
Alex -
How to pass the SIN using a plain http adapter in sender side.
Hi all,
How to pass the SIN(System Identification Number) using a plain http adapter in sender side.
Regards,
Venu.You can set it in a specific HTTP header (as explained here : http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm) ...
Rgds
Chris -
"Performance" problems with the File adapter on Plain J2SE Adapter Engine
Hi,
At the moment I'm on a customer side to solve some XI issues for a few days. One of the issues is the performance of the Plain J2SE Adapter Engine, using the file adapter to transfer XML messages(already XI message format) from the legacy system to the Integration Engine. The File adapter has to deal with "large" XML messages(max at the moment is 65 Mb) and the engine fails with the following error when transferring the big XML file: "ERROR: Finished sending to Integration Engine with error "java.lang.OutOfMemoryError". Skip confirmation and quit this loop".
As far I got the information from the customer the memory use of the Plain adapter engine is set to 512Mb. This is maybe to low. But I don't know where to look for this, I only have the adapter web interface in front of me, no access to the OS it self via for example remote connection.
On the Integration Engine I know there is the ability to split large message with the file adapter(File Content Conversion), but I don't know this for the Plain Adapter Engine. Is there a possibility to do this also on the Plain Adapter Engine?
Thanks in advance for any input.
Greetings,
PatrickHi Sameer,
Thanks for your answers.
On the first solution, yes that is possible, we first decided to see if the legacy system can do the splitting, before starting developing a Java program.
On the second solution, as far as I know is this solution possible on the Integration Engine. But we are facing the problems on the Plain J2SE Adapter Engine. I went trough that documentation(link:
http://help.sap.com/saphelp_nw04/helpdata/en/6f/246b3de666930fe10000000a114084/frameset.htm ), to look for I similiar solution in the Plain Adapter Engine. So my question is, is this possible with the Plain Adapter? And if so, what kind of parameters I need to use to achieve this.
Regards,
Patrick -
Problems with sender mail adapter
Hi XI Gurus
We have gone through a lot of blogs and searched a lot on the XI forum on how to configure the sender mail adapter with attachments but we still can't get it working at our site. Here are the issues -
1. When we define our data type in the IR as let's say out_email_dt with namespace "http://www.xyz.com" the mapping fails. In the monitor(SXMB_MONI) the message from the sender mail adapter comes in like this -
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
<xim:Mail xmlns:xim="http://sap.com/xi/XI/Mail/30" encoding="quoted-printable">
<Subject>test 10</Subject>
<From>"Test User" <[email protected]></From>
<To>"XI Test Account" <[email protected]></To>
<Content_Type>text/plain;charset="us-ascii"</Content_Type>
<Date>2007-05-08T05:34:38Z</Date>
<Message_ID><[email protected]></Message_ID>
<Content>This is the voice of the Mysterons=0A</Content>
</xim:Mail>
Question 1 - do we have to define our data type as "Mail" under the namespace "http://sap.com/xi/XI/Mail/30".
Question 2 - If you look at the content of the <From>,<To>,<Message_ID> tags you will see that there is content with <> tags which is causing the message mapping to fail. Is there a way of telling XI that they are not xml tags but part of some other tags?
2. Also the PayloadSwapBean doesn't seem to swap the payload to be the attachment.
3. Can we use masks in the PayloadSwapBean for attachment names like "." as we don't know what the file name is going to be as we have multiple partners who will be sending emails to the same address and with different file formats.
Thanks in advance.
SalilHi,
>>>>Question 1 - do we have to define our data type as "Mail" under the namespace "http://sap.com/xi/XI/Mail/30".
do exactly as shown in my blog:
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
>>>>2. Also the PayloadSwapBean doesn't seem to swap the payload to be the attachment.
do similarly as shown in my blog:
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
the everything will work
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Problem with SOAP receiver adapter? Please help!
Hi experts
I have the following scenario:
SAP R/3 -ABAP Proxy>XI--->SOAP --webservice
As you can see, I am sending data from R/3 system to XI via ABAP proxy. XI then sends data or calls a webservice via SOAP adapter.
When I test this scenario I am getting a error in the sxmb_moni that is,
"com.sap.aii.af.ra.ms.api.DeliveryException: TEXT/HTML; HTTP 504 Gateway Time-out"
I have checked the webservice url and it is working fine.
Can somebody tell me why am I getting this error message? How do I resolve this?
Thanks
GopalHi,
Can you please check the settings in Soap Adapter with Module Adapter setting with ModuleTranformBean parameters? There may be some problem. use HTTP Adapter and the message type 'HttpPostIn' to send as HTTP Post.
Also
There is the note 450226 gives an overview over error codes
Probably below solution may help you.........
As an administrator on your portal go to:
System Configuration > Service Configuration >applications
Under: com.sap.portal.ivs.httpservice > Services > Proxy
If any proxy settings are configured you may end up with the problem, so you need to set the "nonProxyHosts" to include the trex host.
regards
Aashish Sinha
PS : reward points if helpful
Maybe you are looking for
-
I got the yahoo into the mailto: but everything is in the To: part of the email. For example the to: has "mailto:[email protected]?subject=xxxxxxxx (city)" I cant figure that out. Any ideas? Thanks!
-
Hi folks When using the CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG or WS_FILENAME_GET we some times have the server path returned. And sometimes the drive letter returned. See two examples: 1: \\blrx1\os390out\id1\test.txt 2: R:\os390out\id1\test.txt
-
In which table to check whether Business Location exists in VKORG, VTWEG ?
It is not OIFPBL - business location can exist, but no entry in this table. kind regards, KB.
-
IMac v2 vs G5 desktop...the debate
I'm in the buying process, and I'm torn. Maybe you can help. The 2 Ghz iMac looks really outstanding, but I do an awful lot of multitasking. I want to burn DVDs, browse the web, and have a torrent going at the same time. (With my maxed-out B&W, one o
-
Hi, I am trying to convert (export) an EPS image to SVG programmatically as follows, I am having difficulty in converting white areas on the image to transparency; could someone guide me what would be the solution please? Dim illusapp = New Illustra