Configure Soap Adapter for compress, gzip.

HI to all experts,
do anyone know how can configure a soap adapter with the parameter for compress, gzip.
i found a document which explain so:
localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
XMBWS.XMLEncoding Content-Type charset iso-8859-1
XMBWS.TransferEncoding Content-Transfer-Encoding base64
XMBWS.Encoding Content-Encoding gzip
XMBWS.AcceptEncoding Accept-Encoding compress, gzip
but i f i insert this parameter the adapter give me back a response :
Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Could not access envelope: Unable to create envelope from given source: ; nested exception is com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:.
seems that it have any difficult to read the payload.
let me know if anyone have an idea.
best Regards
Claudio.

Hi Stefan,
is it enough this response?
POST  HTTP/1.0
Accept: /
Accept-Encoding: compress, gzip
Host: 10.180.160.29:8080
User-Agent: SAP-Messaging-com.sap.aii.messaging/1.0505
Content-ID: <[email protected]>
Content-Disposition: attachment;filename="[email protected]"
Content-Type: text/xml; charset=iso-8859-1
Content-Description: SOAP
Content-Transfer-Encoding: base64
Content-Encoding: gzip
Content-Length: 1292
SOAPACTION:
X-XMB_WS_ENCODED: version=3.0&MessageClass=ApplicationMessage&ProcessingMode=asynchronous&MessageId=478ce922-7b48-04b0-0200-00000ab44471&TimeSent=2008-01-16T13%3A36%3A45Z&Sender.Party=%3A%3A&Sender.Service=BS_SAP_TC3_700&Receiver.Party=%3A%3A&Receiver.Service=BS_IRIS_TXI&Interface=http%3A%2F%2Fgenerali.it%2Fmerge%2FUTILITY%2F01%2Firis%5EMI_COMPAGNIE_RES&QualityOfService=ExactlyOnce
i get it by TCPGatway.
thanks a lot.
Claudio.

