XI - XI connect with SOAP

Hello,
i send a message from one XI to another with SOAP Adapter.
The message arrived in the second XI but following XML header is gone.
<?xml version="1.0" encoding="UTF-8"?>
any idea what i have to do that this line will not deleted?
it happend in the Recevier SOAP channel on XI one or on the Sender Channel on XI 2 ... i can't say where exactly.
we use PI 7.1 SP5
regards,
robin

Hi Robin,
Check this forum:
Posting XML via HTTP post returns "Envelope missing in SOAP message header"
just chk out this link which defines in detail about soap message and how it has to be declared
/people/padmankumar.sahoo/blog/2005/02/15/an-overview-of-soap
In the Integration Builder(Desin)->Objects->SAP BASIS->SAP BASIS 6.40->http://sap.com/XI/Demo/Agency->Adapter Objects->CommunucationChannelTemplate. Open the XIDemoChannel_WebServiceSOAP.
In the Connection Parameters check the "Target URL".
Reward points if this helps
Regards
Pragathi.

Similar Messages

  • How to move data connections with SOAP web service in different environments in InfoPath Forms 2010

    Hello,
    I've an InfoPath Form where I've around 10 SOAP web service data connections. They are calling a custom web service for a custom business process. The web service URL has a query string parameter which identifies whether it's a Test web service or the Production
    one. The web service URL looks like this:
    http://server/webservice/wsdl?targetURI=testSPRead (for the Test environment)
    http://server/webservice/wsdl?targetURI=ProdSPRead (for the Production environment)
    When I develop the form in Dev environment, I use the Test web service URL and save the data connection as UDCX files in the data connection library. After completing the development, when I deploy this Form in Production, I update the URL in the UDCX
    file in the Production data connection library, but when I run the Form in Production, it throws error 'Error occurred in calling the web service'. After doing more research, when I extracted the XSN file and opened Manifest.xsf file in Notepad, I found the
    references of 'testSPRead' parameter.
    So, in the UDCX file the web service URL is '/targetURI=ProdSPRead' but in the Manifest.xsf file, there is a reference of Test web service parameter which is 'testSPRead' and that's why it's throwing error.
    For testing purpose, I updated the Manifest.xsf file and replaced all the occurrences of 'testSPRead' to 'ProdSPRead' and also updated all the relevant files of the data connections (like XML, XSF etc.) and saved the Manifest.xsf as Form.xsn and deployed
    in Prod and it worked.
    The question is - is this the right way of doing it? There should be a simple method in such cases where web service has conditional parameter to identify the Test and Production web service.
    Does somebody know what is the right way of doing it? I also thought of adding 'double' data connections - one set of Test and another set of Production and call them by identifying the current SharePointServerRootURL, but that's a lot of work. I've 10 web
    service data connections in my Form and in that case I'll be having 20 data connections and setting their parameters in different Rules is too much work.
    Please advise. It's very important for me!
    Thanks in advance.
    Ashish

    Thanks for your response Hemendra!
    I hope Microsoft improves this thing in subsequent patches of InfoPath 2010 or InfoPath 2013 because I don't think this is a very special requirement. This is failing the purpose of having UDCX files for data connections. Why the WSDL's parameter value
    is being written in the Manifest.xsf and other XSF and XML files. InfoPath should always refer the URL and parameters from the UDCX files.
    --Ashish

  • Persistent connection with soap

    Hi,
    I need one more time your help.
    Basically I'm using soap to transfer data between 2 machines. The problem is that I have an "infinite connection" and would like to send packets from one machine to another all the time.
    Does somebody know how i could get the packets by the client using axis, one after the others ????
    tu in advance...

    You can purchase products that will do this - Sonic has one I know of. If you don't want to go this way you'll probably have to implement it yourself.

  • WSRM Adapter replaced with soap in PO7.4. Getting error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error"

    Hello All,
    We have scenario proxy->pi->webservice. In older versions of PI system they used wsrm adapter at receiver side and it's working fine.
    Receiver interface is asynchronous. So no response structute is present and receiver service is business component(since receiver is a third party).
    During migration, we have replaced the receiver adapter with SOAP adapter and used message protocol as SOAP 1.1 but the message is failing and in communication channel it is showing error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error". In this case the receiver interface is stateless xi 3.0 compatible(re using the old), after changing it to just stateless also issue persists.
    In target url field if i prefix the url with "http" then above mentioned error is occurring otherwise if i use the hostname:port/path.. then it is giving error
    "soap: Call failed: com.sap.aii.af.sdk.xi.srt.BubbleException: Unsupported protocol". So maintaing the url as http://hostname:port/pat.....
    As in old channel wsrm channel there is no userid and password, i haven't given any userid/pwd in receiver channel.
    used the bean sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean with  parameters
    Module Key  =  soap
      Parameter Name  =  noSOAPMakeSysErrFromResponseFault
    Parameter Value  =  false
    and
    xmbws.No SOAPIgnoreStatus = true
    but not successful.
    Please help me. I got stcuk here.

    Hello Jannus,
    The connectivity is working fine. Network team has confirmed it. I doubt that any strucutre(header) difference might be present in message when sending with wsrm adapter compared to sending with soap adapter.
    Please let me know the exact difference between soap and wsrm functionality in receiving end.
    By considering the structure issue, i have checked the "do not use soap envelope" check box, then i got error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 415 Unsupported Media Type"
    Then i used message transform bean, but not successful.
    Regards,
    Ch.Venkat.

  • Http tool not connecting with the PI

    Hii,,
    I have done http to soap scenario... but when i want to test from http tool (HTML file which i got from sdn) its not connecting with PI
    i given the right information in Header portion and copied my payload to html tool. when i press send button its asking PI server username and password. when i give the username and password its not connecting.. after three tries its giving the error like " logon error".. Through RWB i have checked the scenario its working fine..
    server: Pi server name
    port: 8001
    sender service: sender business system
    message interface:sender sync message interface,
    QOS: BE
    Sender Namesspace : also entered in the tool
    Is there any special configuration should done on PI server side??
    Regards,
    Balaji

    @Michal
    i gone through that link.. but i can see the design of the code.. but i can get the actual code.. how to get the actual code of the http tool..
    and in SMICM it was right.. http port is 8001 only.
    @josh
    that url is woring fine.. thanks for ur reply..
    @Kubra
    its already got activated.. thanks for ur reply..
    Regards,
    Balaji

  • Http keep-alive with SOAP webservices

    Just had an interesting experience with a web service setup behind UAG...under low load conditions all SOAP responses were coming across with no issue...once a high load was introduced by the client app the behavior changed where an initial request was
    processed and subsequent requests were rejected by UAG with a Bad Parameter : Length message...but high load (relatively) on a web browser ran without issue...the client app had to wait ~100 seconds before the next request would process correctly...browser
    works - app has problems...turns out it was the keep-alive "default" settings on both the client app server, as well as my web service in IIS...so -apparently UAG thought the 2nd (and subsequent < 100 seconds) were a parameter of the first request...and
    was way too long and got rejected...I unchecked the keep-alive enabled box on the http response header (set common headers) and all is fine now! Apparently the browsers were closing the connection with each page load and the service responded appropriately
    - so it looked like all was well. Using SOAP UI revealed the error...but it also had it's connection set to keep-alive...once that was disabled in SOAP UI all requests ran correctly...that's when I poked around and found that response header setting.

    ejp wrote:
    and also an incorrect implementation of the timeout period. This code will still wait forever if no data arrives.You're right... actually I didn't mean to put that while loop there! What I meant was simply
    if (!reader.ready())
        wait(keepAliveTimeout);
    if (!reader.ready())
        break mainLoop;
    // If we get here there is a new request to read...and I agree that it's ugly, that's why I'm asking you guys for help!
    setSoTimeout() is of course a way to go... didn't think of that although I have kind of already added it to my code but with a different timeout. Thanks!
    Last question then is:
    does reader.readLine() block like reader.read(), or do I have to use the latter?
    I would test for myself I could, but at the moment I can't...

  • Compiling PHP with SOAP/Iconv/OpenSSL support

    Hi,
    I'm not sure if this is the best place for this but the other topics seem even less related.
    I'm trying to compile PHP with SOAP and SSL on a Mac for use with Salesforce.com (it works without any issues on Gentoo and RedHat). Anytime I try to connect I get an invalid SOAP header error. It seems to be happening because the Salesforce SOAP server requires SSL connections and I don't have SSL enabled, but it's hard to backtrace. Regardless, I can't get SSL or iconv support working.
    I've installed OpenSSL both from Macports and from source using the default ./config options, neither method worked. It may be related to some issues I'm having getting iconv working as well (which I also can't seem to get right, it's installed via Macports).
    Here's my PHP configure, if anyone can let me in on what I'm doing wrong that would be great!!! Thanks in advance!
    root# MACOSXDEPLOYMENTTARGET=10.5 \
    CFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp" \
    CCFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe" \
    CXXFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe" \
    LDFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -bindatload"
    root# ./configure \
    --prefix=/usr \
    --mandir=/usr/share/man \
    --infodir=/usr/share/info \
    --with-apxs2=/usr/sbin/apxs \
    --with-config-file-path=/etc \
    --sysconfdir=/private/etc \
    --enable-cli \
    --with-curl=/opt/local \
    --enable-ftp \
    --enable-mbstring \
    --enable-mbregex \
    --enable-sockets \
    --with-ldap=/usr \
    --with-kerberos=/usr \
    --with-mime-magic=/etc/apache2/magic \
    --with-zlib-dir=/usr \
    --with-xmlrpc \
    --with-xsl=/usr \
    --with-iconv=shared,/opt/local \
    --with-openssl=shared,/opt/local \
    --with-gd \
    --with-png-dir=/usr/X11R6 \
    --with-xpm-dir=/usr/X11R6 \
    --with-jpeg-dir=/opt/local \
    --enable-exif \
    --with-freetype-dir=/opt/local \
    --with-t1lib=/opt/local \
    --enable-pdo \
    --with-pdo-mysql \
    --with-mysql-sock=/var/mysql \
    --with-mysqli=/usr/bin/mysql_config \
    --with-mysql=/usr/local/mysql \
    --with-iodbc=/usr \
    --with-curl \
    --with-config-file-path=/etc \
    --sysconfdir=/private/etc \
    --enable-soap
    Message was edited by: mkenney - bad grammar

    mkenney wrote:
    Hi,
    I'm not sure if this is the best place for this but the other topics seem even less related.
    Welcome to Apple Discussions:
    Use our Unix forum here:
    http://discussions.apple.com/forum.jspa?forumID=735
    (yes, it's a tad hidden )
    Message was edited by: nerowolfe

  • Connection with Netweaver and ECC6 how to??

    Hi SDNers
    I am doing research at the possibilities of SAP Netweaver CE 7.1, I want to set up a small "Live Demo" where my netweaver is connected with my ECC6
    For example, i made a process with some validations where i want to insert new employee data, like address Name, Last Name.
    How can i connect with my ECC6 so that the data I fill in is saved in SAP, I don't have much experience with SAP, I know I need a web service to make the connection if I'm right, how can I make / generate the web service.
    Can you give me some directions,
    Thanks
    Robin

    Robin,
    at sender you can use Webservice or File or any source to provide data to PI..
    lets take
    Webservice -->SAP PI 7.1 -->ECC 6.0
    At sender(Webservice )  you will use SOAP sender adapter  and reciever (ECC 6.0) you can use either RFC(Remote function call)  or ABAP Proxy..
    to have communication between PI 7.1 and ECC6.0 you should have the following..
    RFC Connections in SAP PI7.1
    SAP ECC6.0 -ABAP connection User: IDOC_BASIS
    INTEGRATION_DIRECTORY_HMI- HTTP connection to ABAP system - user: PIISUSER
    INTEGRATION_SERVER - User: PIAPPLUSER
    LCRSAPRFC- TCP/IP
    RFC Connections in SAP ECC6.0
    SAP PI7.1 - ABAP connection - PIAPPLUSER
    INTEGRATION_SERVER- Http connection to ABAP system- user: PIAPPLUSER

  • DI Server installation and connection with PHP

    hello,
      We've installed DI Server, started it, but the WSClient file comming with the installation doesn't work.
    a) Is the IIS needed for the DIServer to work?
    If not, what do I need to do to be able to connect to the DIServer. There's no WSDL file with the DIServer.
    b) Do I need to create my own WSDL file and put it on a Web folder?
    I say this because I'm trying to connect with PHP to the server and PEARClient from PHP needs an URL (normally the WSDL file) to connect. It's just too confusing and there is no much help in the documentation.
    thanks and greetings,
    Guillem Barnolas.
    www.softime.es

    DI server provides you a simple COM interface that
    accepts SOAP commands and returns you SOAP reply.
    The format of these SOAP messages is in the SDK
    documentation.
    You should build your own web infrastructure on
    top of this mechanism.

  • DI Server Connection with 3 different Errors after working

    Ok, I am trying to use DI Server to connect to the database but I find I get one of three different errors depending on what I try... the strange thing, is that it was working perfectly for a really short while... Maybe I am overlooking something an just need a second set of eyes... Here is my code for the connection...
    Try
         DISnode = New SBODI_Server.Node
    Catch ex As Exception
         Return "Pre-Login :: " + ex.Message
    End Try
    Try
         sCmd = "<?xml version='1.0' encoding='UTF-16'?>"
         sCmd += "<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>"
         sCmd += "<env:Body><dis:Login xmlns:dis='http://www.sap.com/SBO/DIS'>"
         sCmd += "<DatabaseServer>" & DataBaseServer & "</DatabaseServer>"
         sCmd += "<DatabaseName>" & DataBaseName & "</DatabaseName>"
         sCmd += "<DatabaseType>1</DatabaseType>"
         sCmd += "<DatabaseUsername>" & DataBaseUserName & "</DatabaseUsername>"
         sCmd += "<DatabasePassword>" & DataBasePassword & "</DatabasePassword>"
         sCmd += "<CompanyUsername>" & CompanyUserName & "</CompanyUsername>"
         sCmd += "<CompanyPassword>" & CompanyPassword & "</CompanyPassword>"
         sCmd += "<Language>3</Language>"
         sCmd += "<LicenseServer></LicenseServer>"
         sCmd += "</dis:Login></env:Body></env:Envelope>"
         sSOAPans = DISnode.Interact(sCmd)
         MessageBox.Show(sSOAPans)
         ' Parse the SOAP answer <SessionID>
         Return ParseSOAP(sSOAPans)
    Catch ex As Exception
         Return "Login :: " + ex.Message + " :: " + sSOAPans
    End Try
    Now In this state I get the "100000008 License does not exist" error
    If I put the server name that the License server is on in the license "<LicenseServer></LicenseServer>" section I get a "100000001 Connection with license server failed" Error... I pinged the server so I know its there and communicating...
    I am using the SBODemo_US company for the first two attemps. I then tryed a different company and got a "-8015 Bad company version" error... This is strange cause when checked in SBO B1 UI it stated that all companies where the same version...
    When the code worked it was with the code that was posted without any changes...
    If anyone can give me some pointers or advice on things that I may be over looking, I would be muchly appreciative... :P
    Thanks
    Jeremy Adam

    I am thinking I was unclear as to my problem... I can connect to the license Server... My problems is that after about 50 sucessful sessionID retrievals it decided to stop working and gave me a 100000008 error... I have read the other threads on this error and checked the items, like langauge, that cause this error for others but nothing I do changes this from a 10000008 error expect there was a couple of times, without changing any code, I got a 100000004 error... So what I want to know is what is a 100000008 error and what cause it so I can try and fix it... I have checked security, ports, IP's, and look the variables for the connection... Nothing works... So now I am getting frustrated and partitioning your great people for knowledge and insite... Please help!
    Thanks :P
    Jeremy Adam

  • Adobe cloud has lost connection with the server

    Adobe cloud has lost connection with the server, can't get adobe cloud to work so I can re-install photoshop to fix a corrupted DLL file.

    *Adding new items/removing orphans*
    Try iTunes Folder Watch or iTunes Library Updater. Folder Watch is much faster on the adding files front, can be set to run in the background and includes a useful exclusion feature, however it’s slow at removing orphans. iTLU is better for this although doing it manually after looking at a list of proposed removals generated by Folder Watch is probably faster still. iTLU can also be set to update iTunes when you've used 3rd party tools to change tag info.
    You may need to amend the list of file types these programs look for. My list includes:
    .mp3 .mp4 .m4a .m4b .m4p .m4v .mov .wav .aif .mid .ipa .ipg .ite .itlp .m4r .pdf
    Note the last 6 types may not be recognised as already being in the library so should either be omitted from the search or you can add (at least for Folder Watch) individual exclusions for files you know are already in your library.
    tt2

  • Untrusted server cert chain - while connecting with ldap

    Hi All,
    I am getting the following error while running a standalone java program in windows 2000+jdk1.3 environment to connect with LDAP.
    javax.naming.CommunicationException: hostname:636 [Root exception is ja
    vax.net.ssl.SSLException: untrusted server cert chain]
    javax.naming.CommunicationException: hostname:636. Root exception is j
    avax.net.ssl.SSLException: untrusted server cert chain
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.a(DashoA12275)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(DashoA12
    275)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(DashoA12275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA12275)
    at java.io.OutputStream.write(Unknown Source)
    at com.sun.jndi.ldap.Connection.<init>(Unknown Source)
    at com.sun.jndi.ldap.LdapClient.<init>(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)
    at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at javax.naming.InitialContext.<init>(Unknown Source)
    at javax.naming.directory.InitialDirContext.<init>(Unknown Source)
    at Test2.getProxyDirContext(Test2.java:66)
    at Test2.main(Test2.java:40)
    Any help would be appreciated
    Thanks in Advance
    Somu

    This got resolved when in the code the following
    System.setProperty("javax.net.ssl.tmrustStore", CertFileName);
    where cert file name is the filename with complete path.the file is a CA certificate of the LDAP server
    in X509 format

  • Hi, my MacBook Air is not working anymore if it's not connected with the power cable. It's pretty new so I can't imagine that the battery is dead already. Why can't I use my MacBook Air without the power cable even though I charged it for hours?

    Hi, my MacBook Air is not working anymore if it's not connected with the power cable. It's pretty new so I can't imagine that the battery is dead already. Why can't I use my MacBook Air without the power cable even though I charged it for hours?

    Please take the Mac to  Apple store to have it checked out.
    Genius Bar reservation
    http://www.apple.com/retail/geniusbar/
    Best.

  • Create XML file from ABAP with SOAP Details

    Hi,
    I am new to XML and I am not familiar with JAVA or Web Service. I have searched in SDN and googled for a sample program for creating XML document from ABAP with SOAP details. Unfortunately I couldn't find anything.
    I have a requirement for creating an XML file from ABAP with SOAP details. I have the data in the internal table. There is a Schema which the client provided and the file generated from SAP should be validating against that Schema. Schema contains SOAP details like Envelope, Header & Body.
    My question is can I generate the XML file using CALL TRANSFORMATION in SAP with the SOAP details?
    I have tried to create Transformation (Transaction XSLT_TOOL) in SAP with below code. Also in CALL transformation I am not able to change the encoding to UTF-8. It's always show UTF-16.
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sap="http://www.sap.com/sapxsl" version="1.0">
      <xsl:template match="/">
        <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
          <SOAP:Header>
            <CUNS:HeaderInfo>
              <CUNS:InterfaceTypeId>10006</InterfaceTypeId>
              <CUNS:BusinessPartnerID>11223344</BusinessPartnerID>
              <CUNS:SchemaVersion>1.0</SchemaVersion>
              <CUNS:DateTime>sy-datum</DateTime>
            </CUNS:HeaderInfo>
          </SOAP:Header>
          <SOAP:Body>
            <xsl:copy-of select="*"/>
          </SOAP:Body>
        </SOAP:Envelope>
      </xsl:template>
    </xsl:transform>
    In ABAP program, I have written below code for calling above Transformation.
      call transformation ('Z_ID')
           source tab = im_t_output[]
           result xml xml_out.
      call function 'SCMS_STRING_TO_FTEXT'
        exporting
          text      = xml_out
        tables
          ftext_tab = ex_t_xml_data.
    Please help me how to generate XML file with SOAP details from ABAP. If anybody have a sample program, please share with me.
    Is there any easy way to create the XML file in CALL Transformation. Please help.
    Thanks

    Try ABAP forum, as it seems not to be PI related.

  • HT204266 My iPad (version 1, IOS 5.1) has quit connecting with the store. I am unable to update or buy any app. I did a reboot and a reset with deleting the data. I can not find anything in support for this problem. Any help will be appreciated.

    My iPad (version 1, IOS 5.1) has quit connecting with the store. I am unable to update or buy any app. I did a reboot and a reset with deleting the data. I can not find anything in support for this problem. Any help will be appreciated.

    My iPad (version 1, IOS 5.1) has quit connecting with the store. I am unable to update or buy any app. I did a reboot and a reset with deleting the data. I can not find anything in support for this problem. Any help will be appreciated.

