Soap TO HTTP

HI  GUYS
NOW  I HAVE A PROBLEM
WHEN I DO THE SCENARIO SOAP TO HTTP ,I USE THE SOAPUI TOOL  TO TEST IT ,THE RESPONSE  SHOW  MAPPING ERROR
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP:Body>
      <SOAP:Fault>
         <faultcode>SOAP:Server</faultcode>
         <faultstring>System Error</faultstring>
         <detail>
            <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
               <context/>
               <code>MAPPING.EXCEPTION_DURING_EXECUTE</code>
               <text>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_RESPONSE_: RuntimeException in Message-Mapping transformatio~</text>
            </s:SystemError>
         </detail>
      </SOAP:Fault>
   </SOAP:Body>
</SOAP:Envelope>
BUT IN sxi_monitor i copy the response payloads  and test it in ir  ,it's ok.
so now i don't  sure is the daty type   Case sensitive.
my response data type is that :
MT_RESPONSE_SEND
   ICBCYH
       opRep
           opName
       opResult 
           Account_num
should the 'opRep'  'opResult  ' be  Capital  ?
PLZ help

Hi,
What is the Request payload you are testing in Soap UI , is it same as the one used by you for the testing in MApping tool.
As its a Mapping error, without much details we will not be able to answer your question.
Please do cross check on the strucutres you use. Have you done any recent changes in the strucutre? If yes then I guess you need to generate the WSDL again in ID(senderAgreement->Display WSDL->save).
should the 'opRep' 'opResult ' be Capital
You must use exactly  same names as your DT in ESR,
Regards,
Srinivas

