Carbon and Cocoa Integration

I have read the Cocoa-Carbon Integration Guide several times, but still have one unanswered question. The guide explains how to call Carbon Functions in a Cocoa Objective-C Class File. However, does this also apply to data types? I made the logical connection that it would be hard to call carbon functions without carbon data types, but i don't know if they have to be called in a special way of if a prefix needs to be added to the data types before they can be used. Could someone explain or elaborate on how to use Carbon in Cocoa Classes?
thx

Orangekay is right. You can learn it, but don't be in a hurry. If you are familiar with object-oriented Javascript, you should be able to figure it out. Cocoa is a pure object-oriented library where you send messages to receivers.
[receiver message: argument]
Carbon is also an object-oriented library, but it is written in C. In Carbon, you would do the above as:
message(receiver, argument)
Javascript looks closer to Java or C++ syntax-wise than either Cocoa or Carbon. For an example, compare the interfaces of CFString with NSString. They do the same things and are, in fact, the same objects using Carbon and Cocoa interfaces, respectively.
There are only a few objects that exist in both Carbon and Cocoa. Most things are either one or the other. Still, all Cocoa objects and methods will look similar. The same is true for Carbon.
Unfortunately, there are some low level details, like memory management, that you don't have to deal with in Javascript. You may have to step back and work on some simple C or Cocoa projects just to learn before you can apply that to something real.

