Simple interface

I'm absolutey a beginner and totally new for java environment.I would like to make a simple user interface using swing with two input fields:Ip address and password.
Once the ip address of the machine(a different computer in the network) and the password is matched, i would like to show some other screen.
can i use a flat file to store the ipaddress & password??Could somebody please gimmi an insight how to do this or a tutorial link.
Many thanks

Your challange is not really hard however if your an absolute beginner, you indeed should have a look at the tutorial first:
http://java.sun.com/docs/books/tutorial/
"User Interfaces that Swing: A Quick Start Guide" and "Creating a GUI with JFC/Swing" might contain information you need for the gui. This tutorial also covers some basics of the language itself.
If you need more help, just reply here.
Michael

Similar Messages

  • Simple Interface expired password change prompt

    We have a population of users who access GW exclusively through WebAcc. Some of this population has jumped on the mobile device bandwagon and so we've directed them to the simple interface when accessing GW from a mobile device.
    Some of these mobile device users now exclusively use the simple interface on their tablet/phone to access GW and when their password is expired, are never presented with the password change dialogue.
    Ive verified when user with an expired password navigates directly to the simple interface url , https://gwserver/gw/webacc?User.interface=simple, either on a mobile device or desktop browser, IE, FF, Chrome, the user consumes a grace login and is taken directly to the simple interface mailbox.
    Resetting grace logins and navigating to the standard webacc interface the GW password change dialogue is presented as expected.
    GroupWise 8.0.1 webacc on netware. I think wed refrained from going to newer releases in fear of some nasty bugs in the subsequent versions, but Ive not kept current on issues with the latest release.
    I understand the next GW version with native mobile device templates is around the corner, but management may want to address this sooner.
    Is this failure to recognize password expiry in the simple interface a know behavior?
    Regards,
    Fdiaz

    On 8/8/2011 8:36 AM, vodobaas wrote:
    > We have a population of users who access GW exclusively through WebAcc.
    > Some of this population has jumped on the mobile device bandwagon and so
    > we've directed them to the simple interface when accessing GW from a
    > mobile device.
    > Some of these mobile device users now exclusively use the simple
    > interface on their tablet/phone to access GW and when their password is
    > expired, are never presented with the password change dialogue.
    >
    > Ive verified when user with an expired password navigates directly to
    > the simple interface url ,
    > https://gwserver/gw/webacc?User.interface=simple, either on a mobile
    > device or desktop browser, IE, FF, Chrome, the user consumes a grace
    > login and is taken directly to the simple interface mailbox.
    > Resetting grace logins and navigating to the standard webacc interface
    > the GW password change dialogue is presented as expected.
    > GroupWise 8.0.1 webacc on netware. I think wed refrained from going to
    > newer releases in fear of some nasty bugs in the subsequent versions,
    > but Ive not kept current on issues with the latest release.
    > I understand the next GW version with native mobile device templates is
    > around the corner, but management may want to address this sooner.
    >
    > Is this failure to recognize password expiry in the simple interface a
    > know behavior?
    >
    > Regards,
    > Fdiaz
    I'll ask.

  • Is there more simple interface library than OCI for C.

    I read OCI 8.0 documentation and I think that API like CLI XOpen standard but this standard is much complicated. So I am looking for a way to interacting with server in manner such as PostgreSQL interface library or MYSQL interface library or Sybase
    DB-Library. I don't want to bind variables; I do not want to start transactions. I just need 7 functions like this.
    Connect () - initialize and make connection to server.
    SendQuery () - send query to the server (I do not want to know the type of query DML or Select I just want to send query to server which query server to execute) (each query is in its own transaction so I do not need to commit or rollback.
    StoreResult () - retrieve result set if any or information about last executed query.
    GetValue (row, field) - just retrieve data for given field without any binding do you understand that binding do not allow to write code which is not care from executed query and returned result set.
    GetResultSet info () - to have a capability to ask for type of each field in a result set.
    FreeResultSet () - free data allocated for result set.
    CloseConnection () - when connection is not more needed.
    P.S to learn how to write documentation just see Description of PostgreSQL interface library of C, which is about 30 pages.
    I hope someone will answer my question or company where I work will discard Oracle as database server to resell to our clients.

    Try downloading libsqlora. It is a wrapper around OCI but hides all complicated parameter passing to OCI calls. Searching on google or altavista would give you link to download. It is either called libsqlora or libsqlora8. It is also very simple in documentation (just about 10-12 pages as far as I can remember).
    However, just because OCI is complicated, one would discard Oracle seems to be a bit hasty thinking. Oracle has much more than just OCI. And about 70% of oracle developers either do not use OCI or use it just for minimal functions. That is because Oracle has (especially after 8i), superb 4GL (PL/SQL) for all your development needs. And if you have Oracle APP server, you could do wonder enterprise wide applications in quickest possible time. Of course I am not working for Oracle nor am I in database marketing, but these feelings I also had when I was new to Oracle that oh is it so complicated. Hope this helps?

  • Simple interface vs. inline speed comparison with unexpected results

    I posted this question also to the Hotspot internals section which was, may be, the wrong place.
    Recently, I wrote a simple superficial test to inform myself about the potential penalty for calling methods through interfaces, generic interfaces, final classes vs. inlined code. The example consists of two interfaces
    public interface A{
        public long doA( long a );
    public interface B{
        public long doB( long b );
    }an interface that extends both
    public interface AB extends A, B {}and two final classes, one implementing AB and the other implementing A and B
    final public class ABClass implements AB {
        final long c;     
        public ABClass( final long c ) { this.c = c; }
        @Override
        final public long doA( final long a ) {
            return a * a + c;
        @Override
        final public long doB( final long b ) {
            return b * b + c;
    final public class APlusBClass implements A, B {
        final long c;     
        public APlusBClass( final long c ) { this.c = c; }
        @Override
        final public long doA( final long a ) {
            return a * a + c;
        @Override
        final public long doB( final long b ) {
            return b * b + c;
    }I perform five tests, each looping over long i from 0 to 1000000000, summing up the return values of both methods called with i. The test is performed calling methods using the parameters AB, a generic Type implementing A & B, and the final classes directly in all possible combinations
    final static private long finalAB( final ABClass ab, final long x ) {
        return ab.doA( x ) + ab.doB( x );
    final static private long finalAPlusB( final APlusBClass ab, final long x ) {
        return ab.doA( x ) + ab.doB( x );
    final static private long nonGeneric( final AB ab, final long x ) {
        return ab.doA( x ) + ab.doB( x );
    final static private < T extends A & B >long generic( final T ab, final long x ) {
        return ab.doA( x ) + ab.doB( x );
    }Furthermore, as a last test, the calls to doA( x ) + doB( x ) are explicitly inlined
    x * x + c + x * x + c;All six tests are performed 10 times.
    The test is here, including the sources:
    [http://www.speedyshare.com/files/22401605/download/test.jar|http://www.speedyshare.com/files/22401605/download/test.jar]
    java -jar test.jar
    When running the test, I get two surprising results:
    1. The first run is the fastest for all tests but the explicitly inlined test. All tests are approx. equally fast but the inlined version is slowest(?).
    2. From the second run, all tests are about 1.5x slower, except the explicitly inlined which has constant speed in all runs and is now the fastest.
    I would be very happy if somebody could highlight to me the rationale behind these effects.
    Thank you very much in advance.

    axtimwalde wrote:
    Again, you're wrongly interpreting, I assume it would help to look at and understand the test?! It demonstrates nicely, that, in Java 6, there is no additional cost for calling methods through interface hierarchies vs. final classes which is very nice. With Java 5, this is not the case, which is also clearly demonstrated by this test. So?
    Referring to nanoseconds makes no sense at all, what matters is the factor that separates two different execution speeds. There are applications, where it matters a lot if it is an order of magnitude slower or not, that may be the argument that separates great from trash. Name one application where your results would make the major functionality of the application an order of magnitude faster.
    Consider also, that there are platforms that still lack support for Java > 5.I write high performance servers for a living. And I have been doing it for years. I have done it in C#, Java and C++. I have profiled applications in all of those languages in multiple problem domains.
    And there was never a single case where call semantics impacted the speed of the application in anyway that was even measurable.

  • Simple Interface control

    sometime when i am working with multiple projects open i drag a window apart from the main canvas making 2 canvases.
    Often when i do the part of the window that has the project name goes behind the upper interface. Normally when this happens i close the project and reopen to get the dragable part back.
    But is there another way to handle this?

    Preditor Corbett wrote:
    But is there another way to handle this?
    Well, you could turn off the Application Frame under the Window menu. Or, you can bring any open image to the front by selecting it under the Windows menu at the bottom...that will pop any image behind the Application Frame to the front. You can also use the keyboard command Control plus Tab to move between open images...

  • Building a simple User Interface

    HI,
    I'm interested in building a very simple User Interface. All I want to see is a panel with buttons and each button will execute a test sequence file.
    1) Is it possible to create such a panel with CVI or LV and then call a sequence file which will be handled by TS?
    In that case, I would expect to see TS panels while executing the sequence and once finished (or closed by the user) to come back to the original panel that calls the sequences.
    2) is it better to create this panel with TS utility? (I have never done it and suspect it will not be a simple job).
    Thanks
    Rafi

    You can do this in test stand if a simple interface containing just a prompt and buttons will do. In your main sequence, the first step is to create a MessagePopup step. Put a title like "Test Selection". Put a message like "Choose a Test". Label button 1 "test 1". Label button 2 "test 2", and so on. Create a local numerical variable called TestNum. In the post expression section of the first step, add the line Locals.TestNum = Step.Result.ButtonHit. You next step can be a sequence call to the first test sequence. Add a precondition that Locals.TestNum==1. The following steps can all be sequence calls to your other test sequences with preconditions of Locals.TestNum==x, where x is the number corresponding to the button hit in step one. When the selected test sequence is done, the main sequence will be repeated with the message popup asking for a test to run.
    - tbob
    Inventor of the WORM Global

  • [Interface] - Passing variety parameters/input to PL/SQL report

    Hi,
    I've the PL/SQL report which can allow passing in the parameter, i use '&'.
    the report is given to the end user who do not have the IDE for PL/SQL. the machanism of the report is generated into the spool file and import into excel format.
    now i am wondering how to create a tool using SQL or PL/SQL to allow the end user to choose the parameter(s) dynamically and passing into the PL/SQL to generate the report based on the input selected.
    the parameters like below:
    package code :
    week no :
    year :
    department :
    all the above parameters, the data would be selected from the existing lookup table. the user is allow to select more than 1 input for specified parameter for instance i want to spool report for week 1 until week 5.
    pls advise any solution on this topic. thanks

    hi scoot,
    thank for reply.
    yep, i'm using sql*plus and also sql navigator 4.0 .
    the user don't have the software to interact. i'm thinking of build an simple interface using VB and passing in the parameter then initiate the sql*plus to run the program in background mode.
    but if you have any other solution which not need to use other software to wirte such program , pls let me know immediately. thank

  • Logic 9.1.5 and Lion. Interface unresponsive.

    I'm experiencing a very strange issue with logic 9. The interface becomes unresponsive, I can't click on any buttons in plugin windows / transport bar / mixer page.... anywhere while the project is playing. The keyboard is equally unresponsive i.e. I can't stop with space bar etc. The clicks / keystrokes are being recognised by them system as after a while, usually about 5-10 seconds, the messages get throughout to logic. If a 'stop' message get though from the keyboard or transport bar stop button, as soon as the project stops... I can see all the clicks/keystrokes in the buffer all get executed at once in a bulk dump, which can be in the hundreds of commands if I get pareticulary frustrated. This is not a problem with overloading the audio engine. My quad core mac is only showing 1 or 2 notches of activity on all cores in logics system performance meter and activity monitor shows I'm only using %10 of available CPU. The rest of the system is unaffected. Safari / Mail etc work as usual. Closing any other open apps doesn't help. It happens on my MOTU ultralite [i]and[/i] Apogee Duet. It happens at [i]any[/i] I/O buffer setting and [i]any[/i] size reasonable size project. I have one open now with 15 tracks and about 20 or so plugins, my mac should barely even register this on the performance meter.
    Other users are reporting the same issues here and note the Logic 7's interface is near instantaneous on the same system.
    https://discussions.apple.com/thread/2396951?start=0&tstart=0
    Anyone have any ideas?

    I was joking... sorry for my english
    anyway: I'm running a top of the line Imac, Mac Os 10.7.1 (that came preinstalled) and Logic 9.15. a full Apple rig... It's not unrealistic to expect a normal performance. IMO it's a little sub-par.
    Regarding Logic, the last thing I want is they make things "simpler"... It ussually means less options. If I'd want a simpler interface and less options I'd go with protools in a breeze as it's the de facto standard and it's a lot simpler.  If somebody wants even simpler things Garage Band is the way to go...not Logic.  Why people don't ask for a more complex GB instead of a simpler Logic?. The program has TONS of places to improve: PDC is a mess, there are LOTS of bugs, and I can think not less than 20 real improvements. None of them makes things simpler. IMHO it has to be professional, not "simpler". Playing piano is very simple, but it takes time and effort to master it.  I don't agree with this childist society thinking that everything has to be so simple that any ignorant can drive it. This is a professional tool for professionals, or it should be.
    That said, I also like the new features in Lion. Problem is: I use my machine for work not for some eye candy. If that were the case I'd buy an Ipad.
    regards

  • More About Using Interfaces

    Some of you may know that I've been experimenting more and more with interfaces.
    In a thread from some weeks ago (authored by me), CrazyPenny went into elaborate detail about how they work under the hood. That plays into this and I thought that some of you would find it at least interesting and possibly useful to you.
    The guy that leads the administration stuff where I work asked me a "if you have time, would you..." questions. I should learn by now to gracefully excuse myself "oh gosh, look at the time - gotta run!", but anyway, I didn't.
    This has to do with expense reports from various employees - they want a consistent way of handling them. I certainly do agree with that, but he has an Excel spreadsheet that he's so very proud of. Uhh, it's ... well, I just think I can do better on my own
    with VB and that's where I am with this.
    He has it set up with seventeen different expense "types". Some are very similar, and some are quite different. Imagine for example how you'd set up an expense type for mileage reimbursement as opposed to how you'd set it up for out-of-pocket cost
    for something like airfare and you get the idea here.
    Per "entry" (in his, a row in his super duper Excel spreadsheet), there can only be one entry which can be any of those 17, but as stated, they're each done differently. This is where I am right now and I thought I'd share how I approached this:
    I have a namespace that has all of those 17 "types" set up as classes. I have a simple interface named "IExpenseType" set up as follows:
    Public Interface IExpenseType
    ReadOnly Property Type As ExpenseType
    End Interface
    In the above, "ExpenseType" is a class that establishes the name, the category, and a five digit code they use internally for each.
    Each of the 17 classes implement that interface and now I'm in a namespace that I've set up to enter the data and later will be set up for a report based on those individual entries.
    For each entry, how do I handle that? Initially I thought about having seventeen instances of each of those classes and 16 would be null. What a dumb idea! I didn't like it but I couldn't figure out how else to do it, and that's where this interface has
    resolved it. Each entry (that is, each instance of a class for the entries that I'm calling "ExpenseEntry") has the following fields:
    Private _entryDate As DateTime
    Private _entryType As ExpenseEntryType
    Private _isBillable As Boolean = False
    Private _jobOrWorkOrderNumber As String = "N/A"
    Private _expenseEntry As ExpenseDetail.IExpenseType
    The "entry" is the type IExpenseType. The method I'm using to add a new one has a parameter set up the same way and with that, I can now have just one single member which may be an instance of any of those seventeen classes.
    You also see a backing field named "_entryType" which is an enumerator. When a new one is added, I'm testing what actual type (for lack of a better word here - what class it is of the 17 possibilities) so that later I'll be able to filter them
    for reporting based on that enum value. Here's where my thoughts went back to what CrazyPenny added in that other thread:
    How can I find out a type -- from a type.
    If you recall, he explained that there are two distinctly different "types of type". The type that the parameter (and backing field) are based on the interface but to use my enum, I need to know the type (the "type" from the class instance
    itself) so that I correctly set the enum.
    Did you know that there are two types of "TypeOf"? I didn't - why didn't you tell me then! ;-)
    I'll show by example:
    If entry.GetType Is GetType(ExpenseDetail.Lodging) Then
    _entryType = ExpenseEntryType.Lodging
    ElseIf entry.GetType Is GetType(ExpenseDetail.Travel.Gas) Then
    _entryType = ExpenseEntryType.Gas
    ElseIf entry.GetType Is GetType(ExpenseDetail.Travel.Airfare) Then
    _entryType = ExpenseEntryType.Airfare
    End If
    entry.GetType is from .Net and GetType (on its own) is a VB method that, as I understand, was around before .Net was so it's been retained.
    As you can see above I'm using both of them. Maybe there's a better/easier way? I'm receptive to it if you have ideas, but this is working quite well and allows me to have just one member which may be any of the 17 actual classes behind it.
    I hope that this might find use in some of your work. :)
    Still lost in code, just at a little higher level.

    As you can see above I'm using both of them. Maybe there's a better/easier way? I'm receptive to it if you have ideas, but this is working quite well and allows me to have just one member which may be any of the 17 actual classes behind it.
    I think that's pretty much the general approach as far as "item.GetType Is GetType(itemInterfaceType)" is concerned.  I typically set up the comparisons using Select Case but that is a trivial difference.
    As far as the enum goes, keep in mind that IEnumerable.TypeOf will let you get just the items of a particular type from a collection.  If you're doing mostly LINQ collection manipulation anyway then you may not need the enumeration.  Methods which
    could use the enumeration information could be implemented as generic methods with an IExpenseType generic parameter constraint.  This may actually be preferable to the enum in cases where you want to return a strongly typed result value from the method.
    Reed Kimble - "When you do things right, people won't be sure you've done anything at all"

  • New to Java. Want to write a simple applet for a mobile phone.

    Hello,
    I want to write a simple java applet for a mobile phone. currently I am in the stage of thinking about whether this is possible in a timeframe of about a month. I have very little java experience from a while back so I'm pretty much starting from scratch.
    All I want is an applet that lets you send 2 or 3 variables to an online server. The server will then reposition telescopes.
    All i'm concerned with is the mobile phone part, which doesn't have to be secure or impressive. Just a simple interface.
    Ideally it should work on my nokia 6070, which occording to the official specs has the following java technology:
    MIDP 2.0
    CLDC 1.1
    JSR 120 Wireless Messaging API
    JSR 135 Mobile Media API
    Nokia UI API
    (I don't know what any of this means but am a good learner).
    Can anyone offer me any advice? Is this possible in my timeframe? where should I start? I need a editor and compiler also (I'm using windows XP).
    Many thanks and kind regards,
    Jason

    Actually it is working on my phone now.
    I changed the target platform in the wireless toolkit settings to MIDP 1.0
    Now to create the fields coordinate fields etc. I don't have much of a clue really.
    Current I have:
    import java.io.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class AtmosMIDlet extends MIDlet implements CommandListener
    Form WelcomeForm = new Form("AtmosMIDlet");
    StringItem WelcomeMes = new StringItem(null, "Please enter coordinates:");
    TextField Longitude = new TextField("Longitude", "", 3, TextField.NUMERIC);
    TextField Lattitude = new TextField("Lattitude", "", 3, TextField.NUMERIC);
    public AtmosMIDlet()
    try
    ImageItem logo = new ImageItem(Image.createImage("/logo.png"));
    WelcomeForm.append(logo);
    catch (java.io.IOException x)
    throw new RuntimeException ("Image not found");
    WelcomeForm.append(WelcomeMes);
    WelcomeForm.append(Longitude);
    WelcomeForm.append(Lattitude);
    WelcomeForm.addCommand(new Command("Exit", Command.EXIT, 0));
    WelcomeForm.setCommandListener(this);
    public void startApp()
    Display.getDisplay(this).setCurrent(WelcomeForm);
    public void pauseApp() {}
    public void destroyApp(boolean unconditional) {}
    public void commandAction(Command c, Displayable s)
    notifyDestroyed();
    I'm trying to get the image logo.png to display at the top but I get the error:
    C:\WTK25\apps\AtmosSpec\src\AtmosMIDlet.java:19: cannot find symbol
    symbol : constructor ImageItem(javax.microedition.lcdui.Image)
    location: class javax.microedition.lcdui.ImageItem
    ImageItem logo = new ImageItem(Image.createImage("/logo.png"));
    ^
    1 error
    com.sun.kvem.ktools.ExecutionException
    Build failed
    When I try to build.. Any help would be great.
    Ideally the image would be on a seperate screen for a couple of seconds.

  • Interface Mapping Object - No class definition found

    Hi
    I have created a simple Interface Mapping in the Integration Repo. When i try to TEST the interface mapping i get class not found errors.See the stacktrace below.
    LinkageError at JavaMapping.load(): Could not load class: com/sap/xi/tf/_PO_MAPPING_
      - java.lang.NoClassDefFoundError: Illegal name: com/sap/xi/tf/_PO_MAPPING_
    Looks like some standard sap packages are missing from the CLASSPATH. Anyidea where it has to be specified ?
    PO_MAPPING is the message mapping object i have created and the test is successful for this object.However when i reference it in Interface Mapping , i get the above errors.
    I suppose XI generates Java Code when i create these objects and the mappings.Any idea where the JVM seems to reference these packages and How to rectify it ?
    Thanks
    Saravana

    Hi,
    Please check whether you have applied note 755302.
    - Sreekanth

  • Problems with SOAP Adapter/Interface

    Hi Experts,
    we currently try and experiment with XI 3.0 Stack 09 and the SOAP adapter respectively.
    We started with a simple interface (foo..., see wsdl attachment) that we want to provide by XI.
    All configurations (SLD, Integration Repository, Integration Directory) should have been done accordingly as we suppose, similar to other szenarios we have already implemented.
    When we send a SOAP request based on a generated wsdl to XI we get the exception at the bottom of this text, containing e.g.
    com.sap.aii.messaging.srt.BubbleException: error during conversion [null "null"];
    com.sap.aii.messaging.util.XMLScanException: Parsing an empty source. Root element expected!
    For sending the SOAP message we used XMLSpy.
    Did someone have similar problems or can give us an working WSDL example, or some hint?
    Thanks in advance,
    Klaus Lukas
    foo.wsdl
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:p1="urn://poreceive.xi.pse.siemens.com" targetNamespace="urn://poreceive.xi.pse.siemens.com" name="foo_out_sync">
         <wsdl:types>
              <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn://poreceive.xi.pse.siemens.com" targetNamespace="urn://poreceive.xi.pse.siemens.com">
                   <xsd:element name="foo" type="foo_DT"/>
                   <xsd:complexType name="foo_DT">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                        fe0bb241d2a011d9cd15e9729ee2f568
                        </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:sequence>
                             <xsd:element name="item" type="xsd:string">
                                  <xsd:annotation>
                                       <xsd:appinfo source="http://sap.com/xi/TextID">
                                fe0bb240d2a011d9acede9729ee2f568
                                </xsd:appinfo>
                                  </xsd:annotation>
                             </xsd:element>
                        </xsd:sequence>
                   </xsd:complexType>
              </xsd:schema>
         </wsdl:types>
         <wsdl:message name="foo">
              <wsdl:part name="foo" element="p1:foo"/>
         </wsdl:message>
         <wsdl:portType name="foo_out_sync">
              <wsdl:operation name="foo_out_sync">
                   <wsdl:input message="p1:foo"/>
                   <wsdl:output message="p1:foo"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name="foo_out_syncBinding" type="p1:foo_out_sync">
              <soap:binding xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name="foo_out_sync">
                   <wsdl:input>
                        <soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal"/>
                   </wsdl:input>
                   <wsdl:output>
                        <soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal"/>
                   </wsdl:output>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:service name="foo_out_syncService">
              <wsdl:port name="foo_out_syncPort" binding="p1:foo_out_syncBinding">
                   <soap:address location="http://xxxxxxxx:8000/XISOAPAdapter/MessageServlet?channel=:Foo_SOAP_Service:SOAP_Foo_out&version=3.0&Sender.Service=Foo_SOAP_Service&Interface=urn%3A%2F%2Fporeceive.xi.pse.siemens.com%5Efoo_out_sync" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
              </wsdl:port>
         </wsdl:service>
    </wsdl:definitions>
    soap message incl. error
    <?xml version="1.0"?>
    <!-- see thedocumentation -->
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
    <SOAP:Fault>
    <faultcode>SOAP:Server</faultcode>
    <faultstring>error during
    conversion</faultstring>
    <detail>
    <s:SystemError
    xmlns:s="http://sap.com/xi/WebService/xi2.0">
    <context>XIAdapter</context>
    <code>XMLScanException</code>
    <text><![CDATA[
    com.sap.aii.af.mp.module.ModuleException
    at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process
    (XISOAPAdapterBean.java:697)
    at
    com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl3.process
    (ModuleLocalLocalObjectImpl3.java:103)
    at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process
    (ModuleProcessorBean.java:221)
    at
    com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process
    (ModuleProcessorLocalLocalObjectImpl0.java:103)
    at com.sap.aii.af.mp.soap.web.MessageServlet.doPost
    (MessageServlet.java:543)
    at javax.servlet.http.HttpServlet.service
    (HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service
    (HttpServlet.java:853)
    at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet
    (HttpHandlerImpl.java:385)
    at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleReques
    t(HttpHandlerImpl.java:263)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet
    (RequestAnalizer.java:340)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet
    (RequestAnalizer.java:318)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebConta
    iner(RequestAnalizer.java:821)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.handle
    (RequestAnalizer.java:239)
    at com.sap.engine.services.httpserver.server.Client.handle
    (Client.java:92)
    at com.sap.engine.services.httpserver.server.Processor.request
    (Processor.java:147)
    at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessio
    nMessageListener.process(ApplicationSessionMessageListener.java:37)
    at
    com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner
    .run(UnorderedChannel.java:71)
    at com.sap.engine.core.thread.impl3.ActionObject.run
    (ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute
    (SingleThread.java:94)
    at com.sap.engine.core.thread.impl3.SingleThread.run
    (SingleThread.java:162)
    Caused by: com.sap.aii.messaging.srt.BubbleException: error during
    conversion [null "null"]; nested exception caused by:
    com.sap.aii.messaging.util.XMLScanException: Parsing an empty source.
    Root element expected!
    at
    com.sap.aii.messaging.srt.xmb.XMBWebServiceExtension.onResponseToWS
    (XMBWebServiceExtension.java:936)
    at
    com.sap.aii.messaging.srt.xmb.XMBWebServiceExtension.invokeOnResponse
    (XMBWebServiceExtension.java:602)
    at com.sap.aii.messaging.srt.ExtensionBubble.onMessage
    (ExtensionBubble.java:58)
    at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process
    (XISOAPAdapterBean.java:576)
    ... 20 more
    Caused by: com.sap.aii.messaging.util.XMLScanException: Parsing an
    empty source. Root element expected!
    at com.sap.aii.messaging.util.StreamXMLScannerImpl.open
    (StreamXMLScannerImpl.java:104)
    at com.sap.aii.messaging.mo.DefaultItem.setData
    (DefaultItem.java:294)
    at
    com.sap.aii.messaging.srt.xmb.XMBWebServiceExtension.makeItemFromPayload
    (XMBWebServiceExtension.java:972)
    at
    com.sap.aii.messaging.srt.xmb.XMBWebServiceExtension.onResponseToWS
    (XMBWebServiceExtension.java:879)
    ... 23 more
    ]]></text>
    </s:SystemError>
    </detail>
    </SOAP:Fault>
    </SOAP:Body>
    </SOAP:Envelope>

    Hi Klaus
    In your wsdl file the soap address tag (given below)
    <b><soap:address location="http://xxxxxxxx:8000/XISOAPAdapter/MessageServlet?channel=:Foo_SOAP_Service:SOAP_Foo_out&version=3.0&Sender.Service=Foo_SOAP_Service&Interface=urn%3A%2F%2Fporeceive.xi.pse.siemens.com%5Efoo_out_sync" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/></b>
    is to be edited as
    <b><soap:address location="http://xxxxxxxx:50000//XISOAPAdapter/MessageServlet?channel=:Foo_SOAP_Service:SOAP_Foo_out" /></b>
    because the soap address format should be like :
    <i>http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel</i>
    For more information :
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
    Hope this will be helpful.
    Regards
    Suraj

  • Can I supress BPM for Asyn outbound and syn inbound proxy interface

    Hi all,
    Is there any other alternate to remove the BPM at asyn outbound and syn inbound proxy interface. Reason because I can create another outbound proxy interface at the receiver. But at receiver side we already invested huge code to develop the sync server proxy. So the intension is, with out disturbing the code Can I make the message flow with out BPM?
    Because the reason of removing BPM is for a simple interface like this I don't want to use BPM. souce is JDBC and receiver is ECC 6.0. I know with out BPM it can not be achieved but in PI 7.1 EHP 1 by any chance can we do?
    I mean during response mapping from server proxy shall we use look up function to achieve?

    This bean I have to use at sender channel right?
    Yes
    I mean is it is limited to JMS adapter?
    No
    You can find more information in the Wiki which deals with FILE  to RFC synchronous...using the above Module

  • Oracle To MSAccess interface trouble

    I'm trying to run a simple interface that transfers data in one Oracle table to a MS Access table and getting errors. I've clicked the "Staging Area Different From Target" checkbox and specified that the calculations should be done on the Oracle side, but when the interface runs, it tries to create the work table in MS Access.
    Here's the error I'm getting:
    -3551 : 37000 : java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in CREATE TABLE statement.
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in CREATE TABLE statement.
    Anyone been successful with doing an Oracle to MSAccess transfer and if so how did you set it up?
    Thanks,
    Zack.

    >
    > We have a requirement that to transfer data from oracle operationa data store to SAP R/3. What is the best way to achieve this. Is it possible to do using FTP? Please let me know if there are any other ways to achieve this.
    >
    If you have PI middleware then you can develop interface between ORACLE to SAP R/3 , it works for you.
    search in sdn for ORACLE AND R/3INTEGRATION interface.
    Regards,
    raj

  • How to see rows  errors not loaded by interface

    Hello, I have a simple interface, I am loading data within same oracle database from one schema to another schema.
    But I see 3 rows less.
    Can some body please advice how to see rows that are not loaded,what was reason etc.
    Thanks

    Hi,
    You can also see it within ODI by opening the Model --> right-clicking your target datastore -->Check --> Errors...
    It shows you the table E$_ table for this specific datastore. For each rejected row, you will see the whole set of columns plus the reason of the rejection.
    Hope it helps,
    Jerome Fr

Maybe you are looking for

  • Set value for subreport on load or current-to prevent dispalying "#Error"

    I've got a Work Orders Report which I use to Print Production Copies for Operators.  This report uses a subreport to pass information about Purchase Orders to the Report and then I use "=[Reports]![WORK ORDERS REPORT]![AssociaterQuery subreport]![SIZ

  • Is there a way to export and print the browser data as a spread sheet?

    I'm in the process of logging approximately 1,500 shots for a documentary (the old fashioned way - long hand: shot #, TC in, descriptions... ) and I'm wondering if there's a way to export and print the data in the browser as a spread sheet.  It seems

  • XML mapping  error table or view does not exist

    Hi Friends, I am using ODI 11g. I am facing a error while working on XML to ORACLE mapping, My source table name is Employee and Target table name is Copy Of Employee.I dont hv any join condition. ORA-00942: table or view does not exist and select   

  • Goods Receipted Delivery Times

    Hi, I have been been trying to find a report which will show me Delivery Times which have been MIGO'd in SAP, I want to be able to run the report by multipul sites/Vendors Any Help on this would be great

  • Changes done for sap user details

    Hi All, I need to know a standard transaction code or FM; which can give the information on the modifications/changes done for the sap user's first name; last name and e-mail id. Any help will be appreciated. Thanking you all in advance.