Error of type mismatch for java proxy code

Hi All
I am writing code for server java proxies .I am trying to get the input parameters ,my code is as follows:
package testScenario;
public class MDMtoXIMI_PortTypeImpl extends com.sap.aii.proxy.xiruntime.core.AbstractProxy implements MDMtoXIMI_PortType {
    public void mDMtoXIMI(testScenario.JavaproxyINDT_Type javaproxyINMT) throws com.sap.aii.proxy.xiruntime.core.SystemFaultException, com.sap.aii.proxy.xiruntime.core.ApplicationFaultException{
          JavaproxyINDT_Type obj=new JavaproxyINDT_Type();
          return obj.getName();
       // throw new RuntimeException();
I am getting typemismatch for this piece of code:JavaproxyINDT_Type obj=new JavaproxyINDT_Type();
Can anybody help?

I think the Typemismatch is in the line with "return"
The method declaration is "void", so you cannot use return here.
You should modify the interface to "synchronous"
Regards
Stefan

Similar Messages

  • Business system for java proxy

    i use xi system as java AS for java proxy. in receiver communication channel i use URL ADDRESS or HTTP destination?????

    please help me its showing following error
    <Trace level="2" type="T">Switch back to normalized party (HTTP response)</Trace>
      <Trace level="1" type="T">Sender scheme external =</Trace>
      <Trace level="1" type="T">Sender agency external =</Trace>
      <Trace level="1" type="T">Sender party external =</Trace>
      <Trace level="1" type="T">Sender party normalized =</Trace>
      <Trace level="1" type="T">Party normalization: receiver</Trace>
      <Trace level="1" type="T">Receiver scheme external =</Trace>
      <Trace level="1" type="T">Receiver agency external =</Trace>
      <Trace level="1" type="T">Receiver party external =</Trace>
      <Trace level="1" type="T">Receiver party normalized =</Trace>
      <Trace level="2" type="T">Undo header mapping (HTTP response)</Trace>
      <Trace level="1" type="T">Sender: Header before undo of mapping</Trace>
      <Trace level="1" type="T">Party =</Trace>
      <Trace level="1" type="T">Agency =</Trace>
      <Trace level="1" type="T">Scheme =</Trace>
      <Trace level="1" type="T">Service = BS_Debashish</Trace>
      <Trace level="1" type="T">Receiver: Header before undo of mapping</Trace>
      <Trace level="1" type="T">Party =</Trace>
      <Trace level="1" type="T">Agency =</Trace>
      <Trace level="1" type="T">Scheme =</Trace>
      <Trace level="1" type="T">Service = XIT4Java</Trace>
      <Trace level="2" type="T">Sender: Header after undo of mapping</Trace>
      <Trace level="2" type="T">Party =</Trace>
      <Trace level="2" type="T">Agency =</Trace>
      <Trace level="2" type="T">Scheme =</Trace>
      <Trace level="2" type="T">Service = BS_Debashish</Trace>
      <Trace level="2" type="T">Receiver: Header before undo of mapping</Trace>
      <Trace level="2" type="T">Party =</Trace>
      <Trace level="2" type="T">Agency =</Trace>
      <Trace level="2" type="T">Scheme =</Trace>
      <Trace level="2" type="T">Service = XIT4Java</Trace>
      </Trace>
      </Trace>
    - <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST">
      <Trace level="3" type="T">Persisting message after plsrv call</Trace>
      <Trace level="3" type="T">Message-Version = 007</Trace>
      <Trace level="3" type="T">Message version 007</Trace>
      <Trace level="3" type="T">Pipeline CENTRAL</Trace>
      </Trace>
      <Trace level="3" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      <Trace level="3" type="T">Persisting message Status = 014</Trace>
      <Trace level="3" type="T">Message version 008</Trace>
      <Trace level="3" type="T">Pipeline CENTRAL</Trace>
      </SAP:Trace>

  • Run-time error '13':  Type mismatch

    There are A and B excel files.
    And two different POV-dimension in two excel files
    VBA code below:
    Dim vtGrid As Variant
    Dim vtDimNames As Variant
    Dim vtPOVNames As Variant
    x = HypRetrieve("sheet1")
    x = HypUseLinkMacro(True)
    Range("b10").Select
    x = HypGetSourceGrid("sheet1", vtGrid)
    ref = HypMenuVRefresh()
    x = HypGetPOVItems(vtDimNames, vtPOVNames)
    MsgBox (vtPOVNames(6))
    Range("a3").Value = "date: " & vtPOVNames(6) & " - " & vtPOVNames(3)
    Range("a4").Value = "dep : " & vtPOVNames(0)
    There is not any attribute dimension in pov A excel file.
    There is one attribute dimension in pov B excel file.
    The same VBA code excute is normal in A excel file.
    But the same VBA code excute is "run-time error '13': Type mismatch " in B excel file.
    The error '13' in the row of MsgBox (vtPOVNames(6)).
    Is attribute dimension in pov cause this question?
    And how did I solve this question?

    Based on where the error is occurring, it looks like the value returned by vtPOVNames(6) is not defaulting to a string datatype for the msgbox.
    Try 'cstr(vtPOVNames(6))' to force conversion of the value into a string. Also, you may want to test for nulls using IsNull() and empty variant values using IsEmpty().
    It doesn't look like the code you posted shows vtPOVNames being populated. If you're populating the names yourself, you could always use a string array instead of a variant array. Just dim the string array using a statement such as, "Dim strPOVNames(6) as String" or "Dim strPOVNames() as String" in case you need to ReDim the array later to size it for a non-fixed set of POV names.
    Hope this helps.

  • Getting error back to XI for Asyn Proxy scenario

    Hi All,
        I am working on proxy scenario. i am using fault message type for  rising exception and scenario is asynchronous.  if ther is any application is throwing some exception, now it is not coming to xi. we can monitor it in R3. but i need to rise alert if ther is any application error. is ther any way to get the error back to XI for async proxy scenario...?
    Please help me
    Regard
    Pradeep P N

    Hi
       I will explain my scenario, suppose the message from xi reaches R3 succefully, but due to some back end configuration the data is not getting updated(eg for creating sale order ther should be some back end configuration), in that case the proxy will raise exception and message will get failed in R3,  i can monitor that in SXI_MONITOR in R3 as failed. but for XI it is success, When ever a message is getting failed in R3, i need to rise one exception.
    In XI sxi_monitor i can see it as success, but in message monitoring while monitoring Proxy Bussiness system i can show the status as Apllication error, if iam aable to get this proxy business system in Alert configuration then i think we can rise alert. is ther any way to get proxy business system with Adapter engine and Integration engine.  Please help me....
    Regards
    Pradeep P N

  • Mtrr: type mismatch for d8000000 / Grub  boot command line

    Hi,
    Dmesg is showing:
    mtrr: type mismatch for d8000000,2000000 old: uncachable new: write-combining
    (DL380 G5 - generic KVM/LCD Monitor)
    I googled for the problem found
    Disable MTRR for vesafb. iirc, there's a boot command line option to do it.video=vesafb:nomtrr
    Does anyone know this problem, how to fix it, how to put this into Grub to avoid the error on next boot?
    Best regards

    Is that for the video card you are using? In that case you can just edit "/etc/grub.conf" and add that clause to the line beginning with "kernel" and reboot.

  • MS VB Run-Time Error '13': Type Mismatch

    Hi,
    I'm new to the forum, and just starting a trial of RH7 as my
    company decides whether we'll upgrade from our X4 product or switch
    to a different HAT. Before attempting to import my existing HPJ
    project, I opened the sample Application Help project. Frequently
    when I switch among topics, I get a Microsoft Visual Basic dialog
    box that says Run-Time Error '13': Type Mismatch. I have to click
    the End button to close the dialog box. Does anyone have any idea
    what causes the error? I got that error also in X4 when switching
    among topics in my own project (on a different computer).

    Hello Brian,
    I'm thrilled!!! Your clue was enough to set me in the right
    direction, so after spending many hours searching for the solution
    to this problem lately and in the past, it appears to finally be
    solved. Initially just unchecking the other add-ins didn't do the
    trick, and the situation seemed to get worse and worse--I couldn't
    save files because Word kept giving me error messages that macros
    were disabled (which I didn't know how to rectify), and RH kept
    freezing. I noticed after a while that the RoboHelp menu in Word
    would have disappeared when RH froze, and that the template would
    have changed to Normal.dot. If I reattached the RoboHelp.dot
    template, RH would unfreeze, but later the template would switch
    back to Normal and RH would freeze again. I was initimidated to
    edit the registry. Finally I came upon this page
    http://personal-computer-tutor.com/NNTWord.htm
    where the author Linda gave the path to the Word startup folder
    where I found some templates whose filenames were preceded by
    tildes (corrupt?). I deleted those and other junk and I temporarily
    deleted the normal.dot template at Linda's suggestion. Since then,
    the run-time errors have no longer occurred and the other problems
    have not recurred. I THINK I'm back on track! I'm thrilled because
    my boss encouraged me to uninstall and re-install Office and
    migrate to different HAT, a time-consuming process I'd rather avoid
    at least until the current release is completed. Thank you so much
    for your help!!

  • Run Time Error '13' Type Mismatch in SAP BEx

    Hello, SAP World!
    If i try to see "Query Properties" in Excel 2007 in BEx Analyzer, getting the error:
    Run-time error '13'
    Type Mismatch.
    Plz, Help!
    For Excel 2003 this error is not occured.
    GUI 6.40
    File Ver. 6405.5.27.3058
    Patch Level: 27
    SAP BW 3500.4.020

    are you using BW 3.5 or 7.0 (BI nw2004as) ?
    have you installed both BW add-on (3.5 and 7.0) ?

  • Data type mismatch while writing a code in BADi

    Hi Experts,
    While writing a code in BADi, I am facing data type mismatch.
    Scenario:
    I have created the Infospoke based on one ODS and inside BADi i am looking up the other ODS fields.
    Two ODS's having 4 common key fields but one key field having the data type mismatch.
    While selecting the data from other ODS table in where condition it's giving the error data type mismatch.
    Could you please advice the same please.
    Thanks.
    Gana.

    Any update please....
    Thanks in advance.
    Edited by: Gananadha Lenka on Jun 18, 2010 1:57 PM

  • SBO Run-time error '13' Type mismatch

    Hello,
    I'm currently using SBO 2005 SP1 (PL11)
    After installing SBO DTW (2005A PL11 as well), i'm facing this issue : Run-time Error '13' Type mismatch
    I've been trying to modify my regional settings as per the previous discussions but this didn't work (first of all, i'm located in France, and try to apply the french regional settings).
    I've uninstalled and reinstalled DTW and my DI API but unfortunately, this didn't"t work either.
    Any other advise on this problem ?
    Thanks,
    Stephane

    Stephane,
    Here are some links to SAP Notes on the SAP PartnerEdge Portal that may help.  Please read the note carefully as the first note has your remove the Windows User Profile.
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0000873864
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0000884234
    If these do not help I recommend that you log a message with SAP Technical Support as the forum you have posted your question in is for questions related to the SAP Business One SDK and your question is application related to the DTW.
    HTH,
    Eddy

  • Getting validation error "argument type mismatch"

    I have 2 dropdowns and submit button in jspx page. jspx page has corresponding backing bean with respective properties. When I select values in dropdowns and hit submit I am getting redirected to same page with validation error "argument type mismatch" beneath the dropdowns.

    Kate, I bet there is more to the error than you have given here. If I were a betting man I would say it has something to do with the difference between a jbo Number type and the java Number type. I have run into this particular problem twice before. Basically the oracle jbo Number type is not compatible or automatically caste-able into a java type Number. So, perhaps in your backing bean, you have some thing that is defined as a Number in one of jdeveloper's declaritive fields (jbo Number) and in a java program somewhere you have probably declared a variable as just plain-old Number which is a different class...coming from Java's built-in types classes.
    Hope that's your problem, and I hope this helps.
    Michael F.

  • Error while deploying ECO for Java

    Hi
    I got this error while deploying ECO for JAVA
    I chose manual deplyoment
    I specified the location of the jar file, app name, display name
    and left the rest of the options unticked
    after i clicked on the apply button
    OAS returns me this error message:
    Error!: 1
    which is not very helpful
    thanks
    null

    HI..
    Did you check with the note that has been mentioned in the log file??
    Thanks
    Gopal
    Message was edited by:
            Gopalakrishnan

  • Change Business System for Java Proxy Client

    I have created Web AS Java business system for Java proxy.
    Is it possbile to send message from client Java Proxy as another business system (Third party)?
    For example to specify this system
    MessageSpecifier messageSpecifier = proxy.$messageSpecifier();
    messageSpecifier.setSenderService("MY_BUSINESS_SYSTEM");
    proxy.$messageSpecifier(messageSpecifier);

    Yes, it is.
    That's the way to do it.
    Stefan

  • Bex : Run-time Error '13' - Type Mismatch

    Dear,
    I have a trouble with BEX. With some user, they can not start BEX.
    When They start BEX, they have the Run-Time Error '13'  type mismatch.
    With a administrator account, we have not problem.
    When I go in the debug, it stop on "addIn.RunAutoMacros (xlAutoOpen)"
    Could you help me ?
    Thank you,
    Philippe Dupriez

    Phillipe, did you solve this issue. I have a similar issue
    AddIn.RunAutoMacros(xlAutoOpen).
    I appreciate your reply.
    Thanks,
    Parvathi.

  • What are the pre-requisite for JAVA Proxy communication?

    What are the pre-requisite for JAVA Proxy communication?

    Hi,
    You can install the Java proxy runtime on the SAP J2EE Engine Release 6.40 SP5 or higher.
    The messaging system that the Java proxy runtime uses to send messages to the Integration Server must also be installed on the J2EE server.
    To send messages from a J2EE application, the application must be programmed against beans that encapsulate all details about the Java runtime. The following classes are generated:
    ·        Proxy classes that send or receive messages using the Java proxy runtime.
    ·        Bean classes as an outer shell that conform to the J2EE standard. The beans call the proxy classes for communication.
    The classes must be deployed on the J2EE server together with their J2EE application
    see this link for the example scenario http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d

  • Error: The type initializer for 'Microsoft.Exchange.Configuration.Tasks.ThrottlingModule`1' threw an exception.

    having problems on new server so I followed instructions to remove Exchange Server 2013 Sp1 using ADSI edit p;er these instructions:
    http://blog.dargel.at/2012/11/20/complete-remove-exchange-2013-using-adsiedit/
    now when I re-run setup for exchange 2013 SP1 I get the error :    
    "Error: The type initializer for 'Microsoft.Exchange.Configuration.Tasks.ThrottlingModule`1' threw an exception."
    David Sheetz MCP

    contrary to what Ed says you can fix this, it is way harder than it should be and I have NEVER had this many issues on a  fresh build! 
    things to note on Exchange 2013
    1. IPv6 MUST work and also DNS set manually, verify port 25 is open on your firewalls!
    2. even if services are running make sure there are no errors in the application event log and check that all services on the Exchange server are set to ACTIVE. to find out type the below command in exchange management shell
    Get-ServerComponentState –Identity servername
    3. The group "everyone" did not have the right "Access this computer from the network". This could be seen by an audit failure in the security log stating that the user
    "<mailbox server name>" did not have the required login type (login type 3).
    Adding everyone to the "Access this computer from the network" right solved the issue. 
    To enable "Access this computer from the network" :
    Run "gpedit.msc"
    Navigate through
    Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment
    Double click
    on "Access this computer from the network", and ensure "Everyone" is added.
    4. verify all connectors are setup correctly
    Also I found an error in the event log Event
    ID: 1009 once I fixed that emails started to fly!
    To resolve the issue, use one of the following methods.
    Method 1
    Create a new Active Directory group that is named “ContentSubmitters,” and then grant Admistrators and NetworkService full access to the group. This is a dummy group and should be used as a placeholder only. You might want to add a description so that
    the group is not removed.
    Force or wait for Active Directory replication.
    Restart the following services:
    Microsoft Exchange Search
    Microsoft Exchange Search Host Controller
    Method 2
    You can also resolve this problem by removing a configuration entry that refers to the ContentSubmitters group. This entry is present in four files. Each file is calledWcfConfigurator.xml,
    and you can find each file in the following folder:
    %ExchangeInstallPath%\Bin\Search\Ceres\HostController\Data\Nodes\Fsis\<var style="border:0px;font-family:monospace, monospace;font-size:1em;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;">NODENAME</var>\Configuration\Local
    Here, “%ExchangeInstallPath%” is the Exchange installation root path (available in the environment variable of that name), and the placeholder <var style="border:0px;font-family:monospace, monospace;font-size:1em;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;">NODENAME</var> represents
    one of the following names. (There is one name for each of the four files that are to be edited.)
    Helpful articles
    http://blog.dargel.at/2012/11/20/complete-remove-exchange-2013-using-adsiedit/
    http://exchangeserverpro.com/exchange-2013-manually-configure-dns-lookups/
    David Sheetz MCP

Maybe you are looking for

  • HP ENVY WILL NOT SCAN TO THE COMPUTER

    I spent 1 hour yesterday with a HP tchnician.  He took control of my computer,  did some things (which forced me to reinstall chrome) and then concluded that it was Kaspersky's fault.  I haven't been able to do this since I bought the printer a few m

  • Which category screen exits and function exit come

    Hi , I have created an enhancement in ECC 6.0 system on screen exit and function exit for LM00 tcode. now i want to update my developed object in Solution manager. Anyone pls help me under which category this enhancement project falls.

  • To send a document saved as pages

    Hallo everybody, I am a new user of mac and I would like to know if it is possible to send a document saved as Pages and not as .doc or Pdf with my mail. I tried to upload a document saved as Pages to my gmail...but it didn't work. Thanks.

  • Why the cs6 premiere pro can not recognise the miniDV

    My system is win7 64 ultimate .  The OS can recognise my DV and ensure me it works well. but CS6 premiere pro tell me there is no capture equip. where is my fault ??  or someone tell me the solution. thanks a lot

  • Send Message from RMI Server to RMI Client

    Hi, I want to send message to RMI Client throw RMI server to refresh client's data object as it is database application. I guessed i could implement an interface on client side and i can register my client to the server by sending object to the serve