Similar Messages

  • SOAP over HTTP/POST

    Hi everyone,
    I'd be eternally grateful if someone could provide me with a quick + easy solution to the following (basic?) task.
    I have a user form with the required parameters and a submit button. I have an XML schema which specifies the format for the soap requests and responses. How do I accept user input, wrap it into a soap request, send it via HTTP/POST to a server ( http://localhost:9999/xyz/xyz), wait for a soap response and display the response in a readable format to the user when they press the submit button? Not that hard is it?!
    Please try to be a specific as possible because I'm no Java expert. I'm just so confused with all the tutorials about wsdl, bpel, tomcat, jax ws, glassfish etc etc etc!
    I use netbeans and java app server 9, though I'm open to other IDEs/servers.
    Any help will be greatly appreciated,
    Ruth

    https://saaj.dev.java.net/source/browse/*checkout*/saSAAJ: aj/saaj-ri/docs/index.html
    The Java Web Services Tutorial:
    http://java.sun.com/webservices/docs/1.6/tutorial/doc/index.html
    (Chapter 5)
    SOAP Tutorial: http://www.w3schools.com/soap/default.asp

  • Https for SOAP and HTTP Receiver adapters in PI 7.1

    Hi,
    We need HTTPS Transport protocol is required to send the message to receiver systems.
    Currently we are using below procedures for https:
    1)     HTTP with SSL (= HTTPS) without client authentication
    2)      HTTP with SSL (= HTTPS) with client authentication
    But client donu2019t want this procedure.
    Here my question is How to enable the https Transport protocol in SOAP and HTTP Receiver adapters.

    >>Here my question is How to enable the https Transport protocol in SOAP and HTTP Receiver adapters.
    What I see is your client wants PI to send communication via HTTPS transport protocol. That means you have to apply for trusted certificate and import that certificate root node in Netweaver keystore.
    Then change the transport protocol from http to https in soap and http receiver communication channel and communicate to client via certificate authentication.
    Plenty of documents available in sdn about https certificate authentication. Please go through those links.
    check this thread.. might be helpful
    Client Certificate for PI authentication when Web Dispatcher terminates SSL

  • SOAP Adapter - HTTPS w/ client authentication -SSL termination @ dispatcher

    Hi,
    We have a SOAP client sending SOAP message over SSL to PI. We are using client cert for authentication, but terminating SSL at web dispatcher. In this scenario, i) do we need to configure security for XISOAPADAPTER in Visual admin on PI and ii) do we need to set HTTPS with client authentication security option in SOAp Sender communication channel?
    My understanding is that since we are terminatinating SSL at web dispatcher (Server authentication happens between third-party gateway and our gateway and when web dispatcher terminates SSL, client cert for auth is passed via httpheader to PI where it is mapped to UME user with sufficient authorizations) we don't need to set the XISOAPADAPTER security (if it is end-to-end ssl we would i guess set up in V. Admin>Security provider service>clientcertloginmodule for XISOAPADAPTER) and we don't need to set the sender channel as https with client authentication ( it should just be http in SOAP sender channel).
    Is my understanding correct? I will really appreciate any clues?
    Thanks,
    Saurabh

    Hi saurabh
    follow these links to SAP note
    these will be helpful for you
    Note 856597 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 SOAP Adapter
    https://websmp102.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=856597&_NLANG=E
    Note 856599 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 Mail Adapter
    https://websmp102.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=856599&_NLANG=E
    Note 870845 - XI 3.0 SOAP adapter SSL client certificate problem
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=916664&nlang=EN&smpsrv=https%3a%2f%2fwebsmp102%2esap-ag%2ede
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=870845&nlang=EN&smpsrv=https%3a%2f%2fwebsmp102%2esap-ag%2ede
    regards
    Sandeep
    If helpful kindly reward points

  • SOAP with HTTPS Connection

    Hi All,
    For a requirement, I need to connect the PI with 3rd party Web server system for both inbound and outbound interfaces.
    Currently, I am with SAP PI 7.31 single stack system. I was communicated as HTTPS without client Authentication option need to use.
    As I read in some of the discussion, there is no need of using exchange certifications if HTTPS without client Authentication was selected.
    My Basis team confirmed, we have installed the certificates in PI machine. I didn't see any option of selecting the certificate in the sender SOAP communication channel. we have already shared the SOAP URL(https://..... :HTTPS enabled port/.....) of the particular interface to web server team to trigger data. But in SOAP receiver channel, I have given the https:// based URL of the web server system along with the selection of HTTPS without client Authentication option.
    When I pinged the Receiver Communication Channel, getting error as below.
    What is the exact difference between the 1. HTTPS without client authentication
                                                                2. HTTPS with client authentication.
    Can anybody explain the above questions in detail, particularly about the 1st once.
    Regards,
    Raj kumar.

    Hi Harish,
    Thanks for your reply.
    Second link gave me the clarity on the with & without client authentication. Now I am clear about the Sender Soap Channel. Confirm me, I don't have to select any option, other than providing the https://... based URL of the webservice system at receiver SOAP Channel, right?.( If my requirement is https without client authentification)
    Interface flow for my requirement will be
    ECC --> PI --> Webservice system ( Do I need to choose any option?)
    Webservice system --> PI ----> ECC.(Clear about this flow)
    If no certificates are involved for without client authentication process, how much extent it will be secure by providing security at transport level only ?
    Thanks,
    Phaniraj.

  • Enabling SOAP over HTTPs on PI7.0

    Hello
        We have a requirement to connect PI7.0 to PI7.1 with SOAP over HTTPS. Would you please let us know what all configuration need
           1.  Setting required to be done on PI7.0 ( Communication Channels, Receiver and Sender agreements)
           2.  Where to put private key and root certificate in Visual admin
           3. Port configuration for outbound and inbound traffic.
           4. Enabling of SSL on PI7.0.
           5. Any ICM related setting on PI7.0
    Thanks & Regards

    Hi Uttam,
    Hi,
    For using HTTPS protocol, you have to chose the option of HTTPS in the 'HTTP Security Level' parameter on SOAP sender communication channel.
    For using HTTPS protocol, the SSL certificates need to be deployed on the server.
    Below are the links for more information on SSL certificates:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    http://www.tldp.org/HOWTO/SSL-Certificates-HOWTO/
    For choosing & installing steps of SSL, refer the below links:
    /people/aniket.tare/blog/2005/03/22/ssl-certificate-installation-procedure-for-sap-j2ee-engine-630-150-steps-in-visual-administrator
    http://info.ssl.com/article.aspx?id=10694
    -Supriya.

  • SOAP thr HTTP

    hi ...
    did anyone use the example given by michael wooten and get the following exception?
    Exception in thread "main" javax.naming.NamingException: i/o failed java.io.IOEx
    ception: unsupported keyword EMAIL. Root exception is java.io.IOException: unsu
    pported keyword EMAIL
    at com.sun.net.ssl.internal.ssl.AVA.<init>([DashoPro-V1.2-120198])
    at com.sun.net.ssl.internal.ssl.RDN.<init>([DashoPro-V1.2-120198])
    at com.sun.net.ssl.internal.ssl.X500Name.a([DashoPro-V1.2-120198])
    at com.sun.net.ssl.internal.ssl.X500Name.<init>([DashoPro-V1.2-120198])
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V
    1.2-120198])
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V
    1.2-120198])
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V
    1.2-120198])
    at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connec
    t([DashoPro-V1.2-120198])
    at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInp
    utStream([DashoPro-V1.2-120198])
    at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:553)
    at weblogic.soap.WebServiceProxy.getServiceAt(WebServiceProxy.java:174)
    at weblogic.soap.http.SoapContext.lookup(SoapContext.java:76)
    at javax.naming.InitialContext.lookup(InitialContext.java:350)
    at DClient.main(DClient.java:111)
    does anyone noe how to solve this problem?
    thx

    Hmmm, that's wierd because I got exactly the same stacktrace you posted the other
    day when I didn't have the "127.0.0.1 weblogic.bea.com" entry in the Hosts file
    ;-) Can you try it without being connected to a network using NIS or DNS? The
    easiest way to do this is to temporarily disconnect your network cable from your
    NIC.
    Oh, oh, wait!!! Did you put it above the "127.0.0.1 localhost"
    line, or below it? I have it below it.
    Regards,
    Mike Wooten
    "Willy" <[email protected]> wrote:
    >
    hi ...
    i try adding the following to the hosts file ...
    127.0.0.1 weblogic.bea.com
    but still encountered the same error
    did u manage to send SOAP thr HTTPS
    when u made the amendment ?
    tkx
    "Willy" <[email protected]> wrote:
    tkx ... will go try ...
    Willy
    "Michael Wooten" <[email protected]> wrote:
    Hi Willy,
    I wasn't able to get the NulledHostnameVerifier to work either.
    I recommend, for test purposes with the demo cert, that you just add
    the entry
    into the Host file.
    Regards,
    Mike Wooten
    "Willy" <[email protected]> wrote:
    hi ...
    i still encountered the same error ...
    there's what i did ...
    1. i copied the NulledHostnameVerifier.class to my working dir
    2. run the example "java -Dweblogic.security.SSL.hostnameVerifier=NulledHostnameVerifier
    DClient
    did i miss out something ?
    tkx
    "Michael Wooten" <[email protected]> wrote:
    Hi Willy,
    The information I was eluding to is in the sslclient example that
    ships
    with WLS
    6.1.
    See %WL_HOME%\samples\examples\security\sslclient example.
    Regards,
    Mike Wooten
    "Michael Wooten" <[email protected]> wrote:
    Hi Willy,
    You are encountering this exception because you need to add the
    following
    entry
    to the %WINNT%\system32\drivers\etc\hosts file on your client box:
    127.0.0.1     weblogic.bea.com
    This is because the demo cert that ships with WLS 6.1 has this host(weblogic.bea.com)
    in it. I vaguely remember reading something about how to avoid having
    to add this
    entry, but I forgot where it was ;-) If I find it, I'll send the
    information
    to
    you.
    Regards,
    Mike Wooten
    "Willy" <[email protected]> wrote:
    hi ...
    did anyone use the example given by michael wooten and get the
    following
    exception?
    Exception in thread "main" javax.naming.NamingException: i/o failedjava.io.IOEx
    ception: unsupported keyword EMAIL. Root exception is java.io.IOException:
    unsu
    pported keyword EMAIL
    at com.sun.net.ssl.internal.ssl.AVA.<init>([DashoPro-V1.2-120198])
    at com.sun.net.ssl.internal.ssl.RDN.<init>([DashoPro-V1.2-120198])
    at com.sun.net.ssl.internal.ssl.X500Name.a([DashoPro-V1.2-120198])
    at com.sun.net.ssl.internal.ssl.X500Name.<init>([DashoPro-V1.2-120198])
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V
    1.2-120198])
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V
    1.2-120198])
    at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V
    1.2-120198])
    at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connec
    t([DashoPro-V1.2-120198])
    at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInp
    utStream([DashoPro-V1.2-120198])
    at weblogic.soap.WebServiceProxy.getXMLStream(WebServiceProxy.java:553)
    at weblogic.soap.WebServiceProxy.getServiceAt(WebServiceProxy.java:174)
    at weblogic.soap.http.SoapContext.lookup(SoapContext.java:76)
    at javax.naming.InitialContext.lookup(InitialContext.java:350)
    at DClient.main(DClient.java:111)
    does anyone noe how to solve this problem?
    thx

  • Could someone help me to clearly distinguish between SOAP and HTTP adapter?

    In which scenarios we can go for HTTP adapter and when to go for SOAP adapter?

    Hi Lekshmi !!
    A SOAP message will be bundled inside the soap envelope.HTTP is not an adapter in adapter engine whereas soap is an adapter i.e, HTTP doesn't require a communication channel where as SOAP requires.You can send soap messages using some SOAP client.
    SOAP Adapter is used to xchange SOAP messages bw remote clients and webservices....
    check this link for more differences..
    SOAP and HTTP adapter
    When you need to Send Data to XI from a Webservice , your SOAP adapter is used.
    HTTP adapter is used when you want to post a HTTP request message from a web application to XI.
    How can i make use of SOAP Sender Adapter without using any tools like XML Spy etc....
    XML SPy is used as a TEST tool when you are sending SOAP information to XI. TO actually send data , you need to configure a webservice and construct a SOAP request message and post the data .
    we use SOAP adapter when we need to connect to remote system or use Webservices in these cases we use SOAP adapter.
    HTTP Adapter is used by extenal systems to connect to Intergartin server using native HTTP Interface.
    the http adapter is a service which is directly connected to integration engine. Adapter Framework (Java) isnt involved. It is much more performant than SOAP adapter.
    The SOAP adapter is written in Java and is responsible for the SOAP envelope around the real XML message. You can build/remove that envelope as well in the mapping and use instead http adapter. But standard for webservices is using SOAP adapter.
    Check this thread....
    Difference between SOAP and Http Sender
    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
    Hope it clears your doubt !!!!
    Questions are welcome here!!
    <b>Also mark helpful answers by rewarding points </b>
    Thanks,
    Abhishek Agrahari

  • Looking for suggestion for SOAP over HTTP API to Oracle 10G

    I need to be able to write data to an oracle 10g database through a SOAP over HTTP connection. What is the suggest packages to do such an action.
    Best regards,
    Dale

    I suspect the problem is that the actual communication between client & Oracle DB server is done on a random "high port"; not 1522.
    The packets on the high port are not getting through the VPN.
    What I have made work in the past is to use ssh tunneling.
    Good Luck, you might need it.

  • Advantages and disadvantages of SOAP over Http

    Hi!
    Can any one explain about advantages and disadvantages of SOAP over HTTP.
    Thanks
    Sreenath

    Hi,
    Yes you can use RMI to communicate to your soa suite server allthough i could not get it to work from weblogic 10.3, there is a conflict with certain other libraries. From any other 10.1.3 oracle application server there should not be any problem. The biggest advantage of RMI over SOAP is performance. The soap client also generates lots of logging which can not be disabled, ... i already logged a bug on that. The advantage of SOAP over RMI is its underlying HTTP protocol which is, in some cases, the only protocol allowed by network engineers to pass through firewalls.
    Kind Regards,
    Andre

  • SOAP AND HTTP adptors

    Hi All,
    Difference b/w SOAP AND HTTP ADAPTORS.
    WAITING FOR REPLIES.
    SANKAR

    Hello
    Please check the Rules of Engagement, https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement, before posting on the forum.
    Please search the forum before posting questions like this. It has already been answered several times in the forum. Also you will find the answer by searching help.sap.com.
    I am closing this thread.
    Regards
    Mark Smyth
    XI/PI Moderator

  • SOAP or HTTP call in XSLT

    Hi,
    I tried to make a SOAP or HTTP call in XSLT who send an xml and receive an xml. The recieved xml will be changed. I didn't find simple call in XSLT. So I decided to make this call with java. You can use java in XSLT. I tried this but i get this error:
    D:\vb xslt java\javaxslt_example>java org.apache.xalan.xslt.Process -in example1
    .xml -xsl example1.xsl -HTML -out result.html
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xalan/xslt
    /Process
    So there is something wrong wiht calling a method. Is this an error how you call a method? Or is it maybe that xalan not good is installed? What could it be?
    With regards,
    Namik

    So there is something wrong wiht calling a method. Is this an error how you call a method?No, your error is far more elementary than that. You just don't have the org.apache.xalan.xslt.Process class in your classpath when you type that command line. So the JRE can't even start running that class. Setting the classpath is among the very first things a Java programmer should learn.

  • SOAP vs HTTP

    Hello,
    I'm new to java and I'm planning to build a client/server application, and I wanted to know what were the differences between using SOAP over HTTP to communicate between server and client, and also what are the benefits of one methodology over the other?

    You might want to take a look at the information on
    http://www.pushtotest.com/ptt
    Frank Cohen builds software to test distributed systems, and has lots of information that sounds like what you want. If you want dead tree, there's a book called
    Java Web Services
    SAMS publishing
    Various authors (Frank is one)
    They discuss in depth with examples, sample apps, advice on system set up.

  • Regarding SOAP and HTTP

    Hi,
    Please Explain Differences between SOAP and HTTP Adapters?
    Regards,
    Giridhar.C

    Hi Giri,
    Use SEARCH FUNCTION IN SDN ,YOU WILL FIND TONS OF LINKS ON SAME CONCEPT.
    Regards,
    Raj

  • Difference Between SOAP And HTTP Adapters

    Hi,
    Any body give me some information Abt Differences between SOAP And HTTP Adapters i know both are in use of Webservises. Any one come with more specific differences like in what case we go for SOAP And in what case we go for HTTP. thanks in advance.
    Thanks
    kiran.B

    Hi,
    In addition to the above
    The SOAP Adapter enables u to exchange SOAP messages between the remote clients or web servers and the integration server
    The HTTP Adapter is used to receive the arbitrary XML in the body of an HTTP-Post request.The HTTP adapter uses HTTP version 1.0 and does not support returning fault messages  to the sender.
    The HTTP adapter is used by the external systems  to connect to the integration engine using the native HTTP interface.The plain HTTP adapter is a part of integration engine.
    Regards,
    Gunasree.

