Obtaining the WSDL and sending a message (like Web Services)

Hi All,
Is it possible to use a service interface defined in XI as any other web service? Consider the following scenario.
1. Create an async service interface (outbound) in XI (This has a message mapping and the message goes to some inbound interface). 
2. Can we write an external application (a Java swing client or something) which can send a message to this service interface?
3. While writing a normal web services client we specify the url of the WSDL and then send a SOAP message using some APIs.
4. Can this be achieved in XI? If so could you provide me some links or blogs etc to have some idea about this. Also how do we specify the URL of the interface.
5. I have seen a similar application (an HTML file) which takes the XML payload (conforming to the message type of the interface) and sends the message to the interface. In this case the URL is formed from sender namespace, server name, port etc. The name of this HTML is XIHttp_adapter.html.
6. Can somebody give me more inputs in this direction?
Many Thanks,
Sandeep

Hi Sandeep,
The Info below should surely help you find an answer.
If you're on WAS 6.20 and up, you can expose an RFC as a webservice directly from WAS.
Or if you’re on Basis layer 4.6D, you'll need to use XI (or some other integration tool) to expose the RFC as a webservice.
To do this in XI you'll need to:
Integration Repository
1) Import the RFC
2) Define a message and datatype for the SOAP interface
3) Create inbound and outbound interfaces
4) Create maps between the RFC and SOAP messages
5) Create an interface map
Integration Directory
1) Create an RFC Receiver Channel
2) Create a SOAP Sender Channel
3) Generate the WSDL (Tools->Define Web Service)
You can then handoff the WSDL and a login username and password to your developer and they will have everything they need to make the WS call.
Here are answers to a few doubts u might have:
1) Do I need to actually create a WS that calls the RFC ? Isn’t the virtual interface exposed by the XI sufficient?
Yes, you need to create a WS in XI that calls the RFC.
2) If I really have to create the WS and deploy it in order to expose it with the XI, then what is my benefit of exposing it with the XI, why not just exposing it as a normal WS ?
You don't have WAS 6.20 or up. Even if you did, you may still want to expose it using XI in order to have all of your integration go through the same application.
3) If I expose my web service through the XI, how does the client application executes one of its methods? To which url does it have to access (the XI or the actual WS)?
You expose a SOAP interface in XI by generating a WSDL file. This file contains all of the information a developer will need to call the webservice including the URL.
You actually specify the URL when you generate the WSDL. Be sure to read the documentation to get the correct format because the URL that the wizard suggests isn't correct.
Also check this Pdf for the Receiever SOAP Adapter configuration:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/40728f7b-0401-0010-d9bc-8c73884a3789
Also the target URL must be the URL to the WSDL. So, if you try putting it in your browser you must see the wsdl code.Please do ensure the same.....
I hope this helps.
Regards,
Abhy