Maybe you are looking for

  • Safari won't launch after security update. ATSServer issue?

    I installed Security Update 2008-007, restarted my machine and went to launch Safari. The icon bounced but the menu bar at the top didn't change to Safari and after a few minutes I got a window appear telling me Safari had quit unexpectedly. I went t

  • OS won't boot after iTunes update

    OS 10.5.8 end of day Software Update for iTunes. This morning system will not boot - start up tone; Apple Logo & spinner, 1-2 minutes Apple logo changes to no entry symbol. Tried to start with Shift key down, NG Tried to start with PRAM keys, NG Trie

  • Error 1935 when installing Premiere Elements 11. Help!

    I get to the very end of the installation, and then it stalls and then I get an error message that says, "Error 1935. An error occurred during the installation of assembly component {CE3230AC-E72E-3EDF-8A57-87FCEICF2629}. HRESULT: 0x800736FD" Then it

  • ITunes will not stream vidoe audio to Apple Hi-Fi speakers

    Hi - Using iTunes, I am able to stream music and podcast audio to my Apple Hi-Fi speakers via Airport Express. However, VidoeCast, TV Shows and purchased movies will not stream... am I doing something wrong? Is there a workaround? hevans

  • Upload internal table data to Application server in Excel Sheet

    Hi All, I have all my data in an internal table.I want to Upload this data to the Application server in the EXCEL sheet with the Column Header. How can i do this.Is there any standarad function module or class to to write in xls format. Can anybody h