Similar Messages

  • Configuring File adapter for OSB

    Hi,
    I wish to process invoice data that will be in the csv file . The structure of the file is as following :
    $H$<<Supplier Name>>,<<Supplier Site>>,<<Invoice Number>>
    $D$<<Line Number>> ,<<Business Unit>>,<<Location>>,<<Store Name>>
    $D$<<Line Number>> ,<<Business Unit>>,<<Location>>,<<Store Name>>
    $H$<<Supplier Name>>,<<Supplier Site>>,<<Invoice Number>>
    $D$<<Line Number>> ,<<Business Unit>>,<<Location>>,<<Store Name>>
    $D$<<Line Number>> ,<<Business Unit>>,<<Location>>,<<Store Name>>
    The intent is to configure the file adapter in such a fashion that it rejects the entire invoice if there are any errors in any of the lines that belong to that invoice. The invoices that follow the erred inovice should be processed normally. How do I configure the adapter to achieve this? Any help is greatly appreciated.

    Hi,
    Configuring the adapter for rejecting the invalid invoice rows is not possible. Adapter should be configured as usual to read all the rows. Once the rows are read, you can have all validation in the proxy service. If you find any invalid rows, you can write those rows to a saperate file so that it can be corrected and fed again. And all the other valid rows can be sent for further processing.
    Thanks,
    Vishwa

  • 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

  • Soap adapter for asynch ?

    Hi Guys,
    I need to configure receiver soap receiver for asynchronus process. where i need to mention in the soap adapter the qos is exactly once.
    Thanks,
    srini

    Hi Sudheer,
    I am getting the following error in the sxmb_moni on the R/3 side.
    race level="1" type="T">Get definition of external pipeline = SENDER</Trace>
    <Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID" />
    <Trace level="1" type="T">Get definition of internal pipeline = SAP_SENDER</Trace>
    <Trace level="1" type="T">Queue name : XBTS0007</Trace>
    <Trace level="1" type="T">Generated prefixed queue name = XBTS0007</Trace>
    <Trace level="1" type="T">Schedule message in qRFC environment</Trace>
    <Trace level="1" type="T">Setup qRFC Scheduler OK!</Trace>
    <Trace level="1" type="T">----
    </Trace>
    <Trace level="1" type="T">Going to persist message</Trace>
    <Trace level="1" type="T">NOTE: The following trace entries are always lacking</Trace>
    <Trace level="1" type="T">- Exit WRITE_MESSAGE_TO_PERSIST</Trace>
    <Trace level="1" type="T">- Exit CALL_PIPELINE_ASYNC</Trace>
    <Trace level="1" type="T">Async barrier reached. Bye-bye !</Trace>
    <Trace level="1" type="T">----
    </Trace>
    <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!-- ************************************
    -->
    <Trace level="1" type="T">--start sender interface action determination</Trace>
    <Trace level="1" type="T">select interface ClearingHousePaymentOrderRequest_Out*</Trace>
    <Trace level="1" type="T">select interface namespace http://sap.com/xi/APPL/SE/Global</Trace>
    <Trace level="1" type="T">no interface found</Trace>
    </SAP:Trace>
    </SOAP:Header>
    - <SOAP:Body>
    - <SAP:Manifest xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7">
    - <SAP:Payload xlink:href="cid:[email protected]">
    <SAP:Name>MainDocument</SAP:Name>
    <SAP:Description />
    <SAP:Type>Application</SAP:Type>
    </SAP:Payload>
    </SAP:Manifest>
    </SOAP:Body>
    </SOAP:Envelope>
    any help would be really appreciated
    Thanks,
    srini

  • Error in Receiver Soap Adapter for Google API

    Hi,
    I am working on HTTP-XI-Soap scenario which on the receiver side calls google API for spell check.
    I get the following error : <b>No Deserializer found to deserialize a ':key' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.</b>
    However if I try calling the webservice individually using SOAP Client it works fine and do get desired response.The soap message that is sent by the client to the target URL is :
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:GoogleSearch" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <soapenv:Body>
          <urn:doSpellingSuggestion soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
             <key xsi:type="xsd:string">qXWD4x1QFHIo/dePqlYOLwT7kMmkv80E</key>
             <phrase <b>xsi:type="xsd:string"</b>>Bratney</phrase>
          </urn:doSpellingSuggestion>
       </soapenv:Body>
    </soapenv:Envelope>
    However if i remove the "xsi:type="xsd:string" part from the element 'phrase' and 'key' it returns the same error as it does while using with XI.
    Hence I am assuming that that the outgoing soap message elements need to have the above highlighed attribute.
    Now I want to have this attribute(xsi:type="xsd:string) in the soap message that is sent from XI.
    My question is , Is there any setting using which I can add the attributes in the above form to the outgoing message from XI.I do not want to use a adapter Module.
    Thanks & Regards,
    Sidharth

    Hi Sidharth,
    You post here the soap message that is sent by the client to the target URL, but did you look to the soap message that is sent by XI?
    Try the AF monitor http://<host>:<j2ee-port>//MessagingSystem/monitor/monitor.jsp?
    Because XI soap adapter doesn't support all tags of wsdl rpc-based, we need to adjust them...
    Look to the SOAP FAQ (SAP note number 856597) under question "Can I convert an RPC styled WSDL to a document styled WSDL?"... Look at last but one paragraph ;o)
    So, you need to change this attribute to one that it is compatible...
    Go to http://service.sap.com/xi > Media Library > Documentation and there you will find this xls document -> SAP XI 3.0 (SP11) - Supported XML Schema and WSDL (EN) in this document you have all the compatible elements of wsdl for XI.
    One more thing, you can adjust your soap request and change or add the required tags You can do it with xslt-mapping or create your won data types in XI without import the WSDL generated by google. 
    Hope it helps,
    Ricardo.
    Message was edited by: Ricardo  Quintino

  • Error in configuring soap adapter

    Hai!
    Iam working with rfc to webservice scenario.
    In that while configuring the soap adapter, the following errors have occured.
    SOAP: failed to sign the message due to java.security.PrivilegedActionException: com.sap.aii.af.security.impl.exception.MessageSecurityException: AccessControlException in Method: apply( Message, CPALookupObject ). The Code-Permission processing failed.
    SOAP: error occured: com.sap.aii.messaging.srt.BubbleException: WS-Security privileged action exception [null "null"]; nested exception caused by: java.security.PrivilegedActionException: com.sap.aii.af.security.impl.exception.MessageSecurityException: AccessControlException in Method: apply( Message, CPALookupObject ). The Code-Permission processing failed.
    Please! help me in sorting it out.
    Regards,
    Saritha.

    try this link
    check with  all settings
    http://www.****************/Tutorials/XI/RFCtoSOAP/page1.htm

  • SEND SYNC IN BPM SOAP ADAPTER FOR WS

    Hi all,
    I´m having problems with an BPM that send a sync message to a ws using a Soap adapter. I have the following error
    Work item 000000087293: not possible execute CL_SWF_XI_MSG_BROKER, method SEND_SYNCHRON.
    I´m on SP15.
    Any Idea?
    Many thanks
    Noelia

    Hi,
    Go thru this thread:
    Interface Mappings in BPM Collect Pattern
    Then try this
    1)do a CACHE REFRESH. Is it working?
    2) Check transaction SWDD
    3) If no other go then try this:= Copy your old BPM to a new name and delete the old one. The again eport it in the Configuration with the old name.
    Regards
    Suraj
    Message was edited by: S.R.Suraj

  • Prefer HTTP or SOAP Adapter for file upload

    Hi,
    I have the following scenario:
    Data (about 50 MB) is sent to PI and should get uploaded as file to a third party system.
    I don't want to the use the File Adapter as I would have to use the FTP protocol and then have to install a FTP server.
    On the third party system exists already a Web service for uploading files (in this case I would take the SOAP Adapter).
    Another possibility would be to transfer the data with the HTTP Adapter.
    My question is what are advantages and disadvantages of transferring the data to the third party system with the HTTP Adapter and respectively with the SOAP Adapter.
    Thanks and regards
    Patrick

    Hi,
    thanks for your answer, but most of threads say only that SOAP Adapter is for communication with Web services and HTTP not.
    I know this already and in my case I can use both Adapters for the same task and want to know which I should choose in this case.
    Like which one is maybe faster, more reliable, practicable , better for large files...
    Regards
    Patrick

  • Configuring JMS adapter for a BPEL process which puts a msg in a Q of MQ

    Hi,
    I am trying to develop a BPEL process which picks up a message from a Q in Websphere MQ and puts that message in another Q of MQ after processing that.
    I have updated the oc4j-ra.xml with the following inputs:
    <connector-factory location="eis/MQSeries/Queue" connector-name="Jms Adapter">
              <config-property name="connectionFactoryLocation" value="com.ibm.mq.jms.MQQueueConnectionFactory"/>
              <config-property name="factoryProperties" value="QueueManager=TestManager;TransportType=1;Hostname=machine's ip address;Port=1414;Channel=channel name for connecting to client"/>
              <config-property name="acknowledgeMode" value="AUTO_ACKNOWLEDGE"/>
              <config-property name="isTopic" value="false"/>
              <config-property name="isTransacted" value="true"/>
              <config-property name="username" value="admin"/>
              <config-property name="password" value="welcome"/>
         </connector-factory>
    But while testing the BPEL process, I get the error:
    <remoteFault>
    <part name="code" >
    <code>null</code>
    </part>
    <part name="summary" >
    <summary>file:/D:/OraBPELPM_2/integration/orabpel/domains/default/tmp/.bpel_MQMessaging_1.0.jar/Outbound.wsdl [ Produce_Message_ptt::Produce_Message(SourceEmployee) ] - WSIF JCA Execute of operation 'Produce_Message' failed due to: Adapter Framework unable to create outbound JCA connection. file:/D:/OraBPELPM_2/integration/orabpel/domains/default/tmp/.bpel_MQMessaging_1.0.jar/Outbound.wsdl [ Produce_Message_ptt::Produce_Message(SourceEmployee) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12141 ERRJMS_CONN_FAC_NOT_FOUND. Unable to instantiate connection factory. JMS adapter was unable to look up the connection factor com.ibm.mq.jms.MQQueueConnectionFactory neither through JNDI nor instantiate it as a Java class Please examine the log file to determine the problem. ; nested exception is: ORABPEL-12511 Adapter Framework unable to create outbound JCA connection. file:/D:/OraBPELPM_2/integration/orabpel/domains/default/tmp/.bpel_MQMessaging_1.0.jar/Outbound.wsdl [ Produce_Message_ptt::Produce_Message(SourceEmployee) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12141 ERRJMS_CONN_FAC_NOT_FOUND. Unable to instantiate connection factory. JMS adapter was unable to look up the connection factor com.ibm.mq.jms.MQQueueConnectionFactory neither through JNDI nor instantiate it as a Java class Please examine the log file to determine the problem. Please examine the log file for any reasons. Enable DEBUG logging in the BPEL Console. </summary>
    </part>
    <part name="detail" >
    <detail>null</detail>
    </part>
    </remoteFault>
    Can anyone tell me what has gone wrong in setting the connection factory for the Q or what else I have to configure to sort out this problem?
    Thanks,
    Jayatu

    I am experiencing the exact same issue while configuring for Tibco EMS!!!
    I have also checked the oc4j-xa.xml file etc and I am also unable to find any guidance on the steps required from XML config files through to adapter wizard entries!

  • How to configure FTP Adapter for multiple endpoints?

    Scenario: I have multiple ftp endpoints (5-15) and depending on some business logic, I have to send data to the right destination. With default ftp adapter configuration, I have to add a n adapter connection factory reachable via JNDI for each destination. But I want to read the different endpoints dynamically from e.g. a database and configure my ftp adapter at runtime. That's because the endpoints do change quite often.
    Interconnect had such a feature: FTP Sender: The FTP adapter supports sending to multiple FTP endpoints. This feature provides flexibility for sending messages to different remote FTP servers.
    Any ideas on that for SOA Suite?
    Thanks,
    Torsten

    For more documentation please send a mail to [email protected]

  • Install & configuring EBS Adapter for ECM

    Hi All,
    I am trying to setup IPM/ECm 11g and in the process i am configuring the EBS Adapter. Following the documentation step by step.
    As per the document it says that EBS adapter is already installed for 11g and we just need to configure.
    I have executed the steps to create AXF tables and compiling AXF_Custom.pll and changed custom.pll for zoom. During this process some of the steps involve inserting data to AFX_SOLUTIONS and AXF_SOLUTION_PARAMETERS tables. I could not find these tables in any of the scripts. I am not sure if i am missing anything.
    I have also observed there no scripts for lot of tables listed in the Imaging solution tables doc.
    Can anyone who has done this before help me if i am missing anything not in document.
    Thanks,
    Satya

    AFX_SOLUTIONS and AXF_SOLUTION_PARAMETERS are under IPM database schema

  • Configure XI adapter for abap proxy scenario- plz help

    Hi,
    Pleas help me in configureing the XI adpater in abap server proxy scenario, answer the one in bold in below
    Scenario is asynchronous
    Http -> XI ->R/3(abap server proxy)
    sender: Through http client
    receiver is abap server proxy
    Repository objects:
    Sender: sender_DT, sender_MT, sender_MI(outbound asynchronous)
    Receiver: receiver_MI
    Interface mapping: source=sender_MI, receiver_MI.
    <u>Proxy generated on R/3 client 550 for receiver_MI.</u>
    this proxy internally calls an RFC which inturn updates a table.
    Configuartion objects:
    Sender: business service, no comm channel since http sender.
    receiver: R/3 business system
    Comm channel: receiver_cc type of XI.
    transport protocol: http
    message protocol : XI 3.0, since both XI and R/3 on webas 6.4
    <b>addressing type: URL
    target host: ??? where can I find this
    service number: ?? where can I find this
    path: /sap/xi/engine?type=entry</b> i guess the path is correct for XI 3.0
    <u>My system details: XI - client 400, R/3 client  550.</u>
    Authentiction data:
    <b>user name: this user suppossed to be from R/3 or XI?,</b>
    passwrod; proper password
    <b>logon client: the client supposed to be of R/3 or XI?</b>
    Recevr determinaion, interface determination and recevr agrrement looks fine.
    Please reply , your help is appreciated.
    Thanks
    KK

    Hi,
    <i>>>>target host: ??? where can I find this</i>
    Your R/3 host number you can find System->Status
    <i>>>>service number: ?? where can I find this</i>
    You can find in SMICM in services
    <i>>>>user name: this user suppossed to be from R/3 or XI?,
    passwrod; proper password
    logon client: the client supposed to be of R/3 or XI?</i>
    R/3 logon details.
    Thanks,
    Prakash

  • Configure ethernet adapter for MacBook Air

    We use a dock with a MacBook Air.  Both were purchased about six months ago.  The dock has an ethernet port.  Under the Network Preferences I only see a wireless connection. Will I see the ethernet connection when docked?  If not how can I be sure the ethernet is being used?
    Gregg

    It could depend on the dock's compatibility with Lion/Mountain Lion. Some ethernet connectors will not function with recent changes in the OS. Even Apple's own USB ethernet adapter is incompatible. Users find that only the Thunderbolt-ethernet adapter will work.

  • Adding ClientCertLoginModule into SOAP adapter causes problem for HTTP

    Hi there,
    We are configuring SOAP adapter to use HTTPS with client authentication
    for a B2B project. We followed note 891877 to add ClientCertLoginModule
    into service sap.com/com.sap.aii.af.soapadapter*XIOAPAdapter in the
    security provider service,
    ClientCertLoginModule, SUFFICIENT
    BasicPasswordLoginModule, SUFFICIENT
    The interface for the B2B project works fine after the change.
    But other interfaces which are using HTTP to connect to SOAP adapter
    are all failing with HTTP code 302. Because all these interfaces are
    using HTTP protocal with username/password for authentication, we
    expect they should still work because the BasicPasswordLoginModule is
    listed in the login module stack.
    Any help is much appreciated..

    Hi there,
    We are configuring SOAP adapter to use HTTPS with client authentication
    for a B2B project. We followed note 891877 to add ClientCertLoginModule
    into service sap.com/com.sap.aii.af.soapadapter*XIOAPAdapter in the
    security provider service,
    ClientCertLoginModule, SUFFICIENT
    BasicPasswordLoginModule, SUFFICIENT
    The interface for the B2B project works fine after the change.
    But other interfaces which are using HTTP to connect to SOAP adapter
    are all failing with HTTP code 302. Because all these interfaces are
    using HTTP protocal with username/password for authentication, we
    expect they should still work because the BasicPasswordLoginModule is
    listed in the login module stack.
    Any help is much appreciated..

  • Failed in Message Mapping for Sender SOAP Adapter

    I am using a synchronous Sender SOAP adapter for sending SOAP messages using HTTP security protocol. I am trying to send SOAP messages to XI and then to RFC-R/3. And Responses back from RFC to XI and then to SOAP. I am getting an error for failed in message mapping in SXMB_MONI for converting SOAP messages to RFC. When I debug it in Message Mapping in Integration Repository, it works fine.
    Any help is appreciated.
    Thanks in advance!
    Mrudula

    Hi,
    try to do a full cache refresh
    regards,
    Jakub

Maybe you are looking for

  • HP Deskjet 880c print error on Intel iMac

    Using OS 10.4.8 built-in HP inkjet 3.3 universal binary driver, DeskJet 880c via USB printing fails on two Intel iMac's. Same printer works okay on 10.3 PowerPC G4 eMac with pre-Intel 2.7 driver. HP Support offered driver refresh procedures which do

  • IDVD windows don't display

    This is really bothering me now. I started using iDVD last week to create a DVD menu for my 23 minute iMovie project. Today, I attempted to open the project file and it doesn't load. iDVD menu loads up and I can edit drop zones, burn the disc, etc, b

  • Material consumption for subcontact

    Hi can any body help me about on subcontracting consumption materals in month wise report.. is there any std LIS for this report..? if it s not can we custmize the LIS..? thank u & regards sesidhar

  • Authentication for user xyz denied in realm wl_realm

    Hi I encounter this exception when my application tries to perform a jndi lookup for an ejb service. How do I grant the user access?I am currently running WL61SP1 on WLCSSP2. Any help is appreciated. Thanks.

  • ISE 1.1 - AD Page Error

    Hi, While configuring the ISE 1.1... I have to integrate the AD with ISE... But, i m not able to open the page and its giving me the below error... There was an error while parsing and rendering the content. (Could not load class 'dijit.layout.TabCon