Similar Messages

  • Send Multipart message in web service

    Hi All,
    I have configured IDoc-SOAP-File scenario successfully.
    Now My sender and receiver structure is changed.
    I mean in my Idoc i cn have node repeated number of times and so i have changed my occurace at wsdl file also, so tht for all web service will be call only once and response will also have 1-unbound occurance.
    When i run sceanrio...i m able to send Idoc with multiple node in it and request is futher sent to web service.
    But in response i m gettin response only for first one as web service is just sending/accepting (?) data for 1st occurance of node.
    Please guide me for same tht how i can send multiline data to web service and accept multiline responce.
    Regards,
    Manisha

    Check this note: https://service.sap.com/sap/support/notes/856597
    Q: My web service expects a SOAP with multiple elements in the SOAP body. How can I create such SOAP message?
    Check if you have done the setting as mentioned in the answer.
    Regards,
    Abhishek.

  • 'Payload not Serializable' with custom WSDL data types in message-style web service

    I'm implementing a message-style web service which publishes to a JMS Queue.
    I had the web service built and deployed, but noticed that the "sendRequest" message's
    part was of type "xsd:anyType." This is not specific enough for our interface,
    since it is externally facing and needs to describe the object we're expecting
    on the back end.
    So I replaced xsd:anyType with mynamespace:MyType, which is defined as a complex
    type in the same WSDL document.
    My problem is that when I test the web service with the new WSDL (using the client.jar),
    I get a server-side exception from the DestinationSendAdapter.doPost() method.
    The exception reads:
    javax.servlet.ServletException: Payload not Serializable
    at weblogic.soap.server.servlet.DestinationSendAdapter.doPost(DestinationSendAdapter.java:129)
    The domain object ('classic' JavaBean) that it should map to on the server side
    extends a class that implements Serializable, so it should inherit the trait.
    So my questions are:
    1) Did I properly go about trying to restrict the object type that gets sent to
    my Destination?
    2) If no, what is the correct way? If yes, why am I receiving the Payload not
    Serializable error if the domain object implements Serializable?
    Thanks in advance.

    Resolved:
    Apparently this is the right approach, as it boiled down to a classpath issue
    on the client-side. Thanks anyway.

  • Sending JMS messages as web services

    I am trying to read a JMS topic, retrieve an XMLBean from the queue, and send it
    via web services developed in Workshop. Everything seems to deploy fine, but
    when I post a message to the topic, it just disapears. No logging, no movement
    to the specified error queue, and println doesn't print. How do I do this?

    Hi Neil,
    Have you gone through the tutorial "how to" [1] on this subject? There
    is a basic JMS/webservice example [2], outside of WLW, that may be
    useful in validating your JMS/server configuration. Also, be sure to
    check the server log file for warning/error messages.
    Hope this is of some value,
    Bruce
    [1]
    http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/howdoi/howExchangeMessageswithaJMSQueueorTopicfromaWebService.html
    [2]
    http://webservice.bea.com/message.zip
    Neil Hornbeck wrote:
    >
    I am trying to read a JMS topic, retrieve an XMLBean from the queue, and send it
    via web services developed in Workshop. Everything seems to deploy fine, but
    when I post a message to the topic, it just disapears. No logging, no movement
    to the specified error queue, and println doesn't print. How do I do this?

  • I cannot open iCal because of a problem. Can anybody help me? The computer will not allow it to open and sends a message to apple each time. The icon has gone from the dock, but ical works on my iPad and I am afraid to sync it with my computer.?

    I cannot open iCal because of a problem. Can anybody help me? The computer will not allow it to open and sends a message to apple each time. The icon has gone from the dock, but ical works on my iPad and I am afraid to sync it with my computer in case it wipes everything .

    I have the exact same problem. I have not changed anything. This is probably a bug or something that has gone bad with Mac OS X (10.7.2). I have not found any solution for this on the web.
    MacBook Pro, Mac OS X (10.7.2).

  • TS1424 has anyone not been able to get the installer to properly load and get a message like: This installer is intended for 32 bit versions of windows. Please download and install 64 bit iTuines installer instead? and even if you uninstall and reinstall

    Has anyone not been able to get the iTunes installer to load properly and get a message like this: This iTunes installer is intended for 32 bit versions of windows. Please download and install 64 bit iTunes installer instead. I have tried repeatedly to get this to load, I have uninstalled iTunes completely and reinstalled and still get the same message. I have windows XP and a brand new ipod touch which I am trying to load.

    Yes, it's come up a number of times. If you look to the right under "more like this", you'll find threads that may offer useful suggestions.
    Regards.

  • Everytime i try and send a message to my boyfriend through imessage on my ipad, it says "Message send failure" but all of the messages are coming in through my email, i hate texting my boyfriend through my email. So can someone help me, please.

    Everytime i try and send a message to my boyfriend through imessage on my ipad, it says "Message send failure" but all of the messages are coming in through my email, i hate texting my boyfriend through my email. So can someone help me, please.

    "iMessage allows users to send texts, photos, videos, contact information, and group messages over Wi-Fi or 3G to other iOS 5 users, thus providing an alternative to standard SMS messaging for all users with devices running iOS 5."
    This is what it is and what it does. You both have to have iOS 5 installed on your supported device. If that's not what your setup is, then that's your answer.

  • Olympus xz-1 camera when connected to ipad2 with supplied ubs cable into apple usb to 30pin adapter it prompts the ipad to display a message like " this device draws too much power to charge" and then i can go no further!

    olympus xz-1 camera when connected to ipad2 with supplied usb cable into apple usb to 30pin adapter it prompts the ipad to display a message like " this device draws too much power to charge" and then i can go no further! if i take the  card from the camera and put it into the card to 30pin adapter and plug that into the ipad no problems. if i connect the camera with supplied usb cable to desktop imac , no problems. if i connect my olympus slr to the ipad using its usb cable into the apple usb to 30pin , no problem .  very frustrating , i don't want to always have to take the card out of the camera to down load photos to the ipad2,IDEAS?

    I'd ask that on the iPad forum.
    https://discussions.apple.com/community/ipad

  • I can't make a call but i can received calls and send text messages its say you cannot make a call check the phone settings!

    i can't make a call but i can received calls and send text messages its say you cannot make a call check the phone settings!

    It is not a cell phone.

  • How to set up the iPhone 5 so that I can receive iMessage (incoming messages) and send text messages (outgoing) every time?

    How do I set up the iPhone 5 so that I can receive iMessage (incoming messages) and send text messages (outgoing) every time? I have limited internet quota but unlimited sms!

    Thanks!!
    The reason I don't want to set it off is because I want to let others send me iMessage - most people prefer that according to their plan.
    How do I bring this request to the hands of the people doing the ios updates? Maybe they could work on this for the future...

  • Zip the data and send as an email attachment

    Hi,
    I have a requirement where I want to send the log as an email attachment. The log size is very huge about 20MB. When I try to send this log as an excel attachment through FM SO_DOCUMENT_SEND_API1 its throwing an error related to the attachment size. Is there any way to zip the data and send the zipped attachment?
    Any help is really appreciated.
    Thnaks,
    Rajinikanth G

    which might help you getting the file from the pc or you can change the source path and then send it to the following reciptant
    data method1 like sy-ucomm.
    data g_user like soudnamei1.
    data g_user_data like soudatai1.
    data g_owner like soud-usrnam.
    data g_receipients like soos1 occurs 0 with header line.
    data g_document like sood4 .
    data g_header like sood2.
    data g_folmam like sofm2.
    data g_objcnt like soli occurs 0 with header line.
    data g_objhead like soli occurs 0 with header line.
    data g_objpara  like selc occurs 0 with header line.
    data g_objparb  like soop1 occurs 0 with header line.
    data g_attachments like sood5 occurs 0 with header line.
    data g_references like soxrl occurs 0 with header line.
    data g_authority like sofa-usracc.
    data g_ref_document like sood4.
    data g_new_parent like soodk.
    data: begin of g_files occurs 10 ,
      text(4096) type c,
       end of g_files.
    data : fold_number(12) type c,
           fold_yr(2) type c,
           fold_type(3) type c.
    parameters ws_file(4096) type c default 'c:\debugger.txt'.
    Can me any file fromyour pc ....either xls or word or ppt etc ...
    g_user-sapname = sy-uname.
    call function 'SO_USER_READ_API1'
    exporting
       user                            = g_user
       PREPARE_FOR_FOLDER_ACCESS       = ' '
    importing
       user_data                       = g_user_data
    EXCEPTIONS
       USER_NOT_EXIST                  = 1
       PARAMETER_ERROR                 = 2
       X_ERROR                         = 3
       OTHERS                          = 4
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    fold_type = g_user_data-outboxfol+0(3).
    fold_yr = g_user_data-outboxfol+3(2).
    fold_number =  g_user_data-outboxfol+5(12).
    clear g_files.
    refresh : g_objcnt,
      g_objhead,
      g_objpara,
      g_objparb,
      g_receipients,
      g_attachments,
      g_references,
      g_files.
    method1 = 'SAVE'.
    g_document-foltp  = fold_type.
    g_document-folyr   = fold_yr.
    g_document-folno   = fold_number.
    g_document-objtp   = g_user_data-object_typ.
    *g_document-OBJYR   = '27'.
    *g_document-OBJNO   = '000000002365'.
    *g_document-OBJNAM = 'MESSAGE'.
    g_document-objdes   = 'Manohar testing by program'.
    g_document-folrg   = 'O'.
    *g_document-okcode   = 'CHNG'.
    g_document-objlen = '0'.
    g_document-file_ext = 'TXT'.
    g_header-objdes =  'Manohar testing by program'.
    g_header-file_ext = 'TXT'.
    call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
      exporting
        method             = method1
       office_user        = sy-uname
       ref_document       = g_ref_document
       new_parent         =  g_new_parent
    importing
       authority          =  g_authority
    tables
       objcont            = g_objcnt
       objhead            = g_objhead
       objpara            = g_objpara
       objparb            = g_objparb
       recipients         = g_receipients
       attachments        = g_attachments
       references         = g_references
       files              = g_files
      changing
        document           = g_document
       header_data        = g_header
      FOLMEM_DATA        =
      RECEIVE_DATA       =
    File from the pc to send...
    method1 = 'ATTCREATEFROMPC'.
    g_files-text = ws_file.
    append g_files.
    call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
      exporting
        method             = method1
       office_user        = g_owner
       ref_document       = g_ref_document
       new_parent         =  g_new_parent
    importing
       authority          =  g_authority
    tables
       objcont            = g_objcnt
       objhead            = g_objhead
       objpara            = g_objpara
       objparb            = g_objparb
       recipients         = g_receipients
       attachments        = g_attachments
       references         = g_references
       files              = g_files
      changing
        document           = g_document
       header_data        = g_header
    method1 = 'SEND'.
    g_receipients-recnam = 'MK085'.
    g_receipients-recesc = 'B'.
    g_receipients-sndex = 'X'.
    append  g_receipients.
    call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
      exporting
        method             = method1
       office_user        = g_owner
       ref_document       = g_ref_document
       new_parent         =  g_new_parent
    importing
       authority          =  g_authority
    tables
       objcont            = g_objcnt
       objhead            = g_objhead
       objpara            = g_objpara
       objparb            = g_objparb
       recipients         = g_receipients
       attachments        = g_attachments
       references         = g_references
       files              = g_files
      changing
        document           = g_document
       header_data        = g_header.
    this code might help you

  • Why my Ipod send a message like "a problem with server bloq connection of ID Apple"

    Hi i just buy an Ipod Touch 8GB is my second one the last one have lost in the street, i Know my Apple ID and my password but when Itry to setup the new one send that message i am from mexico and my message is in spanish more less like this Impossible start session A problem with server is bloking the connection with the ID Apple . Try to connect again.

    What is the error message you are receiving and it is from iTunes or your iPod Touch?
    B-rock

  • How do i clear the receiver and send buffer?

    I am trying to communicate with the Votsch 3050 thermal chamber, with LabVIEW as the control software via serial RS232. In sending the required ASCII strings, there was no response from the chamber, yet no error.
    The manufacturers indicate clearing the receive and send buffer using the the "PurgeComm(HANDLE hFile, DWORD dwFlags)" function in C, but offer no LabVIEW support.
    Does any one have any ideas on how i can do this using LabVIEW? Any Information or VIs would be greatly appreciated.

     @dsbuxi I have worked with many patient monitors. They often work in a client server setup. Data is not sent before you request it. And the communication has to follow a certain protocol. Your job will be to implement this protocol in Labview.  This is not too hard, but it requires some reading to understand the protocol. I am not able to send you any code, but feel free to ask if you need some help regarding the protocol 
    And you may have to order or make a custom cable. But you will also find this information in the protocol description. Good luck
    Message Edited by t06afre on 01-07-2009 09:03 PM
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Is it possible to read information off the desktop and send it to java ?

    Hello. I am wondering if it's possible with Java to read information off the
    screen and send it to a java listener to be interpreted.
    information such as comparable images (ie images that you can match with an
    image you already posess in order to classify it) or simply text.. or colors
    ie could I say for exemple be "listening" at a certain coordinate say 560x76
    0 and whenever that pixel turns a certain color than that activates a functi
    on and sends it the color data.
    or I could be listening for any changes in a small box and whenever that are
    a changes it copy/pastes its contents to be interpreted or compared
    I know this is all pretty advanced.. and obviously it can be done but perhap
    s not with java but I'm hoping someone knows if it can and could give me a p
    ointer like a link so I can read up on it and learn how to do it.
    thanks for you help in any case

    have you considered that perhaps the casino enjoys the fact you have to make a small deposit before you can use one of these companies they have a deal with ?
    hey is it so hard to believe that perhaps the casinos were the ones that came up with the idea in the first place and launched the first calculator products (discreetly of course).
    casinos want to teach you to become a better player every way they can.. no matter how you look at it this always results in more profit for them
    the calculators available right now are either bought for 40-60$ a piece or require that you specifically make a FIRST real cash deposit at one of the sponsored casinos. IE if you're already a real cash player at one of the casinos then the offer doesn't work, you need to sign-up elsewhere and deposit.
    what do deals like that result in on a weekly, monthly and annual basis? millions of dollars through new sign-ups that otherwise would not of been. regulars of one site may become regulars of another site because they were coerced in having to deposit AND play 500 real-money hands in order to fully unlock their calculator's "free license",
    I'd be willing to be that 95% of the time players end up blowing away their "first deposit" waaaaaaaaaaay before they reach the 500 real money hands (heck I made it to 200 hands with my 50$ and I'm sure most don't make it to 50!). So on average it means that for each new calculator user the casinos make a minimum of 100$ and probably much much more.
    if you don't see the marketing catch in it then you're just not looking at it through the money-hungry glasses everyone in the gambling industry wears today
    it's fact that they directly profit from this.. as well as all the other poker advertising and propaganda that we're flooded with today.
    to answer your question now.. well.. if it were that easy then they and their business partners would be losing millions anually over the lost opportunity

  • Need software which can send images to my editor, have them make selections, share them with me so I can edit the images and send the final results back to them.  Will Lightroom work?

    Need software which can send images to my editor, have them make selections, share them with me so I can edit the images and send the final results back to them.  Will Lightroom work?

    What I would like to do is to use Lightroom as I have been doing with LR 5.7.  Tag certain images to be shared to the Creative Cloud which my editor can then see and tag as to which she would like to see final versions of.  In the best case, I would then see these tags and edit the images as appropriate and save the JPEGs back to the Cloud where she can download them for final production.
    Possible?

Maybe you are looking for

  • Saved audio in ALU, though loop not appearing in loops browser

    I am following David Dvorin's Beyond the Basics and am up to the part about Apple Loops Utility. In it he uses an imported audio file called Chimey Guitar, the whole point is to use ALU, use its functions and then save it as an Apple Loop. When I hav

  • Problem with ADS and LDAP

    Problem with ADS and LDAP I have installed Win2000 + sp1 and ADS on a computer. This computer is PDC. After connection via LDAP I cann't get any object ( users or goups etc. ). I try connect to ADS by java ( JNDI ). When I use another clients of LDAP

  • How do I keep my iPod from deleting emails on other devices?

    My wife and I share the same POP and iCloud account. When I delete email from my iTouch it deletes emails on all of our Macs. How do I keep this from happening? I have my iPod set to delete on iPod only. Settings> Mail, Contacts, Calendar> my POP acc

  • [MBA original] startup and disk problems

    My old faithful Air has started to have some serious problems. A couple of months ago, it started to behave sluggishly, beachballing in all applications, and then when I tried to restart, it wouldn't get past the logo/catherine wheel screen. I could

  • Outlook 2010 Sync Contacts or Calendars on Windows 7 32 bit?

    Has anyone tried this? Were you successful?