HTTP - SOAP

Hi gurus,
We want to create the following scenario:
HTTP - XI - SOAP
We have test with several combinations of the parameters of the HTTP Adapter Sender and the SOAP Adapter Receiver and we obtain:
java.io.IOException: invalid content type for SOAP: APPLICATION/OCTET-STREAM
at com.sap.aii.messaging.net.MIMEInputSource.readBody(MIMEInputSource.java:363)
at com.sap.aii.messaging.net.MIMEServletInputSource.parse(MIMEServletInputSource.java:58)
at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:359)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
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:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
or
XIServerUNKNOWN.DeliveryException
com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:CANNOT_READ_PAYLOAD:
at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:451)
at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:125)
at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:831)
at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
Also we have proven with several modules and parameters in the SOAP Adapter.
The HTTP Service is run (sicf) and SOAP too.
They do not exist mappings, both structures are identical. We test the operation by means of a page HTML with the method post.
In the HTTP Adapter we have checked “Apply URL Parameters” and added the names of the parameters that we will send in the Post.
What can be happening?
Thanks

I attempt to explain better:
I use a page .html (POST) in order to invoke a one Web Service.
HTTP Adapter Sync--> Web Service (SOAP)
I configure HTTP Adapter Sender:
<a href="http://es.geocities.com/jsahagung/SDN/HTTPSender.JPG">HTTP Adapter Sender Configuration</a>
I configure SOAP Adapter Receiver:
<a href="http://es.geocities.com/jsahagung/SDN/SOAPReceiver.JPG">SOAP Adapter Receiver Configuration</a>
and
<a href="http://es.geocities.com/jsahagung/SDN/SOAPReceiver-Module.JPG">SOAP Adapter Receiver Configuration</a>
The code of HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Test HTTP Adapter</TITLE>
</HEAD>
<BODY>
<FORM METHOD=POST ACTION="http://host:ABAPPort/sap/xi/adapter_plain?namespace=http%3A//calculadora.es
&interface=MI_OUT&service=BS_Sender&QOS=BEhttpclient&sap-user=XXXXXXXXXX
&sap-password=XXXXXXXX&sap-client=XXX">
OPER1: <INPUT TYPE="text" NAME="OPER1"><BR>
OPER2: <INPUT TYPE="text" NAME="OPER2"><BR>
OPERATOR: <INPUT TYPE="text" NAME="OPERATOR"><BR><BR>
<INPUT TYPE="submit">
</FORM>
</BODY>
</HTML>
Well, with this configuration, the error that shows is: “CANNOT_READ_PAYLOAD”.
If I delete module "localejbs/AF_Modules/MessageTransformationBean" and checked "Do not Use SOAP Envelope" the error that shows is: "invalid content type for SOAP: APPLICATION/OCTET-STREAM".
I don't mapping.
The content-type of request is application/x-www-form-urlencoded (SXMB_MONI)
My questions are:
1 - What is wrong?
2 - How I must to configurate communication channel so that the scenario works?
3 - Is Message Mapping with Java mapping necesary?
4 - Are there any blog with this scenario?
5 - The HTTP Adapter automatically doesn't transform request HTTP into XML/XI?