Maybe you are looking for

  • Problems with Viewing JPEGs in Preview Application Solved

    Here is the fix that took care of JPG files in the Preview Application. • First, remove the preference .plist files regarding Preview: com.apple.Preview. bookmarks.plist com.apple.Preview.LSSharedFileList.plist com.apple.Preview.plist • Second, downl

  • Commit problem

    Hi All, I have 10000 records in my table... I want to use the commit statement after every 1000 records to commiting the for every 1000records... For example.. <1 to 1000> commit; <1001-2000> commit; <2001-3000> commit; <3001-4000> commit; upto 10000

  • How to auto fit column width?

    Hi experts,   When I design a input schedule, I find a problem, some columns can auto fit column width when I input numerics, some columns can not! how can I fix my input schedule and let all column can auto fit column width? best regard Evans.

  • Azure instance number changes gives wrong status to the java tomcat app

    The documentation of microsoft says ( http://azure.microsoft.com/blog/2011/01/04/responding-to-role-topology-changes/ ) you receive a changing and a changed event when the instance number is changed. In real live i see a changing, a changed and a sto

  • CS3/CS4 - Persistent data and different versions of plugin

    Hi there, In my plugin I have persistent data on e.g., the document and page items. Say that I'm in version 1.0 of my plugin has a single persistent data field on the document, and that is wish to add a second field for version 1.1. Does the SDK cont