SSL in Soap receiver communication channel

Hi,
I have a webservices that works fine in Soap UI. The webservice provider uses the SSL, but works like a web browser, doesn´t need to install a certificate before access the webservice.
But when i try to use SAP PI using the soap receiver communication channel, the soap adater return the follow message:
"Peer certificate rejected by ChainVerifier"
I read some thing about using axis to solve this problem but I can´t find anything to configure this scenario.
If someone had this problem and solved it, i will apreciate the help.
Thanks
Fabricio

I Have 2 communication channel:
1) This works fine
Adapter Type: SOAP
Receiver
Transport Protocol: HTTP
Message Protocol: SOAP 1.1
Adapter Engine: Integration Server
Target URL: https://gw-homologa.serasa.com.br/wsacheixml/wsacheixml.asmx
SOAP Action: https://sitenet05.serasa.com.br/WSAcheiXML/WSAcheiXML/ConsultaAchei
2) This doesn´t work
Adapter Type: SOAP
Receiver
Transport Protocol: HTTP
Message Protocol: SOAP 1.1
Adapter Engine: Integration Server
Authentication: Basic
User/Password
Target URL: https://treina.spc.org.br/spc/remoting/ws/consulta/consultaWebService
SOAP Action: blank
Both are https and the certificate is sent at communication time (There isn´t a certificate to install in the Key Store in Visual Administrator)
I read that Axis manage this kind of integration with webservices, because the certificate must be installed at the moment of sending http request.
I don´t know why the first interface works fine an the another doesn´t work, then I´m trying with Axis.
In the SOAP UI both interfaces work fine.
Thanks

