As2 Adapter Parser error
Hi
I am trying to send data from Rfc to As2 .In the As2 adapter i am getting the below error while
parsing
MP: exception caught with cause com.sap.aii.converter.x12.xml2x12.XML2X12Exception: XML-Parser error occured while parsing: Cannot process close tag S_GS: while trying to invoke the method java.lang.String.trim() of a null object loaded from field com.sap.aii.converter.x12.xml2x12.handler.XML2X12Handler.interchangeSender of an object loaded from local variable 'this'
Error
Exception caught by adapter framework: XML-Parser error occured while parsing: Cannot process close tag S_GS: while trying to invoke the method java.lang.String.trim() of a null object loaded from field com.sap.aii.converter.x12.xml2x12.handler.XML2X12Handler.interchangeSender of an object loaded from local variable 'this'
Error
Transmitting the message to endpoint <local> using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.converter.x12.xml2x12.XML2X12Exception: XML-Parser error occured while parsing: Cannot process close tag S_GS: while trying to invoke the method java.lang.String.trim() of a null object loaded from field com.sap.aii.converter.x12.xml2x12.handler.XML2X12Handler.interchangeSender of an object loaded from local variable 'this'
I have attached the screen shot of the mapping the module i have used
Thanks
Jai
Hi,
I think you want to take the advice from Harish. The most likely cause is that the converter module is expecting the XML tag S_GS and it does not exist.
Regards,
Ryan Crosby
Similar Messages
-
Hello,
I have got an error in AS2 adapter.
Error message is as shown below :
Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: org.apache.commons.httpclient.ProtocolException: Unbuffered entity enclosing request can not be repeated. # , SEEBURGER AS2: org.apache.commons.httpclient.ProtocolException: Unbuffered entity enclosing request can not be repeated. #
we are struggling for this error for quite few days.
Can anyone help me out what we can check in this ?? what could be a possible cause for same??
Thanks a lot in adavance !!!
Regards,
VikrantHi Vikrant
Just have alook at this thread may get some clue ..
Seeburger AS2 Adapter sending message error
Re: Error in AS2 RCV adapter.. SEEBURGER AS2: 307 Temporary Redirect #
Regrds
Abhishek -
AS2 Adapter Error: Error while parsing AS2 message: AUTHENTICATION_ERROR #
Hi,
Following Scenario: Inbound.
i have been receiving messages via Seeburger AS2 Adapter with the following Error message
Error while parsing AS2 message: AUTHENTICATION_ERROR #
I have done the following in the AS2 adapter as per findings in the forum
1. Unchecked the Authentication Required Flag.
2. AS2 Certificates are fine.
3. Use Authentication: Disabled (there is no authentication)
even though every thing seems to be fine i am not able to receive messages successfully. Please let me know what could have gone wrong here.Hi Venkatesh,
>> Everything is provided in the Sender Agreement. Partners Certificate, Self Encryption & Signing certificate
How come you are using encryption when you are receiving the message. I think it might be decryption.
1. Anyway please cross check whether you provide the following correct details in Sender agreement.
Sender Configuration
Authentication Certificate : Partner's public certificate.
AS2 Receiver Configuration
Decryption Key : Own private key.
Signing Key : Own private key.
2. Can you please check and tell in the Seeburger Monitoring for the incoming message, whether they are sending the message with encryption and signing? This you can check in the Seeburger Monitoring. -
Hi Expert,
I have configured sender AS2 adapter as per the sap guide. and share our url and AS2 name.Now when the partner is trying to send the file from their side they are gettting the following error message and in SAP PO we have not received any file via AS2 sender adapter.
We have checked the fire walls and its working fine.
2014.04.09
01:15:03:128 0326030999 PHDR OK HTTP Response-Line = (HTTP/1.1 302 Found)
2014.04.09 01:15:03:128
0326030999 PHDR ERR Trading Partner rejected the transaction
2014.04.09 01:15:03:128 0326030999 HPOS ERR Requested synchronous receipt not
returned
2014.04.09 01:15:03:128 0326030999 HPOS ERR One or more errors occurred with
this transaction. m_nErr=(2103)
Regards
KasturikaHi Harish,
I have change the as2 url from http://<host>:<port>/AS2 to http://<host>:<port>/AS2/B2B and now are partner is facing differnt error
2014.04.22
03:06:04:400 0637647174 PHDR OK HTTP Response-Line = (HTTP/1.1 401
Unauthorized)
2014.04.22 03:06:04:400 0637647174 PHDR ERR Trading
Partner rejected the transaction
I had checked with my partner to use the http authentication and share our user id and password. but they said that they are not using http authentication.
we also shared our public key certificate and import theirs in our nwa- certificates and keys .
Please share if anything more i need to configure. -
Hi AS2 experts,
*When i tried sending an xml to partner system using AS2 adapter.. Mapping is succesfull and message is failing in receiver AS2 adapter.
1. I used the following parameters in AS2 Module.
ModuleName Module Key
localejbs/Seeburger/solution/as2 solutionid
localejbs/ModuleProcessorExitBean exit
ModuleKey ParameterName ParameterValue
exit JNDIName deployedAdapters/SeeXIAS2/shareable/SeeXIAS2
Iam getting the following error.
Success MP: Processing local module localejbs/Seeburger/solution/as2
Error : MP: Exception caught with cause com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of as2.
Error : Exception caught by adapter framework: Object not found in lookup of as2.
Error : Delivery of the message to the application using connection AS2_http://seeburger.com/xi failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Object not found in lookup of as2.: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of as2..
2. When i tried by removing Modulename "localejbs/Seeburger/solution/as2"
It is showing the below error like AS2ID is missing.. but its there in party configuration.
Error :
Unable to forward message to JCA adapter. Reason: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing.., SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing..
Can anyone has idea what might be wrong.
Kindly suggest me asap.
Thank You.
Regards
Seema.Hi,
Plesae go through below links
/people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
EDI Adapter by SeeBurger
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/206e2b65-2ca8-2a10-edad-f2d1391644cb
B2B(EDI) Integration using SAP Netweaver XI and Seeburger AS2 Adapter
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00f9cdf5-d812-2a10-03b4-aff3bbf792bf
Integrating XI with SeeBurger
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6dc02f5d-0601-0010-cd9d-f4ff9a7e8c33
and
Check with below configuration
Configuration for AS2 or simple file adapter.
We are using this module configuration for converting EDI D96A format to XML:
1 localejbs/CallBicXIRaBean Local Enterprise Bean bic
2 localejbs/CallSapAdapter Local Enterprise Bean 0
bic destSourceMsg MainDocument
bic destTargetMsg MainDocument
bic logAttID ConverterLog
bic mappingName See_E2X_ORDERS_UN_D96A
bic saveSourceMsg ORIGINAL_EDI
can someone please tell me the module configuration for reverse mapping at receiver end,i.e.,XML to EDI D96A
basically,I need mapping name for this.
Scheme=AS2ID
Name = WAN network no of the partner who is sending the file
Sender AS2 adapter configuration:
Few changes in the module parameter tab.
localejbs/CallBicXIRaBean bic
CallSapAdapter 0
Module configuration:
bic= destSourceMsg = MainDocument
bic= destTargetMsg = MainDocument
bic= mappingName= See_E2X_EDIFACT_ORDERS_UN_D93A which does the conversion of EDI-XML.
Receiver AS2 adapter configuration:
When the adapter is used in a receiver channel, it obtains a message from the Integration Engine and sends it to a business partner. In this case, the following steps are required:
1. Define the channel as a Receiver channel on the Parameters tab
2. The last step ensures the module sequence is complete:
Make sure the module ModuleProcessorExitBean does exist in the module sequence:
Module Name=localejbs/ModuleProcessorExitBean
Type=L
Module Key=Exit
with the following module parameter:
Module Key=Exit
Parameter Name=JNDIName
Parameter Value=deployedAdapters/SeeXIAS2/shareable/SeeXIAS2
File receiver:
localejbs/CallBicXIRaBean bic
CallSapAdapter 0
Module configuration:
bic= destSourceMsg = MainDocument
bic= destTargetMsg = MainDocument
bic= mappingName= See_X2E_EDIFACT_ORDERS_UN_D93A
ONly the mapping program name changes from E2X to X2E. IN ur case it will be See_X2E_ORDERS_UN_D96A
Thanks
Swarup -
AS2 adapter error during inbound processing
Hello,
We have upgraded PI to version 7.1 and now we are testing the Seeburger AS2 adapter.
We have received a testmessage from an AS2 partner and it is shown in the message monitoring of the Seeburger adapter workbench, with status succesfull.
Only the message is not on the integration server. The message is not shown in sxmb_moni or the message monitor of the RWB.
In the RWB the communication channel (CC_AS2_Sender) gives the following error:
"Message inititiation failed: Processing error"
The message itself gives the following error:
"Inbound message processing failed! performing rollback
Can anyone help us with this?
Thanks in advance.
Regards,
MarcoHi Marco,
the message is not forwarded to the intergration egine because there might be an error in your communication channel.
Are there any other modules in the module chain of this communication channel?
Can you check "default_trace" and "application_log" for exceptions (/j2ee/cluster/serverXX/log)?
Did you also restart the Java Stack after the Upgrade?
regards,
Daniel
Edited by: Daniel Rexter on Jun 30, 2010 2:59 PM -
Seeburger AS2 Adapter sending message error
I have configured a FAck scenario as described by the Seeburger Manual and am testing a AS2 messaging scenario with a vendor (basically the inbound EDI message is passed to the Seeburger splitter to create a new message for the inbound order, and then the existing payload is mapped to a Funcational Acknowledgement and sent back to the vendor). I receive the message fine and the message split to create the order works fine, however when the FAck is passed to the AS2 receiver adapter (for transmission to the 3rd party) I get the following error:
LOCATION [null, null, 91fcf4f0-5223-11dd-9c8d-5cd90a641602] >> ERROR TYPE [, COMPONENT_ERROR, not retryable, not fatal]] >> DESCRIPTION [AS2 Adapter failure >> MID
MID <[email protected]22.2> already exists. - Duplicate will not be sent [LOC: com.seeburger.as2.component.AS2Client.storeMID]
Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIDeliveryException: SEEBURGER AS2: AS2 Adapter failure # MID <[email protected]22.2> already exists. - Duplicate will not be sent, SEEBURGER AS2: AS2 Adapter failure # MID <[email protected]22.2> already exists. - Duplicate will not be sent
I'm not sure where the "duplicate" message comes from as this message definitely has not been sent before.
If I extract the same inbound message from the payload and pass it in using a file adapter (rather than the AS2 sender adapter) then the functional acknowledgement is created and transmitted to the vendor without any issues ...
Has anyone who has had some experience with the Seeburger AS2 adapter got any possible suggestions for resolving this issue?
Regards,
JasonHello ,
same issue occurred in my system
Exception caught by adapter framework: Fatal exception: com.sap.aii.af.ra.cci.XIDeliveryException: SEEBURGER AS2: AS2 Adapter failure # MID <[email protected]> already exists. - Duplicate will not be sent, SEEBURGER AS2: AS2 Adapter failure # MID <[email protected]> already exists. - Duplicate will not be sent
I'm not sure where the "duplicate" message comes from as this message definitely has not been sent before.
Has anyone who has had some experience with the Seeburger AS2 adapter got any possible suggestions for resolving this issue?
Please advise asap. -
Seeburger As2 adapter error after upgrade
Hello,
After an upgrade from PI 7.01 to PI 7.11 we have problems with our AS2 seeburger adapter. We installed the compatible version of seeburger but got stuck on the following error:
Message could not be forwarded to the JCA adapter. Reason: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: java.io.IOException: org.bouncycastle.cms.CMSException: key inappropriate for algorithm., SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: java.io.IOException: org.bouncycastle.cms.CMSException: key inappropriate for algorithm.
Thanks a lot for any advice,
Regards,
ErikHi
Pls chk the security jar files. you can download the latest version of these from java portal. This might fix the issues related to Key.
Srikanth Srinivasan -
Seeburger AS2 Adapter Error :AUTHENTICATION_ERROR
i am doing the scenario for Purchase Order -> XI ->File
custumer is posting the purchase order
and XI Receives the PO using AS2 Adapter (Seeburger) and sends the output as File
i have done all the AS2 Adapter configurations as mentioned below but still i am getting the error in Seeburger Monitoring, the Error is Authentication_Error
1. Communication chennel
Adapter Type : AS2
Direction : Sender
Transport protocol : HTTP
Message Protocol : AS2
AS2 : Authentication Required is Enabled
Message Subject : Filled which is in Seeburger Monitor
2. Sender Agreement
Sender Communicational chennel which is created above
Security Setting
AS2 Sender Config :
Authentication Certificate : Customer public key
AS2 Receiver Config :
Decryption Key : Private key
3. in Party Identifiers
Party Name
AS2 ID
is there any settings missing to rectify the error "AUTHENTICATION_ERROR"Hi
Check with PIAPPLUSER authentication
With this Check the following content on AS2 may be you get more clue.
http://www.customware.net/repository/display/WMFAQ/AS2-authenticationfailureinreceivingEDIINT+MDN
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/135b0b94-0701-0010-f6a9-86a14057544a
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bpxproj/edi%2bwith%2bpi
Handling EDI interfaces using Seeburger BIC modules
Thanks
Gaurav -
Error at AS2 adapter level...There is no certificate with such alias
Hi All,
Iam sending the 856 message through AS2 adapter to partner and i got the below error at the adapter level.
Unable to forward message to JCA adapter. Reason: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: com.seeburger.ksm.cryptoapi.exception.CryptoApiException: java.security.PrivilegedActionException: com.seeburger.ksm.cryptoapi.exception.CryptoApiException: There is no certificate with such alias, SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: com.seeburger.ksm.cryptoapi.exception.CryptoApiException: java.security.PrivilegedActionException: com.seeburger.ksm.cryptoapi.exception.CryptoApiException: Th
Exception caught by adapter framework: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: com.seeburger.ksm.cryptoapi.exception.CryptoApiException: java.security.PrivilegedActionException: com.seeburger.ksm.cryptoapi.exception.CryptoApiException: There is no certificate with such alias, SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: com.seeburger.ksm.cryptoapi.exception.CryptoApiException: java.security.PrivilegedActionException: com.seeburger.ksm.cryptoapi.exception.CryptoApiException: Th
The certificate has already been uploaded and the AS2ID is defined as one of the identifiers of the party.
Anyone has any idea what might be wrong? Did i miss anything?
Waiting for your answers.
Regards
LexI am having the same issue.
I receive the com.seeburger.ksm.cryptoapi.exception.CryptoApiException: java.security.PrivilegedActionException
message plus the "unable to find alias name TRUSTED\".
It appears that after the outbound message is transformed to XML iin XI then sent to Seeburger's BIC for EDI format translation, then sent to AS2 for encryption/transmission, the AS2 adapter cannot find the key store that holds the certificates I am using.
Am I missing some configuration that points the to the keystore I need ?
Thanks for any and all responses.
Andy -
Hi All,
Iam sending the Control message through AS2 adapter to partner and i got the below error at the adapter level.
Error Delivery of the message to the application using connection AS2_http://seeburger.com/xi failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Fatal exception: com.sap.aii.af.ra.cci.XIDeliveryException: SEEBURGER AS2: AS2 Adapter failure # MID <[email protected]> already exists. - Duplicate will not be sent, SEEBURGER AS2: AS2 Adapter failure # MID <[email protected]> already exists. - Duplicate will not be sent: javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIDeliveryException: SEEBURGER AS2: AS2 Adapter failure # MID <[email protected]> alre.
Any one has any idea what might be wrong?? Did i miss anything??
Waiting for your answers.
Regards
Deepthi.A patch needs to be updated to solve this issue.
-
Hi All,
I am sending files through AS2 Adapter but I see the status message as
Could not deliver as2 message to partner: java.net.UnknownHostException: http # null. Can any one tell me what is causing this error ?
Thanks
Laks
Edited by: lakshmi s on May 5, 2009 8:30 PMHi Prakash,
1. I checked the configuration as you said. I haven't it checked the " Deliver Transmission Report"
Is it mandatory to use this check box. Its for what purpose. ?
2. I also tested by selecting No action in Handle MDN part. Now i see success status in Message Monitor .
What i want to know is " is ot necessary to receive MDN " But i am not doing anything with that MDN.
Kindly let me know answers for my 2 questions .
Thanks
Laks -
405 Method Not Allowed -- XI AS2 Adapter error
Hi All,
I am getting the folloeing error in AS2 Adapter "405 Method Not Allowed". Please let me know ablout the latest note etc to resolve the same as note no. 906435 is quite old and is unable to resolve the same.
Thanks in Advance.
With regards,
GauravIs your computer directly connected to internet, or do you have make some proxy settings ?
-
Dynamic Receiver file name in AS2 adapter
Hi Experts,
How to get dynamic receiver file name in AS2 adapter. We need receiver file name same as of sender file name.
We tried selecting dynamic attributes file name but we are getting followin error in CC.
Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: com.seeburger.xi.connector.queue.TaskBuildException: Mandatory attribute dtAS2FileName is not present in XI message., Mandatory attribute dtAS2FileName is not present in XI message.
Thanks,
Harihi hari,
You can't do it manually. As both adapter are in different context.
You can go with UDF to slove ur problem.
Just extract the input file name using Dynamic configuration
Store that in some variable.
Use same name in the dynamic file name in AS2 receiver. Below code might be useful.
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://seeburger.com/xi/common/dtAS2FileName", "DYNFILENAME");
conf.put(key,strfilename);
Thanks
Jai
Edited by: Jaideep Baid on Apr 9, 2010 9:16 AM -
Receiver AS2 Adapter : Empty Message Handling
Hello Experts ,
We are trying to work on following requirement .
File -> PI -> AS2 ( File) ( We are using Pranke to drop our message to the receiver system) (MDN ack too is in place )
There are times when none of the source records are valid and we have an empty payload post mapping.
In AS2 adapter we are using StrictXML2Plain.
Scenario works fine for all target messages which have data and a file is created at the receiver end. MDN ACK works fine too.
Problem is when we have empty target payloads , We get following error in communication Channel monitoring.
Information
SEEBURGER/AttribMapper: Finished succesfully, 1 properties set or deleted
Information
MP: processing local module localejbs/ModuleProcessorExitBean
Information
Message entered AF MP exit bean and will be passed to the JCA adapter now.
Information
SEEBURGER/AS2: Received order from system.
Error
Message could not be forwarded to the JCA adapter. Reason: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond # , SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond #
Error
MP: exception caught with cause javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond # , SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond #
Error
Adapter Framework caught exception: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond # , SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond #
Has anyone handled such situation ? Is there any workaround at the SAP end to handle this issue ?
Or is this to be handled at the Pranke end ?
Attaching the Seeburger AS2 monitor error as well for empty messages ,
State
Error on send, will be retried
Status Description
Could not deliver as2 message to partner: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond # null
Little urgent and your expertise is appreciated PI geeks
SayaleeHi,
here is the my requirment one source -> two target interfacess (0..1)
If u have 2 target interfaces,then this is not suffice..... u should make it as 0..unbounded both in operation mapping and message mapping.
But based on ur requirements posted above i guess u have only one inbound interface at a time based on some conditions....
But,
<messages>
<messages1>
based on condition first message type not created in mapping.
<messgaes2>
The error u r getting is because.... u want only one interface in target at a time....
Then u should not generate Message1 also in the target.
So avoid mapping to message1 if u want only message2.
If both message1 and message2 are created in target means... it is triggering for two interfaces.... so avoid one message1 or message2... based on some conditions u have..
Still nt solved do post...
Babu
Maybe you are looking for
-
Error while installing NetWeaver ABAP 7.0 Trial (2008 version) in Windows 7
Hi, My Sys config is : Windows 7 1.5 GB RAM 1.6 GHz Processor 250 GB HDD - Providing 50 GB partition for the SAP NetWeaver ABAP 7.0 Trial installation. After installing the J2E 1.4 & configuring the environment variables, MS loopback adapter......I
-
I have lost all of my 'notes' from my iphone. I updated to the latest OS and noticed that all of my passwords etc stored as 'notes' had gone. I have tried to find a back up with no luck and have also restored from an earlier back up with no luck.
-
Hi, How to get class file to design a line graph with multiple series and facility to set minimum and maximum values of y-axis. and I need applet code also
-
Activation of BC-sets through eCATT
Hi all, Anyone has idea or suggestion on how to activate BC-sets using eCATT? regards, Alex.
-
Experts, I am tasked with troubleshooting some custom development at a customer's site, and am running into the following error when running an automated process. Unable to cast COM object of type 'System.__ComObject' to interface type 'SAPbobsCOM.Re