Issue with Sender AXIS Adapter while XML Signing

Hi all,
We are working on a scenario, an external application pushes message to Sender AXIS Adapter in PI. However while testing XML signing we are getting below error:
  <faultcode>soapenv:Server.generalException</faultcode>
<faultstring>WSDoAllReceiver: security processing failed; nested exception is:
org.apache.ws.security.WSSecurityException: The signature or decryption was invalid</faultstring>
<detail>
Could you please provide your valuable inputs on this?
Thanks,
Jaya

Hi Jaya,
Have you checked if your message is valid? Have you tested it against another server?
Which version of wss4j are you using and which PI version?
How does your module/handler configuration looks?
If the message is valid and the handler is configured correctly, you can set the trace level of org.apache to debug and see what it says.
Best regards, Yza

Similar Messages

  • Issue with Sender Mail Adapter Configuration

    Hi All,
    We are PI 7.1.1 version. We are unable to see the following parameters in the sender Mail adapter:-
    Default XI Parameters : Default Interface Namespace and Default Interface Name.
    Also, we are geeting a Nullpoinetr exeception in RWB.
    Kindly provide your suggestions.
    Thanks & Regards,
    Navneeth K.

    Hi.
    I have faced the sane problem. My solution is to use DynamicConfigurationBean module:
    AF_Modules/DynamicConfigurationBean     Local Enterprise Bean
    with
    parameters:
    message.interface=<Your Interface Name>
    and
    message.interfaceNamespac=<Your Interface Namespace>
    Note that last parameter name is not interfaceNamespace but interfaceNamespac .
    It would be great if anyone will explane were Default XI parameters gone and how we can get them back.

  • Issue with Sender File Adapter

    Hi,
    In Sender File Adapter I have used content convertion. If the content convetion fails or the channel goes to error state, the sender file channel stops polling. The channel is not polling in the next interval once it goes to error state.
    Please help.
    Thanks
    Aravind

    Hi,
    That's true.
    If one file fails to process due error in content coversion or for any other reason, the channel would stop polling for the next time and also would not process the files following it.
    Please correct the content conversion and process the file.
    Regards,
    Subbu

  • Issue with Sender File Adapter file content convertion

    Hi Everybody,
    I am facing an issue in FCC at the sender side.
    Below is sender text message which contains 9 rows.Each row represents one node in the source structure.
    ROUASIS.MLASIS.A02001COMASN1.1.2
    HDR7072396166N^MAEU/SZH3PA288200707248IF07082007090311CAFXSYATFXS^20070903
    PPL5705150010506YAT254915402713586045162543971730000002723.000C2750000000024.1602007081120070903^^
    SIM3020070711^20070730Y^^^00
    CONTTNU946652840CN0579566   7335
    CTN100069350800012609166209.850.08068.5830.4838.10
    DTL520^01
    CTN200069350800012609173209.850.08068.5830.4838.10
    DTL520^01
    In the above message CTN row is repeating after each DTL because of which i am getting the error.
    <b>Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR consistency check in recordset structure validation</b>
    Can somebody help me out in resolving this issue.
    Thanks in Advance,
    Arvind

    Hi Arvind
    plas use the following parametes in the sender communication channel.
    i have tried one scenario
    my source structure is like that:
    data  (0..unbounded)
      record (0..unbounded)
         key (1..1)
         fname (1..1)
         lname (1..1)
         age (1..1)
      detail  (0..unbounded)
        key (1..1)
        salary (1..1)
        empid (1..1)
    so use the following parameters at the sender side
    document name:                messge type name
    document namespace:       ur message type namespace
    Recordset name:               data(as per according to my source structure)
    RecordsetStructure:           record,,detail,
    recordsetsequence:           variable
    recordsetpermessage:       *
    keyfieldname:                   key
    and different parameters:
    RECORD.fieldSeparator     ,
    RECORD.fieldNames         KEY,FNAME,LNAME,AGE
    RECORD.keyFieldValue     1
    DETAIL.fieldSeparator         ,
    DETAIL.fieldNames             KEY,SALARY,EMPID
    DETAIL.fieldNames             2
    if you still have the problem pleas reply back.
    Thanks
    Rinku

  • Problem with Sender JDBC adapter while processing the message

    Hi,
    I am facing some problem while using the JDBC sender adapter.
    Here is the trace where i have seen the Socket Closed problem. But it was for few seconds.
    Later on it was working fine. This happens intermittently. So it was very difficult to collect the traces.
    Please check the trace,
    #1.5 #001A4B06B868008500001FF10000555D00045C190344E1D3#1227162409422#c
    om.sap.aii.adapter.jdbc.JDBC2XI##com.sap.aii.adapter.jdbc.JDBC2XI.invoke()
    #J2EE_GUEST#0##n/a##f30c1fd0b6ca11ddc489001a4b06b868#XI JDBC2XI[JDBC_Send/BSC/]_1235135
    ##0#0#Warning##Java###Catching #1#java.sql.SQLException:
    [Microsoft][SQLServer 2000 Driver for JDBC]Socket closed
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSExecuteRequest.submitRequest(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeQuery(Unknown Source)
         at com.sap.aii.adapter.jdbc.JDBC2XI.invoke(JDBC2XI.java:418)
         at com.sap.aii.af.service.scheduler.JobBroker$Worker.run(JobBroker.java:475)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Can anyone please help me out why I am getting this error intermittently?
    Any specific reason so that i can rectify.
    Urs,
    Soorya

    Hi,
    We have checked all those but still we could not find any problem.  And we are not getting this error for
    continously . Only intermittently. So what could be the reason behind this. It is not remaining for long time.
    so please tell me the exact reason behind this problem to overcome this problem for ever.
    Thanks
    Soorya

  • BinarySecurityToken in sender axis adapter

    Hi all,
    Need pointers for implementing  "BinarySecurityToken" in sender axis adapter?
    Any references/blogs would be of great help
    Thanks in advance.

    Hi Tilak,
    From your reply, I am not sure if I understand what you want to do with BinarySecurityToken.
    If you mean you want to send your certificate using BinarySecurityToken with the signed message, the answer to the question "Can I include the sender's certificate in the signed message using WS-Security?" in the FAQ Note is exactly what you are looking for.
    >Can I include the sender's certificate in the signed message using WS-Security?
    >Yes. The default setting uses the issuer-serial method and the signed message only includes the name and the serial number of the certificate. To use the direct-reference method, which includes the certificate in the message, the handler parameter signatureKeyIdentifier of com.sap.aii.adapter.axis.ra.handlers.security.WSDoAllSender must be set to DirectReference. The default value for this parameter is IssuerSerial. See the detailed description of this parameter.
    More concretely, the default settting IsssuerSerial generates the x509 certificate serial information within the SecurityTokenReference element. In contrast, the setting DirectReference generates the Reference element within the SecurityTokenRefererence that points to the BinarySecurityToken element that contains your certificate.
    Best regards,
    Yza

  • Issue with Sender File FCC

    Hi Experts,
    I have an issue with Sender File FCC Adapter. The file being picked is of type TXT and it is tab seperated. The first line contains the field names and from next line onwards we have values for those fields.
    The field names and field values are tab seperated. Even inserting a single letter in some field value manually disrupts the whole setup & alignment of the TXT file and the Sender File CC is unable to pick up the file from the shared folder. If the first file is errorenous and after that a correct TXT file is posted, it fails to pick up the correct file as it is trying to pick the errorenous file first.
    The Error thrown is :
    "Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 2 according to structure 'ABCD':java.lang.Exception: ERROR in configuration / structure 'ABCD.': More elements in file csv structure than field names specified!"
    I have two questions:
    1. Is there a way to handle such a scenario? For e.g., the errornous TXT file gets picked but throws error in PI.
    2. Is there an alternative that the sender FCC channel picks up the correct files and filter out the errorneous ones ? ?
    Thanks,
    Arkesh

    Hi Arkesh,
    I think you are passing more number of fields than expected. Please check paramters defined and send the data accordingly.
    In the processing parameters tab of sender file adapter, you have an option called Archive faulty source files, below to that you would have option to enter the " Directory for Archiving files with Errors".
    I hope this helps you....
    Thanks,

  • Issue with Receiver SOAP adapter for synchronous scenario

    Hello All,
    We are facing a strange issue with the SOAP adapter in the interface we have setup. This is the 1st time we are using SOAP adapter in our system (PI 7.11 SP7). We are making a synchronous HTTP call to the web service exposed by another system in our landscape. The payload is send with SOAP envelope and there are no credentials to be maintained in PI settings.
    The issue is that we are always getting timeout exception in PI audit logs after sending the request (3 minutes - standard timeout value, no additional config for this). But target system has confirmed that they are sending the response back. We tested from our server OS level and have received the response back in the same screen (to verify there is no firewall/port issue in between the systems). But when tried from RWB, it is always giving the timeout exception and we are not able to see any other log.
    We have tried checking in the NWA logs as well after increasing the logging level to ALL for com.sap.aii.adapter.soap. But surprisingly, we didn't get any logs at all for the outgoing SOAP call or incoming response and hence we are unable to trace the issue.
    We have setup another synchronous inbound SOAP interface (PI exposing the webservice) and it is working fine. We are also able to trace the logs in both audit log and NWA logs.
    Is there anywhere else we can check for the logs? Audit logs is showing timeout error and we are not able to see anything in NWA logs.
    Does the target system need to maintain PI credentials in the header when they send the synchronous response back?
    Are there any specific settings which should be checked to enable the sync communication? (this should not be the case since the inbound interface is working fine)
    Please help.
    Thanks
    Justin

    Hi Amit,
    Thanks for the reply.
    Yes we had tested successfully via SOAP UI as well (forgot to mention that). We are getting back the expected response in SOAP UI without using any credentials. We got the same response when we tested it through OS commands from PI server.
    The WS is hosted by the target system and they haven't maintained any credentials at their end. So when PI is trying to access, we don't need to provide any credentials. My question is, whether the target system should keep any credentials to send the synchronous response back to PI (java stack). We have tried that as well but since there aren't any logs, we are unable to verify whether the credentials are coming correctly.
    The service interfaces are correct and PI configuration are OK. I will try the XPI inspector for logs as you have suggested.
    Thanks
    Justin

  • EOIO with sender Rnif Adapter

    Scenario:
    pip xml-> XI Rnif sender adapter->mapped to IDoc-> IDoc receiver adapter->R/3 4.6C
    We want to change default EO processing to EOIO. How can this be done in Rnif Adapter?  That is the first question.
    Same scenario for testing is using file adapter  as sender instead of RNIF adapter, after setting EOIO and entering queue name in the file adapter communication channel, messages in sxmb_moni are using XBQO_<specified name> queue (outbound queue) and showing as EOIO in Reliable Messaging. When I click on the queue it takes me to QRFC monitor for outbound queues...Is it AF outbound queue then?
    What is inbound and what is outbound queue and in relation to what, Adapter Framework or Integration Engine or…?
    Same scenario with sender RNIF Adapter in the moni shows queue XBTO (outbound), but when I click on it it takes me to QRFC Monitor for inbound queues???  
    Anybody there can put some light into the maze XI queues? Thanks a lot!

    Hi Margaret Wisniewski ,
    For XI Rnif sender adapter
    Please see these..
    Delivery and Service Header Fields in RNIF Receiver Adapter for Rosettanet.
    Accessing Message Header fields from envelope
    Pls refer this link about Queues
    XI Asynchronous Message Processing: Understanding XI Queues -Part I
    Regards,
    Ramesh.

  • Issue with Date format - ABAP to XML

    Dear Users,
    We are currently facing an issue with the date formats in XML.
    We have a system (.Net), which has a webservice that we are calling for information from SAP. We created a Proxy class in SAP from the WSDL file and have attempted to use the method that gets us required information based on the Timestamp passed from SAP. However, the timestamp that the INPUT structure uses has a data element XSDDATETIME_Z.
    All we can send from SAP is a simple TIMESTAMP, but the .Net system doesn't accept it since it wants the timestamp in XML format i.e. <dd-mm-yyyy>T<hh:mm:ss>Z. SAP documentation says that the field should automatically do conversion from ABAP to XML format, but that doesn't happen. We don't want to build a string from Timestamp in the XML format and send it out since we might surely miss out on the different cases involved.
    Can anyone please suggest a way for us to send the date out in the required XML format?
    Many thanks!

    Hi Vijay,
    Look at the below sample code and it works fine, i guess there is something wrong in your code or conversion, post the actual code if you are still not able figure it out with the below example.
    DATA: l_xml_string TYPE string,
          l_dat_time TYPE xsddatetime_z.
    CALL FUNCTION 'CACS_DATE_GET_TIMESTAMP'
    EXPORTING
       I_DATE                         = sy-datum
       I_TIME                         = sy-uzeit
    IMPORTING
       E_TIMESTAMP                    = l_dat_time
    EXCEPTIONS
       DATE_NOT_FILLED_BUT_TIME       = 1
       DATE_HAS_NO_VALID_FORMAT       = 2
       OTHERS                         = 3.
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL TRANSFORMATION id
      SOURCE root = l_dat_time
      RESULT XML l_xml_string.
    IF sy-subrc EQ 0.
    write: l_xml_string.
    ENDIF.
    Regards,
    Chen

  • Problem polling Inbox with Sender Mail adapter

    Hi,
    I have a funny problem with Sender Mail adapter (IMAP Protocol)
    It was working fine previously.
    Now, when I poll the Inbox, 2 things happen. After re-activation:
    1. If there is a new mail in the Inbox, the Communication channel marks the mail as read, but still keeps reading the same mail into XI.
    2. If there are no new mails in the Inbox, it reads the already read mails in the Inbox one by one. So all old mails start entering XI.
    This problem exists only with the Inbox. It works fine with other folders for the same mail ID.
    Any inputs as to why this is happening?
    Regards,
    Puloma.

    Hi,
    We re-started the server and problem was solved. But we don't know why the Adapter Engine was behaving erratically.
    Regards,
    Puloma.

  • I have an older version of Firefox 3.6.6 I believe I am having an issue with one of the websites I sign into. Is there any way to update to the newest version

    I have an older version of Firefox 3.6.6 I believe I am having an issue with one of the websites I sign into. Is there any way to update to the newest version. Without losing all my bookmarks and saved pass words?

    Hello johngervais, the latest firefox version is 26.0 (today 4 Jan 2014).
    note that [https://support.mozilla.org/en-US/kb/firefox-no-longer-works-some-versions-windows-xp Firefox no longer works with some versions of Windows XP], if you have '''xp with sp2 and above''' you can update to latest version, see : [http://www.mozilla.org/en-US/firefox/26.0/system-requirements/ Firefox 26 System Requirements]
    if you are able to update to latest version then see : [https://support.mozilla.org/en-US/kb/common-questions-after-upgrading-firefox-36 Common questions after upgrading from Firefox 3.6]
    see also : [https://support.mozilla.org/en-US/kb/firefox-just-updated-why-it-asking-me-update-again Firefox just updated - why is it asking me to update again?]
    Don't worry you won't losing bookmarks and passwords after update firefox.
    thank you

  • Is there any way to send Attachements with Sender file adapter

    Hi,
      I am Using File to Proxy communication model. Is there any way I can use file attachments with Sender file adapter with communication protocol "FTP". Please on suggest this.
    Regards,
    Daniel.LA

    Hi,
    I think there is no Option with FTP Protocol to send the files as Attachments.
    Try this
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    Regards
    Seshagiri

  • Having issues with sending attachments via iMail to PC users

    Having issues with sending attachments via iMail to PC users. Either they do not see all the attachments or the attachment comes across blank. Is there any suggested ways to resolve this?

    You can also use Dropbox. 2GB free. Put files in the Public folder and you can send them links of the files instead.
    You can use my referral link http://db.tt/MXNpy62 to create an account.

  • Issue with JMS inbound Adapter  and Asynchronous BPEL

    Hi Gurus,
    I am facing the below issue with JMS inbound Adapter and Asynchronous BPEL .
    I have 2 JMS Queues one inbound and one outbound . The Composite has multiple BPEL Components around 4 on an average and i have 4 composites similar to that .
    Totally 4 Composites * 4 BPEL Components = 16 Services
    Propoesd Solution :
    I have used MessageSelector in the JMS Adapter for selecting the incoming message. The BPEL gets invoked if the message selector is true and proceses the Message and writes the response to the other Queue.
    Initially i had no problems but intermittantly the BPEL processes are getting invoked but they are not processing the data ( Bpel process is supposed to invoke an external service and get the response in a sync call) and each BPEL processe instance is in running state for ever . This remains even if i restart the servers .
    The message gets read by the JMS Adapter , BPEL instace gets created but it wont proceed futher and remains in the runnign state for ever.
    If i redeploy the Composite then messages get processed but the issue creeps up again ( i tried to checl the logs but ino cluea about the issue .
    Getting frustrated day by day tried the bpel.config.transaction, increased the JMS Adapter threads , inreased the worker threads but all in vein..
    please let me know if any one has faced similar issue .
    Anticipating a quick response from the gurus.
    Lakshmi.

    We are also facing this issue in 11.1.1.5.
    Breifly the issue is : The BPEL process which polls an inbound JMSAdater ( consume_message) either stays in running state forever ( whatever we do) or go to the recovery queue. It doesnt recover even if i try to recover it. This happens intermittently. Redeploying the application / restarting servers sometime solve the issue but as know we cant do that on prod systems .
    Can some one look into this on priority and help us giving a solution/workaround.

Maybe you are looking for

  • Gif becomes grainy/pixelated in 'Save For Web'

    Hello! I recently switched laptops and I have been having major issues trying to regain the quality gifs I used to make. After I have my gif set to go, I go to save it in 'Save For Web'. This is where all of my problems start. My gif no longer looks

  • Getting error while creating a IBOTs (scheduler ibot setup error)

    Hi , While running the IBOTS , I am getting below error:- error :- +++ ThreadID: 1760 : 2011-08-15 13:25:13.265 Global Error: [nQSError: 77006] Oracle BI Presentation Server Error: Authentication failed. Error Codes: WKY9UVRD: Authentication Failure.

  • Hi all. My imac disk is full

    I installed Leopard on an external drive connected by firewire. I can boot fine from their. Is their an easy way to transfer my files to the external drive so it will work just like my current setup is configured?

  • Questions on upgrading Q10 version?

    Two questions: 1)   Is there any way to install a leaked Version 10.2.1on the Q10 without having to re-initialize/restore? 2)   Is it true that installing a version upgarde using a AT&T release avoids having to re-initialize/restore? Thanks for any/a

  • Function module - Create Customers in ERP

    Hi Gurus, I am working on an implementation of ISA for ERP and I need to create customer in ECC 6.0 from a web page that will be included in the ISA application. Can anybody suggest me a standard function that can be leverage for this purpose? Thanks