Similar Messages

  • QoS - EOIO in RFC and http/SOAP adapters

    Hi all,
    I need to have the QoS as EOIO in my interface where I am using RFC Sender adapter and HTTP/SOAP receiver adapter and using BPM Integration process.
    I have seen in the adapter attributes that these 2 adapters support the EOIO. I don't know how to specify this service in the adapters.
    Is there any special way of specifying this?
    Any help in this regard is highly appreciated.
    My interface is async and we are at SP 14.
    Thanks
    Kalyan

    Hi Kalyana,
    Check these..
    2 scenarios with 1 Rfc-queue does it work ??
    RFC synch/asynch
    Queues for RFC-Destination
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • Selected communication channel IDoc_AAE_In is assigned to the wrong adapter type IDoc_AAE Supported adapter types: HTTP, SOAP, XI, WS.

    Hi Team,
    I have a problem.
    I have a scenario using the the Sender Adapter. HTTP_AAE
    When I am trying to use the function "Display WSDL" I am receiving the following.
    Error:
    Selected communication channel HTTP_AAE_In_SAPII is assigned to the wrong adapter type HTTP_AAE Supported adapter types: HTTP, SOAP, XI, WS.
    Somebody knows this problem?
    Thanks

    Hi,
    am also getting same error.
    think that feature is not supported.
    have look on Configuring the Java HTTP Adapter on the Sender Channel - Advanced Adapter Engine - SAP Library for sending a message.
    reg,avinash M

  • Difference between Https & SOAP adapter

    Hi Experts
    What is the difference between Web srvice and Http request, when do we used each of them
    Thanks
    RP

    Dear PR,
    Use of HTTP: communication between website and XI, for example you are sending information from webpage forms via post method.
    Use of SOAP: With many sophisticated web application and services and even between two XI system.
    HTTP Adatpter Vs Soap Adapter
    HTPP Adatpter Vs Soap Adapter ????
    Difference between SOAP and Http Sender
    Difference between SOAP and Http Sender
    Plain HTTP Adapter vs SOAP Adapter with regards to SSL
    Plain HTTP Adapter vs SOAP Adapter with regards to SSL
    Difference between SOAP and HTTP:
    SOAP in background uses XML + http
    you expose outbound interface as a webservice and create a SOAP request to access it.
    you send http request to ping a integration scenario directly at the integration engine
    You can use HTTP adapter for interacting with HTML pages.
    SOAP adapter is used for exposing an interface as Web service.
    Thanks,
    satya Kumar

  • Frequency of Message Sending for HTTP/SOAP Receiver

    hi,
    is there a way to schedule a message for a particular time/situation until we get the response from the receiver?
    Say i am connecting to a https://test.com/OrderReceive, for some reason the receiver has failed to receive the message.
    Is there a way for HTTPS/SOAP like how we have for a FILE adapter to poll the message at a regular interval until we get a success response?
    Thanks,
    Tirumal

    Hi Tirumal,
    you can build a business process with a synchronous sendstep. In case of error you jump into an exception branch. There is an endless loop with a wait step and the same send step. In case of success you raise another exception which can end the process.
    Sounds more complex than it is
    Regards,
    Udo

  • Problem initiating process with multiple operations using HTTP/SOAP

    Hi,
    I have defined a process which has multiple operations. My process starts with a pick activity containing onMessage branches for each possible operation. When I initiate this service using the BPEL console, I choose one of the operations and everything works fine.
    However, when I initiate this process using an HTTP/SOAP web service call using JMeter, always the first branch is executed regardless of the message I send.
    My operations are document/literal. Due to some restrictions, I cannot define a SOAPAction for the operations. Could this be the problem? Is there a workaround for this? If this is not the problem, what could be the cause?
    I'm using version 10.1.2.1.
    Any help will be appreciated. Thanks in advance..

    hi i am using 10.1.3 and still i can not initiate a process with multiple operations. Is there anybody to tell if pick activity works fine and if there are some points to consider?
    If there is a problem is there any solution to make a process with multiple operations?

  • Error in HTTP - SOAP synchronous senario.

    Hi All,
    I am working on a HTTP -> SOAP synchronous scenario. I am using the wftetch tool to send HTTP request. I am getting the following error in the Wfetch tool  when I try to execute the same:
    URL-Parameter service (sender service) in URL is missing
    And in SXMB_MONI I get following error:
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Connection timed out: connect</SAP:AdditionalText>
    Please provide inputs to correct the error.
    Many thanks,,
    Neha

    Hi Neha,
    pls do chk the link that u have used to connect the SOAP and chk in the Wfetch tool
    for the address
    do chk this links
    /message/266750#266750 [original link is broken]
    Some handy HTTP tools
    Thanx
    Sampath

  • Convert HTTP SOAP to JSON.

    Hi,
    I have a HTTP SOAP Request. I would like to convert the SOAP Body Message to JSON. Can you please let me know if there are any inbuilt API's for that.
    Thanks in advance.
    Regards,
    Raghu

    Check this Site
    http://www.json.org/java/
    This will provide classes that converts XML data to JSON
    Regards
    Rajkiran

  • Http & soap adapters

    In http & soap adapters,which one gives u the better performance.For web services wecan use both http & soap adapters,so in which case u use soap adapter and in which case u use http adapter

    Tummala,
    I would suggest to go with HTTP adapter when compared with SOAP adapter because HTTP adapter directly runs on Integration Engine. Whereas the SOAP adapter runs on the Adapter Engine. So it will take more time when compared to HTTP. Also HTTP is good in performance to SOAP. Unless the business requirements needed we can go with HTTP when compared with SOAP. This are my views on this two adapters.
    Please go through this links for some more information on this:
    HTPP Adatpter Vs Soap Adapter ????
    Plain HTTP Adapter vs SOAP Adapter with regards to SSL
    Regards,
    Satish

  • The SOAP action specified on the message, '', does not match the HTTP SOAP

    Error Message: " The SOAP action specified on the message, '', does not match the HTTP SOAP Action"
    we need establish webservice link with our vendors, they are on windows platform and we are on java.
    they gave us this URL:
    http://mesadstage.webhop.net/MesadSCService/EBOrderService.svc?wsdl
    I create a project in Netbeans, then add Web Service Client, put the URL in, after the some configuration and source code generation, i put these codes in the public void main(String[]), it always returned the error msg:
    Error Message: "The SOAP action specified on the message, '', does not match the HTTP SOAP Action, 'http://tempuri.org/IEBOrderService/GetData'. "
    what was wrong? any thing that I din configured? or it caused by different platforms???
    h2. error message (stack trace)
    javax.xml.ws.soap.SOAPFaultException: The SOAP action specified on the message, '', does not match the HTTP SOAP Action, http://tempuri.org/IEBOrderService/GetData'.
    at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:1326)
    at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.demarshalFaultResponse(MethodMarshallerUtils.java:1052)
    at org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMethodMarshaller.demarshalFaultResponse(DocLitWrappedMethodMarshaller.java:659)
    at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.getFaultResponse(JAXWSProxyHandler.java:577)
    at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResponse(JAXWSProxyHandler.java:520)
    at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:386)
    at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:171)
    at $Proxy11.getData(Unknown Source)
    at javaapplication7.Main.a(Main.java:28)
    at javaapplication7.Main.main(Main.java:43)
    h2. source code:
    try {
    org.tempuri.EBOrderService service = new org.tempuri.EBOrderService();
    org.tempuri.IEBOrderService port = service.getWSHttpBindingIEBOrderService();
    java.lang.Integer value = Integer.valueOf(0);
    java.lang.String result = port.getData(value);
    System.out.println("Result = " + result);
    } catch (Exception ex) {
    System.out.println("Error = " + ex.getMessage());
    ex.printStackTrace();
    }

    Try to rebuild the index file of the troubled folder.
    Right-click the folder - Properties - Repair Folder

  • Header autentication Receiver HTTP (soap-axis)

    hi,
    I need to place the authentication in the header to the SOAP receiver channel is for soap-http axis.
    Place the authentication module, but the monitor shows pi invalid username and password.
    Was entered in the module, but does not work
    ParameterName Module Key Parameter Value
    wssec UsernameToken action
    wssec Handler.Type java: com.sap.aii.adapter.axis.ra.handlers.security.WSDoAllSender
    wssec passwordType PasswordText
    wssec pwd.password <enter password> = <enter password>
    wssec user <enter username>
    How rare header from soapUI putting in username and password works, but since IP does not work, it no longer occurs to me that may be happening.
    We spent a WSDL with soap12, you can from an XSL add the user and password or may be going ?.
    Greetings.

    Hi Diego
    Check this links
    SOAP Header Authentication
    https://websmp230.sap-ag.de/sap/support/notes/1039369
    Regards
    Osman

  • SAP PI: HTTP/SOAP sender content conversion

    Hi,
    We should be able to receive a flat file within a HTTP request and map it in SAPXI. However, as no modules can be used in the sender SOAP adapter, also the AF_Modules/MessageTransformBean cannot be used for the file conversion to XML. Are there other alternatives ?
    Thanks,
    Jan Macken

    /people/william.li/blog/2009/03/19/adapter-user-module-for-http-adapter

  • Https SOAP Action in PI 7.1

    Hi
    Working on Prooxy to SOAP Scenario, I need to use the https://Submittoiso in the Webservice side, In order to use SOAP with Https: what are all paremeters need to get my the external vendor like SSL
    Authentication
    Please let me know
    Thanks
    PR

    Hi,
      you need to get,
        Host name with fully qualified
        HTTPS port
        Server certificate
        If you used HTTPS with client authentication then Client certificate.
        If you have firewall after the XI server then you need IP also.For opening IP and HTTPs port.
    Regards,
    Prakasu.M
    Edited by: prakasu on May 15, 2009 12:44 PM

  • Error Https SOAP Adapter:NoSuchAlgorithmException: No such algorithm: RSA

    Hi,
    I'm using a SOAP Adapter Receiver to integrate a file to an External WS (with HTTPS). But when I tried to execute It I got the following error:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Unable to encrypt preMasterSecret: java.security.NoSuchAlgorithmException: No such algorithm: RSA: iaik.security.ssl.SSLException: Unable to encrypt preMasterSecret: java.security.NoSuchAlgorithmException: No such algorithm: RSA
    SOAP: call failed: iaik.security.ssl.SSLException: Unable to encrypt preMasterSecret: java.security.NoSuchAlgorithmException: No such algorithm: RSA     
    I think It is a problem with the creation of the secure channel of HTTPS.
    Any tip is very welcome!!
    Thanks
    Martin

    http://java.sun.com/j2se/1.4.2/docs/guide/security/jce/JCERefGuide.html#AppA
    there is not much info to find about who provides for RSA.RSA is already implemented in the Crypto-Provider by Sun. You don't have to laod a special provider.
    The following sample is just enough:
    Cipher cipher = Cipher.getInstance("RSA");Jan

  • Polling with HTTPS (SOAP sender adapter)

    Hi,
    we are using SAP PI 7.1 EHP 1 and we have to set up a scenario, in which a business partner is going to send us IDocs over HTTPS.
    Now our security team has objections, that incoming messages could be too risky. So we have to figure out if it's also possible, to set up a polling over HTTPS. Unfortunately there's no availability to insert an URL in the SOAP sender adapter, so I think it's NOT possible.
    Any other ideas or agreements?
    Thanks in advance,
    Juergen

    I think SOAP sender adapter supports HTTPS (w/ and w/o client certificate) ... But you'll need to complete the security setup (root CA, etc) before, and then give the "to-be-called" URL to yout partner.
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    Rgds
    Chris

Maybe you are looking for

  • How can I find out who is connected to my Airport network?

    I want to see if people are stealing my internet, is there anyway I can find out how many specific users are connected to my airport express? Thanks very much.

  • Efficemcy question: Add a field or use a function

    I have a table with information about employees. Each empl receives a salary and I need to show the cumulated salaries over a period of time - for every employee. so imagine this, every time you ignite the program you see a list of empls (100+) and t

  • N8 problem before and after ANNA update

    Dear Gent's in Nokia, Me and my 2 friends have same mobile "nokia N8". When we purchased phones we have had one very annoying problem , phone resets 1-2 times during the 48hours and always happens when we try to call someone . We have been patient a

  • Print preview problem after SP upgrade in ECC 6.0

    Hi Everyone, We have recently upgraded support packages in our sap system. During tetsing we have come up some issues with print preview in sp01 transaction. If we click on print preview This is missing a lot of the formatting e.g. lines and logos. H

  • Setting up RAID for a drive with user folders on it!

    We have one hard drive for user data, partitioned into 2 volumes, IDHome and IDData. IDHome contains the home directory for all the users. IDData is shared network data. I want to set up a Raid 1 array for this entire drive, however it seems that you