Similar Messages

  • Eclipse, carbon or cocoa (and 32 or 64 bit)

    So I am getting back into programming. My schooling was in programming (C mostly), but obviously it's been some time since I've really had my hands in it. I wanted to use Eclipse, since I have that on my laptop (Linux) and would like to keep things as universal between my Mac and that. Anyway, was going to go download the stuff I needed for the Mac, and I see the options include Carbon, and 32 or 64 bit Cocoa. I'm thinking the way to go is 32 bit Cocoa, is there any reason I'd want carbon or 64 bit cocoa?

    jpeery wrote:
    I wanted to use Eclipse, since I have that on my laptop (Linux) and would like to keep things as universal between my Mac and that.
    You are free to use what you want, but you would have to be a masochist to choose Eclipse over Xcode.
    Anyway, was going to go download the stuff I needed for the Mac, and I see the options include Carbon, and 32 or 64 bit Cocoa. I'm thinking the way to go is 32 bit Cocoa, is there any reason I'd want carbon or 64 bit cocoa?
    All you need is Xcode. You don't have to download it as it comes on the Snow Leopard DVD. Do not mess with any of those options. Install all of it. You aren't on Linux anymore.
    Carbon is dead. There is no need to worry about flame wars. The war is over. That being said, you still need it. Install all of Xcode. You need both 32 and 64 bit Cocoa. 64-bit is the native architecture for all current systems. 32-bit is still required for a few things and for compatibility's sake.

  • Carbon in Cocoa Crashing: EXC_BAD_ACCESS after NSAutoreleasePool is released

    I'm developing a Cocoa user interface for a Photoshop CS3 plugin using Bindings. (Carbon in Cocoa, since PS is a Carbon app) I'm getting a EXC_BAD_ACCESS error when I close my modal NSWindowand the NSAutoreleasePool releases.
    I've spent hours now with Instruments trying to figure out which object might be getting released early (or double released) and cannot find it.
    Now my thoughts are that maybe there is something I'm missing about running a modal window within an NSAutoreleasePool while using Cocoa Bindings. Like maybe there is something I'm supposed to do before closing the window to "finalize" all the bindings to prevent them from sending messages to released objects.
    Here is a basic code example of what I'm doing:
    NSAutoreleasePool *localPool = [[NSAutoreleasePool alloc] init];   
    NSApplicationLoad();
    ExportWindowController *controller = [[ExportWindowController alloc] initWithWindowNibName:EXPORT_CONTROLLER_NIB_NAME];
    [controller showWindow:nil];
    [NSApp runModalForWindow:[controller window]];
    [controller close];
    [controller release];
    [localPool release];
    The modal window is closed by a call to:
    [NSApp stopModal];
    Here is a stack trace:
    #0  0x97793869 in _cache_getMethod
    #1  0x9779c6da in lookUpMethod
    #2  0x97793da7 in _class_lookupMethodAndLoadCache
    #3  0x97793953 in objc_msgSend
    #4  0x96501151 in -[NSBinder releaseConnectionWithSynchronizePeerBinders:]
    #5  0x96a10390 in -[NSValueBinder releaseConnectionWithSynchronizePeerBinders:]
    #6  0x963ac895 in -[NSObject(_NSBindingAdaptorAccess) _releaseBindingAdaptor]
    #7  0x964062f5 in -[NSView _releaseBindingAdaptor]
    #8  0x96405784 in -[NSView _finalizeWithReferenceCounting]
    #9  0x96404e2f in -[NSView dealloc]
    #10 0x964ef163 in -[NSControl dealloc]
    #11 0x9099a9d8 in CFRelease
    #12 0x909c75bd in _CFAutoreleasePoolPop
    .... more
    Turning on NSZombieEnabled did not turn up any double-released objects (although there was 1 from Photoshop itself)
    Any ideas?

    not using bindings seems to have fixed it, but if any of you have insights as to why this would be crashing with Bindings, I'd appreciate it.
    Thanks

  • Oracle Portal and Discoverer Integration

    Portal Version: 9.0.2.0.1
    RDBMS Versjion: 9.0.1.3
    OS/Vers. Where Portal is Installed:: Suse 7 SLES
    Error Number(s)::
    Oracle Portal and Discoverer Integration
    We're trying to integrate Discoverer with Portal unsuccessfully.
    We made many things in accordance with oracle's documentation until add discoverer portlets (worksheet and list of workbooks) in a test page.
    In view mode, the worksheet portlet shows the error:
    "The portlet has not been defined. The publisher must define the portlet by clicking on Edit Defaults for the portlet on the edit mode of this page. Please contact the publisher of this page."
    We think we have to edit properties before. Is this? Anyway edit worksheet portlet crashes between step 1 and 2. The error is: "The listener returned the following Message: 500 Internal Server Error".
    We have a public conection created in EM and a discoverer application which can be viewed using plus or viewer.
    Furthermore, it's not possible delete the added portlets neither the page that contain it. The error at delete is:
    Error: An unexpected error occurred: User-Defined Exception (WWC-44082)
    (WWC-00000)
    An unexpected error has occurred in portlet instances: User-Defined Exception (WWC-
    44846)
    An unexpected error occurred: User-Defined Exception (WWC-43000)
    The following error occurred during the call to Web provider:
    oracle.portal.provider.v2.PortletNotFoundException
    at oracle.portal.utils.v2.ContainerException.fillInStackTrace(Unknown Source)
    at java.lang.Throwable.<init>(Throwable.java:78)
    at java.lang.Exception.<init>(Exception.java:29)
    at oracle.portal.utils.v2.ContainerException.<init>(Unknown Source)
    at oracle.portal.provider.v2.PortletException.<init>(Unknown Source)
    at oracle.portal.provider.v2.PortletNotFoundException.<init>(Unknown Source)
    at oracle.disco.portlet.provider.DiscoPortletPersonalizationMgr.destroy
    (DiscoPortletPersonalizationMgr.java:65)
    at oracle.portal.provider.v2.DefaultPortletInstance.deregister(Unknown Source)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.deregisterPortlet
    (Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.doMethodCall(Unknown Source)
    at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.processInternal(Unknown Source)
    at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.process(Unknown Source)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.doSOAPCall(Unknown Source)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ResourceFilterChain.doFilter
    (ResourceFilterChain.java:59)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.invoke
    (ServletRequestDispatcher.java:523)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal
    (ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest
    (HttpRequestHandler.java:735)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    (WWC-43147)
    Edit properties for portlet List of Workbook works but in view mode we have the error in the portlet area:
    "Failed to refresh portlet. Please verify that the information used to create the
    portlet instance or customization is still valid. Otherwise, please contact your
    iAS administrator. oracle.discoiv.controller.FatalControllerException:
    DiscoNetworkException - Nested exception: org.omg.CORBA.OBJECT_NOT_EXIST: minor
    code: 0 completed: No null"
    Any ideas?
    Thanks

    Hi there,
    Have you applied any patches to 9ias since it was first installed? We had the same problem and had to apply a couple of patches to get the portlets working.
    1. Apply the 9.0.2.53.16 one-off patch for Oracle 9iAS Discoverer which takes Discoverer up to 9.0.2.53.16. This patch appears to be password protected and you need to get someone at Oracle support to give you a password.
    2. Apply the Discoverer Portlet Provider: 9.0.2.53.00c patch (patch no. 2595444) which gives you a new discportal.xsl file that actually works. It's this second step that solves your problem but you need to do step 1 before this. This is password protected as well.
    3. As you've upgraded Disco on the server to 9.0.2.53, you'll need to upgrade Disco Admin & Desktop within your 9iDS installation using patch no. 2555265. This is because Disco 9.0.2.53 uses an upgraded EUL that Disco Admin & Desktop need to be patched to use.
    This was the course of action Oracle support advised us about nine months ago. Of course they may have released a further patch to Disco that does 1 & 2 in one go, but we regularly carry out steps 1 and 2 on servers we use and we can use the Disco portlets successfully.
    Hope this helps
    Mark Rittman
    [email protected]

  • Unit testing and system integration testing for crystal report

    Hi gurus,
           I am creating crystal report by oracle procedure, will you please tell me how to do unit testing and system integration testing? appreciate very much.

    The focus of this forum is report design. The actual testing of reports would be subject to your own internal policies and procedures.
    Jason

  • Question regarding MM and FI integration

    Hi Experts
    I have a question regarding MM and FI integration
    Is the transaction Key in OMJJ is same as OBYC transaction key?
    If yes, then why canu2019t I see transaction Key BSX in Movement type 101?
    Thanks

    No, they are not the same.  The movement type transaction (OMJJ) links the account key and account modifier to a specific movement types.  Transaction code (OBYC) contains the account assignments for all material document postings, whether they are movement type dependent or not.  Account key BSX is not movement type dependent.  Instead, BSX is dependent on the valuation class of the material, so it won't show in OMJJ.
    thanks,

  • Jabber and O365 integration

    Hello,
    Do we need any additional licenses from Cisco or Microsoft to make a full possible integration between O365 and Jabber ?
    For example features like :
    Single Inbox Unified Messaging with SpeechView transcriptions,  Microsoft Word Click to Call, SharePoint Presence & Click to Call,  Jabber video calling and desktop sharing, and WebEx on desktop and iPad,
    Thank you for your help
    Best Regards,
    Tomasz

    Tomek,
    There is no direct integration between Jabber and Office 365, except for Exchange Gateway integration on IMP server side which is not supported with Office 365. All other Jabber integrations do not go to Office 365, calendar client integrations are done with Outlook, and UM integration is between Office 365 and Unity Connection, which does not affect Jabber.
    HTH,
    Chris (Krzysiek) :-)

  • REPORT WITH SALES AND PRODUCTIN INTEGRATION?

    HI,
       HERE I NEED TO DISPLAY THE SALES AND PRODUCTION INTEGRATED (FOR MAKE TO STOCK) LIST BY DAY WISE ,I AM NOT ABLE TO FIND THE TABLES FOR THAT.
    HERE LIST HEADER IS FOLOWING.
    MATERIAL CODE, MATERIAL DISCRIPTION, PRODUCTION QTY, PROD. VALUE, SALES(BILLING QTY, SALES(BILLING) VALUE.
    AND THAT LIST TOTAL PRODUCTION VALUE SHOULD EQUAL TO THAT PARTICULAR DAY TOTAL PRODUCTION VALUE,
    AND THAT LIST TOTAL SALES(BLIING) VALUE SHOULD EQUAL TO THAT PARTICULSR DAY TOTAL SALES(BILLING) VALUE.
    PLZ HELP OUT FROM THIS,
    REWARDS IN ADVANCE....
    REGARDS,
    NAVEEN

    Have you tried the txn code MC-Q or the report program RMCV0500.

  • Facebook and Twitter integration not working

    I'm have trouble using Facebook and Twitter integration in Mountain Lion. When I click 'Click to Tweet', or 'Click to Post', nothing happens; I don't get the notecard looking thig, and it's like I never clicked the button. Same thing with sharing from an app, except for Twitter. I receive notifications from both just fine, but I'm unable to post. I can tweet something from the sharing menu (link to a webpage with Safari, for example), but I cannot send a tweet using the 'Click to Tweet' button in Notification Center. Also, I cannot post to Facebook by neither sharing nor the 'Click to Post' button. So far I have tried sharing with Safari, Finder, and Preview, all with the same results. (Facebook sharing with iPhoto does work, but I don't believe that is integrated with OS X.)
    I have also tried the following, with no luck:
    Checked my settings on the Facebook and Twitter sites.
    Removed my acounts and re-added them.
    Obviously, my internet connection is working.
    Added my Facebook account to the 'Guest User' account, and another administrator account.
    Had a friend add his Facebook account to his own (limited) account on my computer--he could not post to Facebook either.
    I believe the last two things I tried indicate that this is a system-wide problem. A couple more things to note: 1) there is no kind of error message; it just sits there, like nothing happend, no 'spinning wheel' or anything. 2) It DID work before. Twitter worked when I first upgraded to Mountain Lion, and Facebook worked when I installed the 10.8.2 update. I don't use either often enough to know when exactly they stopped.
    Here is a video illistrating my problem.
    It's been driving myself crazy with this over the past few days, and can't seem to find an answer anywhere. I also seem to be the only one with this problem.

    First, I would eject whatever it is that you downloaded. Go to Finder and eject it that way or depending how you have your system set up, do the two finger tap and Eject it. Download the link above. Once it downloads, double click it to install it. It should work. If it doesn't you need to use your Disk Utility to check for errors. Click your Finder again and then Applications. Scroll down to Utilities and then Disk Utility. Click on your hard drive and you will get a menu of items on the right side. Towards the bottom, you will see a button to Verify Disk Permissions. Click that and let it run. It may take a few minutes to finish. Once it's finished there may be a list of things wrong with your system. Click the Repair Permissions and let the computer do it's thing. Use Disk Utility at least once a month to make sure everything is in order on your system. If this doesn't fix it, I don't have any other suggestions. I'd hate to say do a fresh install but that might be the next step if this doesn't work.
    Something else to consider is that is if you use Time Machine and the system did work at one point, you could go back to the last known good point and reinstall that back-up. You would lose anything you have saved since that point (obviously). If you take steps to back up your information, that should not be an issue. (For me), Time Machine works as advertised. If you are not backing system up regularly, shame on you. You need to start ASAP backing up. It's an easy process and it's times like you are having now, that make the small preventive maintenance, worth extra time and effort.
    Good luck.

  • PS and PP integration

    Dear Experts,
    Good Morning....
    Please suggest me PS and PP integration customization steps.
    Regards
    Lallan

    PP is not a major player in PS as far as integration is concerned. It is through Material Management that Production Planning is informed of Production Orders using special settings in the Material Master.
    One another area, the PP and PM modules share Work Centers with Project System.
    The Work Center is needed for Capacity Planning and Planning costs. If we integrate this Work Center with HR module, we will be able to select only the people who have been assigned to the Work Center. We can specify the amount of work the individual will contribute. This forms the basis for capacity planning.
    Hope u must have understand.
    PS - Process
    After creating the project next step is u want to do cost, Revenue & Budget Planning for the project
    in the t-codes CJ42, CJ30 & CJ40 respectively. Next step is creating the Sale order in va01 T-code.
    But I have internal project scenario, example: Overhauling of DG set. Assigned work enter & Workforce & also material to network. So shall I do costing? As explained! Is it necessary to create of Sales Order?
    CMP2 - Assign workforce to activities
    CAT2 - Transfer actual time to CATS. In CAT2 we have record the actual timing correct for an activity, on day basis & with personal number.
    MD51 - Run Project MRP to create Planned orders.
    MD04, ME21N, MIGO - Convert planned orders to purchase requisitions and P.O, and goods receipt.
    MB1A - once the goods are brought is project stock; the same needs to be consumed by mb1a -281 Q on the project.
    CJ20n - Attach milestones as per the payment terms.
    VA02 - Copy billing plan to sales order.
    VF01 - Billing
    CJ20n - Project tech complete and closure.
    Hope this will help you,
    Regards,
    ANSAR

  • SAP  R/3 and BW integration Landscape

    Hello Gurus,
    Could you'll suggest a site or link where I could get a better insight into the SAP  R/3 and BW integration Landscape, i.e. how Data gets transferred from SAP R/3 to BW.
    Thanks,
    Sebastian

    Hi,
    YOU can check the following for BW extraction
    http://help.sap.com/bp_biv235/BI_EN/html/bw.htm
    business content
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20co-pa%20extraction%203.0x
    https://websmp203.sap-ag.de/co
    http://help.sap.com/saphelp_nw04/helpdata/en/37/5fb13cd0500255e10000000a114084/frameset.htm
    PLease also have a look at BW data modelling guide,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5586d290-0201-0010-b19e-a8b8b91207b8
    http://www.thespot4sap.com/Articles/SAP_BW_Metadata_Modelling.asp
    Please reward points.

  • Brief discussion on SAP XI and its' Integration with SAP MDM.

    Hi,
    I have never worked on SAP XI.
    I am discussing it on brief, please give your valuable replies.
    SAP XI consists of System Landascape Directory(SLD).
    SLD Consists of Business System and Techinical System.
    Technical System contains all information about the software
    component. The Business System consists of Inbound and Outbound Business
    System which are used as logical names for data transfer.
    There is communication Channel for Receiver and Sender Business System and n agreement
    is signed between Sender and Receiver.
    Outbound Interface defined for Business System Outbound and Techical System associated
    with the Business System,
    Inbound Interface defined for Business System Inbound and Techical System associated
    with the Business System.
    In SAP NetWeaver XI Integration Directory, we have defined the Integration Scenarios,
    Actions, Interface Objects, Mapping Objects, Adapters Objects.
    Mapping Object defines the Structure and Value Mapping.
    Adapter Objects defines the Adapter program which implements RFC Adapter, FTP Adapter logic.
    FTP Adapter is used for XI-MDM Communication.
    RFC Adapter is used for XI-ECC Communication.
    Integration Repository: Both Outbound and Inbound Interfaces are Mapped with Value mapping and
    Structure Mapping inside Integration Repository.
    The File Adapter takes the File from the Outbound port of MDM System
    and sends it as IDOC to Receiver Business System.
    Value Mapping must be done between Sender and Receiver interfaces.
    Value Mapping is done by XSLT or Java based program.
    SAP NetWeaver XI Integration Server at runtime:
    Message Split, Interface Determination, Receiver Identifaction, Mapping, Techincal Routing
    and Call Adapter Proccess are done.
    In SAP XI 3.0 and MDM 5.5:
    Step 1: Create busines system as service.
    Step 2: Create communication channel for each business service. If the system can communicate
    through different channels, then create all possible channel types if necessary.
    Step 3: Create receiver agreement between the systems.
    Step 4: Interface determination:
    - Here you see for the first time the software component mentioned;
    there are some special requirements regarding this software component in relation to the customizing ID mapping.
    - To modify this software component, the customer needs to copy the SAP standard delivered software component
    into its own namespace. The customer is able to modify to create archives
    for the customized ID mapping.
    Receiver determination.
    Configure an FTP Server on the MDS.
    Create a send folder for outbound messages using outbound port(s) for
    remote systems(s).
    Create receive folder inbound messages using inbound port(s) for remote systems.
    This ia all about concept of SAP XI Infractsture and its' Integration with SAP MDM 5.5.
    Regards
    Kaushik Banerjee

    Hi Kaushik,
    You must be aware of File types that MDM Import Manager can Import i.e. we have XML, Excel etc. Now there are two transactions to extract data from R3
    1. MDMGX -
             - For lookup table extraction
             - Output in XML format which MDM can import without using XI.
              - FTP can be configured to put the file in the desired folder which will be then picked by Import Server.
    2. MDM_CLNT_EXTR -
              - For Main table records.
              - Output is in Idoc format which MDM doesn't understand hence we need XI in between which converts Idoc file received from R3 into XML which can then be imported using Import Manager or Import Server. For this we need to implement XI Scenario that consists of Source System, Receiver System, Type of Data etc.
    Just a basic understanding...
    Regards,
    Jitesh Talreja

  • Business Object and SAP Integration

    All,
    We've BOJ Data Services XI installed.
    Would like to integrate with SAP, does anyone know how or have good information about Business Object and SAP Integration?
    Please adivce.

    Hi Lynn,
    If you need to have Business Objects and SAP work together in conjunction you need to have the Business Objects Integration Kit for SAP. Integration Kit provides the database drivers and other features for reporting off SAP.
    Link to download the useru2019s Guide:
    -     Please go to Http://help.sap.com
    - Click on Business Objects tab
    - Select the product as Integration Kit for SAP
    User guide: Business Objects Integration Kit for SAP Useru2019s Guide.
    I hope that helps you.
    Regards,
    Prashant

  • Test/Trial project on MDM and XI integration.

    Test/Trial project on MDM and XI integration.
    I want to try out a test case scenario where in i would be importing and exporting data to XI (Using XML files i guess)
    I am a newbie in MDM integration.
    Please help me out with my trial project.
    What i already have:
    I have MDM system and repository on which i have been learning basic MDM designing a (test)repository of my own.
    What information i need:
    -What all system requirements (XI system configuration and all) are needed to established. (What all should i be asking the XI and the system admin guys to be able to get the platform ready for me.*
    *-The further procedure for actual integration to be done for importing/exporting data as in a real time project scenario

    Hi Gaurav,
    SInce you want to try a test scenario including MDM and XI, I would suggest you to try
    ECC -> XI->MDM scenario
    Wherein you can take the data from ECC in the form of IDOCs and convert them into XML.
    You can then import the XML into an MDM repository. MDM repository can be a Customer, Material, Vendor etc repository. Hence extract the similar data from ECC.
    Kindly follow the steps below:
    1) Firstly you will have to extrcat the look-up table data from R3 using MDMGX transaction-
    Please follow this link to know about the same:
    How to Configure Master Data Management Reference Data Extraction -
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0740b31-a934-2b10-2e95-af2252991baa
    https://websmp203.sap-ag.de/~sapidb/012006153200000394732006E/MDM554_GenericExtactor.pdf
    2) For loading the main Table Data into MDM, kindly follow the link below, which will guide you to the config/prcoess that will be required for the data to be uploaded from R3 into MDM.
    2.1) R/3-XI-MDM (Outbound Scenario)
    You will have to extract the data from R3 in the form of IDOCS and then using XI, you will have to convert them into XML format as MDM understands that.
    2.2) For the process of Data from MDM back to R3, kindly refer this link below:
    MDM-XI-R/3  Integration
    2.3) For general info about this scenario, kindly refer this link below:
    MDM Mass data Integration with R/3 made easy
    Please follow these links for additional info-
    1) SAP Network Blog: XI Configuration for MDM Integration - Sample Scenario-
    XI Configuration for MDM Integration - Sample Scenario
    2) The below given blog can be used to understand the XI config done when data is sent back from MDM via XI to R3.
    MDM->XI->R3
    MDM-XI-R/3  Integration
    3) MDM 5.5 data distribution using SAP XI -
    MDM 5.5 data distribution using SAP XI
    Hope this information helps.
    Thanks and Regards
    Nitin jain

  • Error while XI and xMII integration (Plain HTTP as sender)

    Dear Friends,
       I am doing the scenario XI and xMII integration. While sending the input file from plain HTTP adapter the result comes as follows in *sxmb_moni* :
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!-- Call Adapter -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
    <SAP:Category>XIAdapterFramework</SAP:Category>
    <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
    <SAP:P1/>
    <SAP:P2/>
    <SAP:P3/>
    <SAP:P4/>
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: <xMII server name></SAP:AdditionalText>
    <SAP:ApplicationFaultMessage namespace=""/>
    <SAP:Stack/>
    <SAP:Retry>M</SAP:Retry>
    </SAP:Error>
    In HTTP Client Adapter for XI 3.0 it is shown as follows:
    <SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL
    </SAP:Code>
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: <xMII server name> </SAP:AdditionalText></SAP:Error>
    Please show the way to rectify this error.
    Regards,
    Jagan.

    Dear Sudharshan,
       I'm doing the scenario which is in the following blog.
    /people/dhanabal.thangavel/blog/2008/02/07/xi-and-xmii-integration--part-1 ==> XI and xMII Integration - Part 1
    This is a synchronous one. So I set QOS as BE in Client Http Adapter for XI 3.0.
    Scenario is HTTP <--> XI <--> xMII
    The following errors are I found:
    1) In RWB -> Message Monitoring
    Status : Canceled with Errors
    Message Details:
    SOAP : call failed
    SOAP :error occured: java.net.UnknownHostException: <HOST>
    Exception caught by adapter framework: <HOST>
    Delivery of the message to the application using connection AFW failed, due to: <HOST>. Setting message to status failed
    The message status set to FAIL.
    Returning synchronous error message to calling application: <HOST>.
    2) Error coming in the Client Http Adapter for XI 3.0 as follows:
    *URL:*
    http://xxxxxx07:xx10/sap/xi/adapter_plain?namespace=http%3A//www.xxxxxxx.com/XIBatch3/10099/xMII_Integration&interface=xMII_Integration_Sync_Outbound&service=BS_BATCH3&party=&agency=&scheme=&QOS=BE&sap-user=xxxxx&sap-password=xxxxx&sap-client=xx1&sap-language=EN
    *Result:*
    <SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL</SAP:Code><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException:<HOST></SAP:AdditionalText></SAP:Error>
    *Input XML file:*
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:XacuteRequest xmlns:ns1="http://www.lighthammer.com/Xacute">
       <ns1:LoginName/>
       <ns1:LoginPassword/>
       <ns1:InputParams>
          <ns1:ProductName>ProductA1</ns1:ProductName>
       </ns1:InputParams>
    </ns1:XacuteRequest>
    *WSDL file (Which is generated using the xMII transaction):*
    <?xml version="1.0" encoding="UTF-8"?><definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.lighthammer.com/Xacute" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.lighthammer.com/Xacute">
        <!-- Types -->
        <types>
            <s:schema elementFormDefault="qualified" targetNamespace="http://www.lighthammer.com/Xacute">
                <s:complexType name="InputParams">
                    <s:sequence id="InputSequence">
                    <s:element maxOccurs="1" minOccurs="0" name="ProductName" type="s:string"/></s:sequence>
                </s:complexType>
                <s:element name="XacuteRequest">
                    <s:complexType>
                        <s:sequence>
                            <s:element maxOccurs="1" minOccurs="0" name="LoginName" type="s:string"/>
                            <s:element maxOccurs="1" minOccurs="0" name="LoginPassword" type="s:string"/>
                            <s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:InputParams"/>
                        </s:sequence>
                    </s:complexType>
                </s:element>
                <s:complexType name="Rowsets">
                    <s:sequence>
                        <s:element maxOccurs="1" minOccurs="0" name="FatalError" type="s:string"/>
                        <s:element maxOccurs="1" minOccurs="0" name="Messages" type="s0:Messages"/>
                        <s:element maxOccurs="1" minOccurs="0" name="Rowset" type="s0:Rowset"/>
                    </s:sequence>
                    <s:attribute name="StartDate" type="s:dateTime" use="required"/>
                    <s:attribute name="EndDate" type="s:dateTime" use="required"/>
                    <s:attribute name="DateCreated" type="s:dateTime" use="required"/>
                    <s:attribute name="Version" type="s:string"/>
                </s:complexType>
                <s:complexType name="Messages">
                    <s:sequence>
                        <s:element maxOccurs="unbounded" minOccurs="0" name="Message" type="s:string"/>
                    </s:sequence>
                </s:complexType>
                <s:complexType name="Columns">
                    <s:sequence>
                        <s:element maxOccurs="unbounded" minOccurs="0" name="Column" type="s0:Column"/>
                    </s:sequence>
                </s:complexType>
                <s:complexType name="Column">
                    <s:attribute name="Name" type="s:string" use="required"/>
                    <s:attribute name="Description" type="s:string" use="required"/>
                    <s:attribute name="SourceColumn" type="s:string" use="required"/>
                    <s:attribute name="MinRange" type="s:double" use="required"/>
                    <s:attribute name="MaxRange" type="s:double" use="required"/>
                    <s:attribute name="SQLDataType" type="s:int" use="required"/>
                </s:complexType>
                <s:complexType name="Rowset">
                    <s:sequence>
                        <s:element maxOccurs="1" minOccurs="1" name="Columns" type="s0:Columns"/>
                        <s:element maxOccurs="unbounded" minOccurs="0" name="Row" type="s0:Row"/>
                    </s:sequence>
                </s:complexType>
                <s:complexType name="Row">
                    <s:sequence id="RowSequence">
                    <s:element maxOccurs="1" minOccurs="1" name="Quantity" type="s:long"/><s:element maxOccurs="1" minOccurs="1" name="ProductName" type="s:string"/></s:sequence>
                </s:complexType>
                <s:element name="XacuteResponse">
                    <s:complexType>
                        <s:sequence>
                            <s:element maxOccurs="1" minOccurs="0" name="Rowsets" type="s0:Rowsets"/>
                        </s:sequence>
                    </s:complexType>
                </s:element>
            </s:schema>
        </types>
        <!-- Messages -->
        <message name="XacuteSoapIn">
            <part element="s0:XacuteRequest" name="parameters"/>
        </message>
        <message name="XacuteSoapOut">
            <part element="s0:XacuteResponse" name="parameters"/>
        </message>
        <!-- Ports -->
        <portType name="XacuteWSSoap">
            <operation name="Xacute">
                <input message="s0:XacuteSoapIn"/>
                <output message="s0:XacuteSoapOut"/>
            </operation>
        </portType>
        <!-- Bindings -->
        <binding name="XacuteWSSoap" type="s0:XacuteWSSoap">
            <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <operation name="Xacute">
                <soap:operation soapAction="http://www.lighthammer.com/Xacute" style="document"/>
                <input>
                    <soap:body use="literal"/>
                </input>
                <output>
                    <soap:body use="literal"/>
                </output>
            </operation>
        </binding>
        <!-- Service mapping -->
        <service name="XacuteWS">
            <port binding="s0:XacuteWSSoap" name="XacuteWSSoap">
                <soap:address location="http://<XMII_SERVER_NAME>/Lighthammer/SOAPRunner/Jagan/SDN_Fetch_Product_Qty"/>
            </port>
        </service>
    </definitions>
    Regards,
    Jagan.

Maybe you are looking for