CIDX Adapter
Are there any security or integration challenges with using the CIDX adapter (with content) to post messages from my client directly to a trading partner or receive messages from my trading partner through my web server located in my DMZ prior to being sent back to XI within my internal firewall? I am assuming it should operate similar to any other B2B interface security requirements I would be using. Is this correct?
Hello Jurgen,
I'm Alex a collegue of flavio; we upgrade our XI 3.0 with SP11 and succesfully implement CIDX order create scenario.
We have problem with Order response scenario
could we ask you some questions?
What is standard URL for CIDX adapter?
How you configure J2EE - Visual Administrator for enable https?
Do you know this error when our partner try to send us a message?
http 500 internal server error?
thank you for your help
Similar Messages
-
Issues with XI 3.0 CIDX Adapter
Hi folks,
We are doing an XI pilot project to replace our current SAP BC B2B environment which is using CIDX and RNIF 1.1 to exchange B2B information ( we build our own custom RNIF adapter on top of SAP BC ).
We have succesfully sent a message from XI towards our SAP BC ( temporarely used as our surrogate trade partners) using the CIDX adapter ( RNIF was okay and service-content extracted fine ).
The other way is giving us problems ... When we sent a CIDX RNIF message from SAP BC towards XI then we get the following nice dump message:
com.sap.aii.af.ra.ms.impl.core.transport.http.MessagingServlet#sap.com/com.sap.aii.af.ms.app#com.sap.aii.af.ra.ms.impl.core.transport.http.MessagingServlet.doPost(HttpServletRequest, HttpServletResponse)#SDESAEGE#690##BEEVAXIT_XIT_9961950#Guest#108fc370f2e511d9a790001143e3179b#SAPEngine_Application_Thread[impl:3]_13##0#0#Warning##Java###Catching #1#java.lang.NullPointerException at com.sap.aii.af.sdk.cidx.impl.choreography.typing.CIDXTypeResolver$CIDXTypeDetector.findTypeFromMsgDetails(CIDXTypeResolver.java:170) at com.sap.aii.af.sdk.cidx.impl.choreography.typing.CIDXTypeResolver.ResolveType(CIDXTypeResolver.java:94) at ....
The strange thing here is that first I got an error because the from partner DUNS number was not recognised within the integration directory - this was correct as the partner did not exist yet.
After fixing that I got the mentioned error.
BUT if I put in a wrong DUNS number again then I still get the same error and not the previous one ...
We thought it was a cache problem so we cleared caches, restarted the J2EE instance but nothing helped ...
Anyone any ideas ?
Thanks,
StevenHi folks,
We are doing an XI pilot project to replace our current SAP BC B2B environment which is using CIDX and RNIF 1.1 to exchange B2B information ( we build our own custom RNIF adapter on top of SAP BC ).
We have succesfully sent a message from XI towards our SAP BC ( temporarely used as our surrogate trade partners) using the CIDX adapter ( RNIF was okay and service-content extracted fine ).
The other way is giving us problems ... When we sent a CIDX RNIF message from SAP BC towards XI then we get the following nice dump message:
com.sap.aii.af.ra.ms.impl.core.transport.http.MessagingServlet#sap.com/com.sap.aii.af.ms.app#com.sap.aii.af.ra.ms.impl.core.transport.http.MessagingServlet.doPost(HttpServletRequest, HttpServletResponse)#SDESAEGE#690##BEEVAXIT_XIT_9961950#Guest#108fc370f2e511d9a790001143e3179b#SAPEngine_Application_Thread[impl:3]_13##0#0#Warning##Java###Catching #1#java.lang.NullPointerException at com.sap.aii.af.sdk.cidx.impl.choreography.typing.CIDXTypeResolver$CIDXTypeDetector.findTypeFromMsgDetails(CIDXTypeResolver.java:170) at com.sap.aii.af.sdk.cidx.impl.choreography.typing.CIDXTypeResolver.ResolveType(CIDXTypeResolver.java:94) at ....
The strange thing here is that first I got an error because the from partner DUNS number was not recognised within the integration directory - this was correct as the partner did not exist yet.
After fixing that I got the mentioned error.
BUT if I put in a wrong DUNS number again then I still get the same error and not the previous one ...
We thought it was a cache problem so we cleared caches, restarted the J2EE instance but nothing helped ...
Anyone any ideas ?
Thanks,
Steven -
Response message from CIDX Adapter to IDOC Adapter
Hi Experts,
I have created scenario for "SAP IDOC - PI - CIDX" (OrderCreate_Request)
and also need to create respose message for "CIDX - PI - SAP IDOC(OrderCreate_Response)
Integration Repoistery
"SAP IDOC - PI - CIDX"
1,Imported idoc metadata from sender sap r3 .
2,Created External Definition and imported OrderCreateV202.xsd from receiver party.
3, Done message mapping
4, Done Interface Mapping
Integration Directory
Under PO_Create(Scenario Name)
1,Assigned Business System for Sender SAP R3
2, Configured Party For receiver Sytem (CIDX)
3, No need Communication Channel for Sender IDOC
4, Configured Communication Channel for receiver(CIDX Adapter)
5, No need ender Aggrement for Sender
6, Configured Receiver Determination
7, Configured Interface Determination
8, Configured Receiver Aggrement.
My Questions are
1,do i need to create new namespace for response msg
2,This scenario,sender is 3rd part(cidx) and receiver is sap r3
3,Do i need to create again all steps in Integration Repoiestry.
4,Can you send me Wat are all the steps involved in integration directory.
(ex.ineed to config comm. channel for both)
Can anybody help me out?
ThanksSender QoS is BE,
File adapter does not support sync communication. Therefore the scenario won't work as it is.
What are you planning to do with the response? If you want to process is further, then:
1. One way without BPM would be use of adapter module.
File - RFC - File without a BPM - Possible from SP 19.
2. Or you may use BPM with Async Sync bridge
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
Regards,
Prateek -
BPM patterns for using CIDX adapter
Hi,
I am trying to implement the below requirement and am having problems doing that. Any help or pointers would be appreciated.
Requirement:
We need to send an order create message from file system A to
Elemica(using CIDX adapter) asynchronously and capture the RA back and
convert it into a message and send it to a file system B.
I tried the below scenarios already and could not maker it work:
<b>Scenario 1</b>: I tried creating a scenario using Sync- Async bridge, but
it did not work as I need to send some response back to the File system
A. In this case I do not have any response to send.
I created an external definition for RA and used it for mapping to the
File system B interface.
CIDX adapter is not accepting any messages if we try to send
synchronously.
<b>Scenario 2</b>: I could not make my scenario work if I am trying to create
in my SWCV. So, I created all my abstract
interfaces for my business process in the CIDX SWCV. Now I created
Async Sync scenario by sending a synchronous order create request to
Elemica. It did not work as CIDX adapter does not support any
synchronous messages( guessing).
Apart from the above questions, I have few additional questions:
1. Can we send synchronous messages to Elemica through CIDX
adapter? If so, how do we configure our communication channel as
only Asynchronous option is available.
2. If we have File-Elemica-File scenario, how do we configure the
scenario?
3. Are there any blogs having scenarios with BPM involving CIDX
adapter? If so, pls send a link.
Thanks in Advance,
GPHi
Try this
check the following link for information on configuring CIDX Adapter http://help.sap.com/saphelp_nw04/helpdata/en/29/cb22419e2ab167e10000000a155106/plain.htm
And on specifically on Single-Action responder directly on http://help.sap.com/saphelp_nw04/helpdata/en/0a/cb23412546ef6fe10000000a1550b0/content.htm
Thanks -
Info about CIDX adapter with a scenario
Hi all,
Can any one help me out by giving ino about *CIDX* adapter: Where its used and how its used with an example scenario
In a nutshell complete info about CIDX
I would be very gartefull
Thanx in advanceHi Prabhakar,
CIDX Adapter is Chemical Industry standard for data exchange in B2B scenarios. It uses XML formatted in different manner specific to Chemical industry.
In order to use this, you need to purchase the license.
There are xml schemas provided by CIDX for each transaction like Order Create, Order change, shipping instruction etc..
You need to download the once which are required in your scenario and use the same.
For overview of CIDX in general you can visit http://www.cidx.org -
Receive XML file from CIDX adapter and Post to SAP as IDoc using XI
I have scenario where we will receive the xml file from CIDX adapter. I need to take the xml from CIDX, do the Database Lookup and post it to SAP as IDoc.
Any technical documentaion or step-by-step process documents can be very helpfull to me, since I am new to XI
Thanks
SPLookup in XI is used to call the target data storage system and get data from there to your mapping programme.
In XI you can do Lookup in Message Mapping, Java Mapping and in XSLT Mapping. Previously Lookup in XI was system dependent. But now what ever the system are i.e. SAP system or non-sap system(Oracle,MS SQL etc) lookup API are same.
Overview of Lookup
- Lookups are used to identify/request the data from mapping program.
- It interrupt the process and looking for data which was stored in target system.
- It get that data and comeback to process and continue with that data.
Types of Lookups in XI
- JDBC Lookup: JDBC lookup is used for accessing data from database (non SAP).
- RFC Lookup: RFC lookup is used for accessing the SAP Data.
- SOAP Lookup: SOAP lookup is used for accessing data from Webservice
Steps to perform Lookup in Mapping
Import package com.sap.aii.mapping.lookup.*;
Create connection to the target Database system.
// Determine communication channel created in ID
Channel channel = null;
channel = LookupService.getChannel("DB-SYSTEM-NAME","DB-CHANNEL-NAME");
// Get system accessor for the channel.
DataBaseAccessor accessor = null;
accessor = LookupService.getDataBaseAccessor(channel);
Build the Query String.
Getting Result
// Execute Query and get the values.
DataBaseResult resultSet = null;
resultSet = accessor.execute(Query); -
CIDX Adapter - cannot even handle normal XML files
Hi folks,
We are very busy with getting the CIDX adapter up and running and we found out something which I simply cannot understand or believe ...
It seems that the CIDX adapter is NOT capable of dealing with any XML content that is laid out over multiple lines ... it doesn't even likes spaces between tags ... your XML content needs to be on 1 line ...
simply unbelievable ...
If you do provide an XML message on multiple lines then the thing crashes ...
We are exchanging XML messages for years now with partners all over the world but I haven't seen anybody exchanging XML content on 1 line ...
When the adapter generates a message then the 3 XML messages within the CIDX enveloppe are indeed all on 1 line ... Very helpfull and readable when you are looking at your message log files ...
Seriously ... this has to be a joke right ?
StevenHi Bhagyesh,
You are right ... the CIDX adapter does not seem to have a multi-line issue ...
Well it obviously did with my content but I suspect something went wrong in my copy-paste action.
I used a production message from Elemecia and extracted the 3 payloads but somehow I got non-visible non-allowed characters in my xml message.
I retried again with another payload and that worked fine ( as far as this issue concerns - I got an even more interesting issue but that is not in topic of this post )
So to make it clear - multi-line are supported by the CIDX adapter ... no issue here ...
Only the message logging is terrible ...
Bye,
Steven -
CIDX adapter !DOCTYPE - addition for Preamble and ServiceHeader
We are using the CIDX adapter in PI 7.1 for sending the OrderCreate 4.0 message to a partner.
When the partner received a first message they had the following remark:
We are not sending the reference to the DTD for Preamble and ServiceHeader part:
Partner expects:
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE Preamble SYSTEM "PreamblePartMessageGuideline.dtd">
<Preamble><DateTimeStamp>20090724T064154.122Z</DateTimeStamp><GlobalAdministeringAuthorityCode>CIDX</GlobalAdministeringAuthorityCode><GlobalUsageCode>Test</GlobalUsageCode><VersionIdentifier>1.1</VersionIdentifier></Preamble>
We are sending:
<?xml version="1.0" encoding="UTF-8"?>
<Preamble><DateTimeStamp>20090724T064154.122Z</DateTimeStamp><GlobalAdministeringAuthorityCode>CIDX</GlobalAdministeringAuthorityCode><GlobalUsageCode>Test</GlobalUsageCode><VersionIdentifier>1.1</VersionIdentifier></Preamble>
My questions:
Is this really part of the CIDX standard, or can then be left out?
Is there something that I forgot to set up?
Any way I can get it in?
Thanks
Thierry BoeveHi Satish
I don't have a schema for this, it's all handled by the CIDX adapter.
The OrderCreate message is the only part that I can handle myself, all the enveloping is standard.
The problem is with the Preamble and Service header.
Content-Type:application/x-rosettanet-agent
&ÏMessage-ID: <490755631.141248417714315.JavaMail.pxdadmbeevssd2.int.huntsman.com>
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_Part_688_1226761625.1248417714232";
type="Application/x-ChemXML"
Content-Description: This is the RosettaNet Business Message
------=_Part_688_1226761625.1248417714232
Content-Type: Application/XML; RNSubType="preamble-header"
Content-Transfer-Encoding: binary
Content-ID: preamble-header.1362cb80781d11deb638001125bd0fd4sap.com
<?xml version="1.0" encoding="UTF-8"?><Preamble><DateTimeStamp>20090724T064154.122Z</DateTimeStamp><GlobalAdministeringAuthorityCode>CIDX</GlobalAdministeringAuthorityCode><GlobalUsageCode>Test</GlobalUsageCode><VersionIdentifier>1.1</VersionIdentifier></Preamble>
------=_Part_688_1226761625.1248417714232
Content-Type: Application/XML; RNSubType="service-header"
Content-Transfer-Encoding: binary
Content-ID: service-header.13656390781d11de8dd6001125bd0fd4sap.com
<?xml version="1.0" encoding="UTF-8"?><ServiceHeader><ProcessControl><ProcessIdentity><GlobalProcessCode>OrderCreate</GlobalProcessCode><GlobalProcessIndicatorCode>E41</GlobalProcessIndicatorCode><initiatingPartner><GlobalBusinessIdentifier>405338377</GlobalBusinessIdentifier></initiatingPartner><InstanceIdentifier>1312afb0781d11de86e9001125bd0fd4</InstanceIdentifier><VersionIdentifier>4.0</VersionIdentifier></ProcessIdentity><ServiceRoute><fromService><BusinessServiceDescription><GlobalBusinessServiceCode>Buyer Service</GlobalBusinessServiceCode></BusinessServiceDescription></fromService><toService><BusinessServiceDescription><GlobalBusinessServiceCode>Seller Service</GlobalBusinessServiceCode></BusinessServiceDescription></toService></ServiceRoute><TransactionControl><AttemptCount>1</AttemptCount><PartnerRoleRoute><fromRole><PartnerRoleDescription><GlobalPartnerRoleClassificationCode>Buyer</GlobalPartnerRoleClassificationCode></PartnerRoleDescription></fromRole><toRole><PartnerRoleDescription><GlobalPartnerRoleClassificationCode>Seller</GlobalPartnerRoleClassificationCode></PartnerRoleDescription></toRole></PartnerRoleRoute><TransactionIdentity><GlobalTransactionCode>OrderCreate</GlobalTransactionCode><InstanceIdentifier>1312afb0781d11de86e9001125bd0fd4</InstanceIdentifier></TransactionIdentity><ActionControl><ActionIdentity><GlobalBusinessActionCode>OrderCreate</GlobalBusinessActionCode><InstanceIdentifier>1347f080781d11de8d5b001125bd0fd4</InstanceIdentifier><VersionIdentifier>4.0</VersionIdentifier></ActionIdentity><GlobalDocumentFunctionCode>Request</GlobalDocumentFunctionCode><PartnerRoute><fromPartner><PartnerDescription><BusinessDescription><GlobalBusinessIdentifier>405338377</GlobalBusinessIdentifier></BusinessDescription><GlobalPartnerClassificationCode>Buyer</GlobalPartnerClassificationCode></PartnerDescription></fromPartner><toPartner><PartnerDescription><BusinessDescription><GlobalBusinessIdentifier>387453178</GlobalBusinessIdentifier></BusinessDescription><GlobalPartnerClassificationCode>Seller</GlobalPartnerClassificationCode></PartnerDescription></toPartner></PartnerRoute><PerformanceControlRequest><timeToAcknowledgeReceipt><TimeDuration>00000003T000000.000Z</TimeDuration></timeToAcknowledgeReceipt></PerformanceControlRequest></ActionControl></TransactionControl></ProcessControl></ServiceHeader>
------=_Part_688_1226761625.1248417714232
Content-Type: Application/XML; RNSubType="service-content"
Content-Transfer-Encoding: binary
Content-ID: service-content.1367fba0781d11deac08001125bd0fd4sap.com
<?xml version="1.0" encoding="utf-8"?>
<OrderCreate Version="4.0">
<Header>
<ThisDocumentIdentifier>
<DocumentIdentifier>4A65D83286B800B8E1008000CDEB6913</DocumentIdentifier>
</ThisDocumentIdentifier>
<ThisDocumentDateTime>
<DateTime DateTimeQualifier="On">2009-07-24T06:41:42Z</DateTime>
</ThisDocumentDateTime>
</OrderCreateBody>
</OrderCreate>
------=_Part_688_1226761625.1248417714232--
Edited by: Thierry Boeve on Aug 3, 2009 9:55 AM -
When I am configuring CIDX reciever CC, which URL I should fill? Should I need to create a web site to let external partner to post the cidx message into the web server and then let cidx adapter to pull the cidx message from that server?
Can any one explain the detail steps cidx adapter work?
Many thanks.hi ,
These links would help you
http://help.sap.com/saphelp_nw2004s/helpdata/en/9e/e123410046d349e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/29/cb22419e2ab167e10000000a155106/plain.htm
http://help.sap.com/saphelp_nw04/helpdata/en/0a/cb23412546ef6fe10000000a1550b0/content.htm
Regards
Ramesh P -
CIDX Adapter and Custom Modules
Dear,
We were wondering whether the PI CIDX sender adapter supports the usage
of custom modules ?
We have created a small module which basicaly simply logs a message in
the audit log ... that module works fine with the file adapter ...
When we send a CIDX message from an external system towards PI via the
CIDX adapter then nothing happens ... Traces do not seem to contain any
reference at all towards the module ... It just seems that the module is never called ...
Looking at the adapters/module documentation it somewhere mentions briefly that adapters can choose on whether to implement the standard module chain processor or basicaly do something else ...
Does anyone know whether the CIDX adapter supports the usage of custom modules ?
Thanks,
StevenAdapter modules cannot be used in CIDX or RNIF sender adapters.
Regards
Stefan
Edited by: Stefan Grube on Jun 24, 2008 3:15 PM -
CIDX Adapter Applying Certificates
Essentially I have imported the certificate we need to use with the CIDX adapter for connecting to elemica, but when I select the keystore on a separate java instance (DAE, decentralized adapter engine) I cannot see it? Does anyone have any insight as to how to make this happen. My initial thought was security but it appears correct. Do I have to install the same certificate again on the DAE?
Dear Kirk,
do you made a successful connection to Elemica already ?
We want to establish a connection with Elemica with XI via CIDX adapter, too, but we are facing some issues.
Are you able to answer some questions, if this is allowed ?
Regarding the field 'TimeDuration' in the ReceiptAcknowlegment message in Service Header:
PerformanceControlRequest>
<timeToAcknowledgeReceipt>
<TimeDuration>7200000</TimeDuration>
</timeToAcknowledgeReceipt>
</PerformanceControlRequest>
This field has not the right format following CIDX standard. 00000000T000000 [d(8)Td(6)] is the right format.
Was this an issue for you ?
Thanks in advance.
Holger Baumann -
Reg: CIDX Adapter and Scenario
Hi! Gurus,
I need one help from you. Here I got a task that I need to work on CIDX Adapter using PI.7.1 Server and also on CIDX Enhancements. But really I donu2019t have any idea regarding CIDX except that it was an Industry speaking scenario for chemical industries. I searched in SDN and some other links but I didnu2019t found any exact document based on that topic.
Kindly provide any document regarding CIDX Adapter and also if possible any documentation that is having regarding the design and configuration steps on CIDX Scenario so that I will appreciate you if you do this help.
Regards:
Amar Srinivas Elihi Amar,
you didn't search a lot did you?
Chem XML Message eStandards and CIDX Scenario u2013 Part I
Chem XML Message eStandards and CIDX Scenario Part I
Chem XML Message eStandards and CIDX Scenario u2013 Part II
Chem XML Message eStandards and CIDX Scenario development Part II
Regards,
Michal Krawczyk -
First scenario using CIDX adapter
Dear Friends,
I am new to CIDX adapter scenarios.
my scenario is transferring the Bank payment details to target system using b2b.
please tell me how to do this scenario.
Regards,
Shalini Shah.Hi,
Check these
Chem XML Message eStandards and CIDX Scenario development Part II
http://help.sap.com/saphelp_nw04s/helpdata/en/9e/e123410046d349e10000000a1550b0/frameset.htm
Regards
Seshagiri -
Hi mates,
Is the name of sender CIDX adapter constructed at runtime according to the template <Partner Role>_<direction>_<Action> or is it just the naming convention for the adapter?
I understand from <a href="http://help.sap.com/saphelp_nw04/helpdata/en/a8/502041cfb7f423e10000000a155106/content.htm">Creating a Service</a> that service name is constructed at runtime according the conventione specified there.
My question is it same for adapter name as well?
If not which sender adapter and in turn which sender agrement is used at runtime? How is it determined?
I appreciate your inputs.
thx in adv
praveen<i>>>>If I want to conifure receiver-dependent receiver determination, I understnad that I've to select Sender Uses Virtual Receiver check box and specify the receiver party and receiver service.</i>
Yes. But then in your receiver determination, you still configure the non-virtural business system that represents the receiver in your landscape - e.g. an R/3 system.
<i>>>>Should I be informing about these names: receiver party & receiver service to the Elemeica COP?</i>
Let me or someone else get back to you on that...
<i>>>>How are the virtual receiver party & service are handled at runtime? Are these derived from service header?</i>
The virtual receiver party and service gives you the option, as mentioned above, to configure the non-virtual receiver so that at runtime, the message gets routed to this receiver.
Regards,
Jin -
CIDX Adapter: HTTPS communication with certificates- Send of message failed
Hi,
As per a requirement, I have configured CIDX Receiver adapter so as to send a message to a URL. But unable to send a message and in the audit log of message monitoring it has run into error as given below:
<i>Error during collaboration agreement facade processing -
Party configuration for Party=EDI_XML_Test, PartySchema=DUNS, PartyAgency=016 not found -
normalising the initiating party-id failed : Party configuration for Party=EDI_XML_Test, PartySchema=DUNS, PartyAgency=016 not found</i>
For your information:
1. I have got certificates loaded into the environment.
2. When I use a different adapter like file adapter, for the same configuration, I am able to send the message to the destination.
Let me know anything I am missing.
Regards,
VijayHi,
For additional information, I got more in audit log of monitoring as given below:
<i>Delivering to channel: CC_CIDX_Receiver
Error during collaboration agreement facade processing -
Party configuration for Party=EDI_XML_Odyssey, PartySchema=DUNS, PartyAgency=016 not found -
normalising the initiating party-id failed : Party configuration for Party=EDI_XML_Odyssey, PartySchema=DUNS, PartyAgency=016 not found
Exception caught by adapter framework: Error during collaboration agreement facade processing
Delivery of the message to the application using connection AFW failed, due to: Error during collaboration agreement facade processing.</i>
If anybody knows, let me know how to resolve this issue.
Thanks & Regards,
Vijay
Maybe you are looking for
-
I got a Zire 22 from a yard sale and it didn't have the software with it ,what and where do I download it from? Post relates to: Palm Z22
-
So, im on a macbook and when i open a page on safari and i scroll down, the page jumps back to the top. I have to continue scrolling down to the exact spot multiple times after it jumping back to the top before it will let me continue scrolling down
-
How to get the day value from the current time?
Hi, I like to write a program that prints out the current time in the formate as "Thu May 3 07:57:02 PDT 2002". Then I want to get the day, time, year and month value out and do some manipulation. I know to format the current time, I can use SimpleDa
-
Hi there, I forgot the SDM password, how do I re-set SDM password? this is in UNIX Sun Solaris? Can you someone please? Kumar
-
Running a command from local zone in global zone
hi, Does anyone have a document on how I can tunnel into the global zone, run a command and receive the return value in the global zone? I am sure that there should be a mechanism for that but couldn't find any. Thanks, Babak