Similar Messages

  • Error in the SOAP   Receiver communication channel

    Hi ,
            My scenario is RFC - to -SOAP (synchronous )   i have  specified the TARGET URL inthe   SOAP receiver  comminication chanel.. but  while testing  the interface   by providing the test  data from R/3 ..  I'm not getting any Respose.. ..
    If I check in the SXMB_MONI in  i'm getting the following message ..  but the URL whicjh i provided that is fine.. but my doubt  is  through XI  may be it's  not able to connect the  Target System... .. so, please suggest me...
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: www.webservicex.net</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    regards
    Jain

    By default, the SOAP adapter sends the SOAP message with the content type text/xml.
    When you check "Do not use SOAP envelope", the default contnet type is application/xml.
    You can change the content type like this: Go to the SOAP receiver communication channel module tab. Add the module "localejbs/AF_Modules/MessageTransformBean" before the standard module. Add the parameter name Transform.ContentType and value text/xml.
    Check out this
    /people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
    One way of testing ur scenario
    /people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible
    Also have a look here
    SAP Note 856597
    reward points if solution found helpfull
    regards
    chandrakanth

  • Content type in SOAP receiver communication channel

    Hello,
    so far I thought that the SOAP receiver adapter always sets the content type to text/xml. However now I found out the following strange thing:
    If you check the option "without SOAP envelope" then the content type is application/xml. Is there any way to influence this as the receiver of the message only accepts text/xml.
    Have you had any similar experience?

    hi,
    - open SOAP receiver communication channel - module tab
    - add the module "localejbs/AF_Modules/MessageTransformBean" or AF_Modules/MessageTransformBean"  before the standard SOAP module
    - add the parameter = Transform.ContentType with value = text/xml
    I'm just not sure if you need to add value =  text/xml or "text/xml" so try the second one if the first one will not work
    does it work now?
    Regards,
    Michal Krawczyk

  • Error in calling SOAP receiver communication channel in a syncronous comm

    Hi I am getting the following dump..when I am sending some employee data from SAP to a webservice through a SOAP reciver communication channel.
    It is a syncronous communication.
    ShrtText
        Access with 'ZERO' object reference not possible.
    What happened?
        Error in ABAP application program.
        The current ABAP program "CL_PROXY_FRAMEWORK============CP" had to be
         terminated because one of the
        statements could not be executed.
        This is probably due to an error in the ABAP program.
    Error analysis
        An exception occurred. This exception is dealt with in more detail below
        . The exception, which is assigned to the class 'CX_SY_REF_IS_INITIAL', was
         neither
        caught nor passed along using a RAISING clause, in the procedure
         "XI_PROCESS_PAYLOAD" "(METHOD)"
            The reason for the exception is:
        There was an attempt to access a component using a 'NULL' object
        reference (points to nothing).
        An object reference must indicate an object (an instance of a class),
        before it can be used to access components.
        Either the reference was never set or it was set to 'NULL' using a
        CLEAR statement.
    Trigger Location of Exception
        Program                                 CL_PROXY_FRAMEWORK============CP
        Include                                 CL_PROXY_FRAMEWORK============CM011
        Row                                     46
        Module type                             (METHOD)
        Module Name                             XI_PROCESS_PAYLOAD
    I think this error is coming while sending the response..can anybody tell me how to correct this error...
    Thanks in advance...

    No in the adapter monitoring...
    It shows the messages for all other adapters...
    But there is not even a single processing message for this SOAP communication channel...it only shows active..that means I think there is no processing of messagethrough this ..is it ?...but why not there is any error in the SXMB_MONI..
    Earlier it was giving an error saying the proxy authentification required..but that doesn't work...now I have removed the proxy settings ..and it takes the program to dump..

  • SOAP Receiver Communication Channel

    Hi all
    I have developed File to SOAP scenario.
    The problem i am facing is:
    a) whenever i am sending a file then in moni i am getting error
       <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_MM_File2SOAP_dk_:</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    b) when i am checking my comminication channel in Runtime Workbench it is saying -
        Chennel started but inactive and
        status is in yellow
        in short log it is written --- never used
    Please tell me where is the problem.
    Warm Regards
    Dheeraj Kumar

    Hi Dheeraj,
    1.) Seems your mapping is not correct. We have a provision to test our mapping in the design tool.
    Refer to the link
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    2.) Go to the specific communication channel in the Configuration and change the status to 'Active'(Status dropdown is availabe towards the end of any communication chall paraneters)
    REgards,
    Divya

  • SOAP Receiver Communication Channel error

    Hi,
    In my scenario, I am calling webservice using soap adapter. I have been encountered with the error
    SOAP: call failed: java.net.SocketException: Connection reset .. in the communication channel monitoring.
    Please could you let me know why is this error coming?
    Regards,
    Vishnu.

    Hi
    have a look at SAP note 709140.
    may be the problem due to heap size on server.
    see the following links also :
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4061https [original link is broken] [original link is broken] [original link is broken]://HTTP error
    Some errors in an XI production environment
    Regard's
    Chetan Ahuja

  • URL redirection config in PI SOAP receiver communication channel

    Hi,
    I am working on a similar scenario where I my consuming an external web service using https protocol from PI.
    I have configured a soap receiver channel to call the target url of this web service as https://portal.xyz.org.uk/webservice_alt.
    I am getting an error HTTP 302 suggesting that PI is not able to follow the re-direction to the target URL as the service resides not on that URL but on https://portal1.xyz.org.uk/webservice_alt or https://portal2.xyz.org.uk/webservice_alt.
    This is their server fail over handling mechanism which is very common. But PI 7.0 is not able to handle this.
    So if I change the target URL on the SOAP receiver channel to  https://portal1.xyz.org.uk/web service  or  https://portal2.xyz.org.uk/webservice_alt , PI works fine without errors . But this is not the right approach because, every time the web service provider takes one of these systems down for upgrade/patching etc, they inform us and then I manually go and change the target URL to the available server on my production PI system config.
    My problem is I want to resolve this redirection error in PI. I have tried raising a call with SAP itself and they pointed out to use Axis adapter which is still not working.
    So I am here asking for help. any suggestions please from the experts?
    Thanks
    Jhansi.

    Hi guys,
    I am sorry if I have not been clear so far!!
    What I am talking about is a URL redirection capability of PI. what i mean is , when you call any service in general using a browser/soap ui etc, it pings that url and follows the redirection.
    For example when i try to test this external web service directly using soap ui tool, it also returns HTTP 302 error. But when I set the 'Follow redirect' property to 'true' , it follows the redirection and calls the service on 'portal1' or 'portal2' .
    You assume PI is a test tool like SOAPUI. When the address or URL changed in WSDL and if you load the latest WSDL in soapUI it post the request to the latest URL. YOu import WSDL only in ESR not in IR. Dont forget it. Though WSDL has soap address location, it will not impact the wsdl changes directly in ID.
    It makes no sense to complain regarding the behaviour of PI when the reason for the problem is outside (WS provider).
    please note that the target url is fixed which is  https://portal.xyz.org.uk/webservice_alt.
    so we are not talking here about the service provider altering the service and sending us new wsdl's etc.
    All users of this webservice have been non-sap users so far and consumers use java, .net etc platforms and are easily able to handle the redirection.because this redirection is a part of failover mechanism.
    I hope i am able to picture my problem.
    thanks
    Jhansi.

  • Error in HTTP_AAE receiver communication channel, PI 7.4 dual stack

    Dear Experts,
    I am facing the below certificate error in HTTP_AAE receiver communication channel while using the third party (bank) private key. Third party bank server is HTTPS enabled, moreover they have generated the public and private keys on their server, and they shared the corresponding private keys in .p12 format to us. Our scenario in SAP PI is synchronous ABAP Proxy to HTTP_AAE, when I see the message in SXMB_MONI after testing, we get he below certificate error, though we have provided the correct path from keystorage view and keystorage entry in HTTP_AAE receiver communication channel
    “com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SENDING_HTTP_REQUEST, sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”
    We have imported the private key provided by bank in Netweaver admin key storage, by following the below steps.
    NWA -> Certificates -> Key Storage -> TrustedCA->Import Entry->Entry Type->PKCS#12 Key Pair->select the .p12 file->import.
    Please see the attached doc for related screenshots.
    Please experts help me experts as this is on high priority from client, also suggest me if I am doing anything wrong here.
    Thanks,
    Farhan

    Hi Farhaan,
    do you have only one certificate or multiple certificate? HTTPS can have 2 or 3 certificates (Root, Intermediate [optional, if any 3rd party person is there in the middle then we can get this certificate] and system certificates).
    The issue is with the certificate and it can be because All the certificate is not present or path is not correct.
    Please refer the below wiki in which solution is given for this peroblem.
    Troubleshooting 7.1 - End-User Experience Monitoring - SCN Wiki
    The similar issue is resolved by applying SP level patch, please refer the below discussion
    SAP PI 7. 3 HTTP_AAE Receiver with SSL
    Please check the below blog -
    Configure the HTTP_AAE receiver communication channel with SSL
    please also check the below discussion
    Where to Import Clients SSL certificate for HTTP_AAE
    regards,
    Harish

  • Using common SOAP Sender Communication Channel.

    Hi,
    Env: PI 7.1
    Scenario: Same SOAP Sender communication channel is used in more than one scenario.
    Properties "Use Encoded Headers" and "Use Query Strings" are checked.
    Problem: SOAP channel is getting binded with the first interface/call. Subsequent calls from other interface proxies fails. It always shows the interface which used this channel for the first time.
    My aim is to use the common channel in multiple scenarios and do not want to create separate channel for each.
    This was working fine in PI 7.0.
    Please help.

    A workaround would be creating multiple sender agreements using the same channel. For this while creating the sender agreement, use the option "Sender uses virtual receiver". This was u may use same set of sender service and sender interface with same channel.
    Regards,
    Prateek

  • FTP error: Receiver Communication Channel

    Hello Experts,
    I am getting the following FTP error in my Receiver Communication Channel.
    Error occurred while connecting to FTP server:  Peer certificate rejected by ChainVerifier
    Please suggest.
    Thanks,
    Anup

    Hi Anup,
    Problem is with FTPS and not FTP.The SSL handshake needs to confirm that the FTPS client is using the FTPS server's DNS name to access the FTP service since only the DNS name of the FTPS server is stored in the certificate signed by the trusted CA (e.g. VeriSign). it's the way the Certification Authorities works.
    If you are using any IP address then try with your host name.
    Regards,
    Madan

  • Error in Receiver Communication Channel in FCC

    I have a simple scenario of Proxy to File. I have to just one field in complete row. So my structure is as below : MT_RecordIB -> Records.  So my XSD looks like this :
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://XXXl.com/INF31018/SAPSerOrd_DaysIn" targetNamespace="http://hnwl.com/INF31018/SAPSerOrd_DaysIn">
       <xsd:element name="MT_RecordIB" type="DT_RecordIB" />
       <xsd:complexType name="DT_RecordIB">
          <xsd:sequence>
             <xsd:element name="Records" type="xsd:string" />
          </xsd:sequence>
       </xsd:complexType>
    </xsd:schema>
    I have used FCC and the parameters are :
    Recordset Structure                                  Records
    Records.fieldSeparator             'nl'
    But I am getting following error in Receiver Communication Channel :
    Failed to process message content. Reason: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_RecordIB' found in document', probably configuration error in file adapter (XML parser error)' (Software version: 3.0.21)
    Thanks,
    Pankaj Singh

    Hey Pankaj,
    Your content conversion parameter might be configured improperly.
    Refer this blogs
    /people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    Refer the following threads for your problem
    [ Unknown structure 'ns0:MT_dbglgtr_FileName' found in document'|Unknown structure 'ns0:MT_dbglgtr_FileName' found in document']
    Rgds
    Ramesh

  • Need to use only one sender and receiver communication channel.

    Hello Experts.
    I have a scenario where in I have to use only one sender and receiver communication channel to push files from different source directories to different receiver directories.
    For Eg;
    Sender                              
    D://dir1/file1 --->                  E://dir1/File1
    F://dir2/file2 ---->                 G://dir2/file2
    H://dir3/file3----->                 I://dir3/file3.
    Can this be achieved by using pass through scenario?
    Please let me know if the requirement is not clear.     
    Thanks in advance.
    Advit Ramesh

    Hi Advit,
    I think it is possible. You have to use the Advanced Selection for Source file in the sender channel to define multiple files to be picked up. Also, the Dynamic configuration must also be enabled and used in the mapping so you can manipulate the target directory and target file name based on your source files.
    For Polling from multiple directories:
    http://wiki.scn.sap.com/wiki/display/XI/File+Sender+Adapter+-+Polling+Multiple+Directories
    Dynamic Configuration:
    Dynamic file name and directory in Receiver File Adapter - summary of possibilities - Process Integration - SCN Wiki

  • File Overwriting in File Receiver Communication Channel

    Hi,
    I have an IDoc to File scenario.
    My file receiver communication channel has the following parameters :
    - File name scheme = %timestamp%_AOBSD4RL.MES
      (I'm using variable substition and the variable "timestamp" is initialized at mapping time with the current time in format yyyyMMddHHmmss).
    - File Construction Mode = Create
    - Option "Overwrite Existing File" not activated
    When two inbound messages result in the same target file name, the second one overwrites the first one although the "Overwirte Existing File" setting is not active in the receiver channel.  Is this a bug in XI ? (I'm on 7.00 SP11)
    And is it possible to say to the receiver channel to process only 1 message per second so there will no more target file with same name ?
    Thanks in advance,
    Laurence

    Hi Laurence,
    There is no such facility with Receiver File Adapter to process single message in one step.
    I want to suggest you a may possible way to overcome( it's just an idea), though I never worked with them I think it will work.
    As you the file name is assigned to message with timestamp at receiver communication channel step you can schedule the outbound queue in such a way that it will transfer the message in delay.
    Try to investigate further more, But i m not sure that Queue Scheduling is supported by SP11 or not.
    Regards,
    Shri
    Reward point if it helps you

  • AS2 adapter not visible in Receiver Communication Channel (Adapter Type)

    Hi,
    We wish to connect to our customer using AS2 adapter as the receiver communication channel.
    We are unable to find the "AS2 adapter type in the in "adapter type" field. (Choose Adapter Metadata).
    Our XI version is as following (NW04S_11_REL Service Pack 11).
    Version
    Service pack:
    11
    Release:
    NW04S_11_REL
    Is there add-on to be installed on XI or is there any activation required?
    Thanks in Advance,
    Rehan

    SAP_BASIS
    Release 700
    Level 0011
    Highest Support Package: SAPKB70011

  • Recordset structure in receiver communication channel

    Hi gurus!
    I have a problem with my receiver communication channel it says "Unknown structure 'Headers' found in document', probably configuration error in file adapter (XML parser error)'"
    It's for sure that the problem is in the configuration of the adapter.
    My scenario is from iDoc to File and i need to write only one header and many Lines, i made the data type like:
    Headers
    ---Header
    Lines
    ---Line
    And the problem is in the configurarion of the recordset structure and the lines below.
    If you know another way better to make the data type to acommplish what i've to do, just tell me I just made it that way because i thought it could work.
    If something is not clear just let me know, what i more need is the config. of the receiver adapter.
    Thanx in advance.
        Juan

    Hi Juan
    If i understand correctly .. you are doing FCC on your receiver communication channel...and the following is your Target Data type
    Headers
    ---Header
    Lines
    ---Line
    and FCC parameters you created are as below
    Recordset structure: Headers,Header,Lines,Line
    Header.fieldSeparator \r\n
    Header.endSeparator \r\n
    Line.fieldSeparator \r\n
    Line.endSeparator \r\n
      If the above data is correct, then I would like you try out the FCC parameters in my previous post. Because in the FCC parameters, you used only substructures(Header and Line) and you did not mention the lists ( Headers and Lines). That's why i think it is errored out.
    If my interpretation is wrong, please let me know where i went wrong, i will try to look at again.

Maybe you are looking for

  • Private network OK, guest network no IP

    Hi Community - Just installed our new AirPort Extreme, went very well.  The private network (using W2PA Personal) works great.  Devices can connect to the guest network (WPA2 Personal), but do not acquire an IP.  Router is a SonicWall TZ 215.  Any th

  • Front Row black screen bug

    I have a weird problem while running Front Row on my PowerBook 17''. Once I run Front Row, an intermittent black screen comes with it. If I don't move my mouse for a few seconds the screen goes out. Notice that I'm using the external DVI connection t

  • Captivate 8 drag and drop interaction

    Hello, just having a look at the new captivate 8 and when i try and make a drag and drop question i go to the normal place of window> drag and drop. but the problem is the drag and drop option is grayed out - could this be because i am only running i

  • Two Important Tips if you want

    I'm seeing a lot of questions about from kind folk that are about to purchase their MBP or their tower etc... So, not many people know about this and I've been doing this for years..... Either on the Apple / Store site (Lower Right hand Corner, in Re

  • Inserting Arrows In Video

    I'm trying to insert arrows into a football highlight video.  (1) I want them to point to a player for 1 second before the play starts, let the play run, and do the same for all subsequent plays.  Can someone outline the steps or point me to a tutori