Abap webservice Both Client & Server Issue???

Hi all
     I Want to test SAP ABAP As Client to Call another systerm method~ But Now I am not a outside WSDL,So For Test,
     STEP1:I Use SAP Self to Create a Remote-function Moudle ,then Create Webservice with It.Name.YYSPP3001.Test OK.
     STEP2:Then Se80,Create client proxiex with YYSPP3001 WSDL.Proxy Name:YYSCO_YYSPP3001
     STEP3:Using Lpconfig to Configure This Proxies as a Logic Port  name:YYSCO_YYSPP3001
     STEP4:Test This Client Proxies:YYSCO_YYSPP3001 ,But Return This Message;
    SOAP:14 Unexpected element -el=defins=http://schemas.xmlsoap.org/wsdl/ 
 What is this Error Mean??? My WSDL Is Create By systerm auto with soamanager.
    So Please Help me On This .Thanks~~~

Hi all
     I Want to test SAP ABAP As Client to Call another systerm method~ But Now I am not a outside WSDL,So For Test,
     STEP1:I Use SAP Self to Create a Remote-function Moudle ,then Create Webservice with It.Name.YYSPP3001.Test OK.
     STEP2:Then Se80,Create client proxiex with YYSPP3001 WSDL.Proxy Name:YYSCO_YYSPP3001
     STEP3:Using Lpconfig to Configure This Proxies as a Logic Port  name:YYSCO_YYSPP3001
     STEP4:Test This Client Proxies:YYSCO_YYSPP3001 ,But Return This Message;
    SOAP:14 Unexpected element -el=defins=http://schemas.xmlsoap.org/wsdl/ 
 What is this Error Mean??? My WSDL Is Create By systerm auto with soamanager.
    So Please Help me On This .Thanks~~~

Similar Messages

  • Has the ODI same installable for both Client & Server?

    Has the ODI same installable for both Client & Server?
    i.e. Team with multiple developers is concurrently working on ODI project. Repository is very much same. They just need the Designer Module in their desktop.
    Is there separate installable for development IDE for ODI (Designer Module) instead of complete ODI which may include the server also?
    Thanks In Advance
    priyadarshi.

    Hi ,
    You can install only the client in multiple machine if multiple user are going use/share the same repository ... and you should be having the same
    snps_login_work.xml
    snps_login_security.xml
    in all your client installations....so that you can have multiple users created and share the same repositroy ...
    hope this helps
    Thanks
    Ananda

  • CORBA client server issue

    Hi,
    I am making a client server architecture implementing CORBA.
    On the server side there are two classes ChargingManager and Charging.The client first calls a method createChargingSession() on ChargingManager class which in turn returns a reference of the Charging class back to the client.But when the client call a method debitAmount() on Charging reference it throws an exception showing that the call instead to be initiated to Charging class actually goes to ChargingManager class where it throws methodNotFound exception.
    But in a separate scenario if instead of sending back the Charging reference to client I create an IOR file of Charging class as similar to that of ChargingManager and once the client resolves the object reference of Charging class from this IOR file and calls the method debitAmount() it performs well....I am not able to figure it out..Please help me out...Attached are the exception...
    org.omg.CORBA.BAD_OPERATION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.BAD_OPERATION: vmcid: 0x0 minor code: 0 completed: Maybe at org.csapi.cs.IpChargingManagerPOA._invoke(IpChargingManagerPOA.java:35)
    at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637)
         at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
         at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1680)
         at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540)
         at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922)
         at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
         at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694)
         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451)
         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1187)
         at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:417)
    ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: Maybe
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:902)
         at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:99)
         at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:572)
         at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:430)
         at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:326)
         at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
         at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
         at org.csapi.cs._IpChargingSessionStub.directDebitAmountReq(_IpChargingSessionStub.java:222)
         at com.handler.OsaCharging.charge(OsaCharging.java:331)
         at com.handler.OsaCharging.main(OsaCharging.java:513)
    Does sending back the reference in CORBA changes the reference definition..

    I've got exactly the same problem... I use a SessionFactory to create a Session, and when I try to call session.open(); I actually call sessionFactory.open();
    Don't have an idea why is that... If you solved it, please do tell how.
    Thanks

  • Timezones and client/server issue

    We have a client process which runs on Windows PCs which are scattered among different timezones. These clients send data periodically to a server.
    The data includes timestamps indicating when certain events happened on each client PC. We need to know the timezone for each PC so that we can display those timestamps (stored on the server in GMT) in the timezone of each PC.
    The tricky bit: the clients are in C++ and the server is in Java. We cannot assume a JRE is installed on the clients.
    Our C++ client code can get the Windows timezone name as a string and pass that to our Java server code. What isn't obvious is how to translate that string to a Java TimeZone object. For example, the Windows string "Central Standard Time" maps to the Java TimeZone ID String "America/Chicago".
    I've done enough research to discover that the (relatively new) jre/lib/tzmappings file contains exactly these mappings. But it appears that the code which relies on that file is quite "under the hood" in java -- most likely in the unpublished sun.util.calendar package.
    Does anyone know of a way to map an O/S-specific timezone string to a Java TimeZone object? I know I can write my own code to read the tzmappings file myself, but that file explicitly states that "No applications should depend on this file in any form." I'd prefer a kosher solution.
    All ideas, suggestions, thoughts, links, etc. appreciated. Thank you!

    Thanks for the comments, everyone. Some responses:
    It seems the exact opposite to me. Relying on yourown file rather
    than using a file that explictly says "Don't useme!" seems less brittle.
    Both are brittle. By relying on the "one built into
    Java" I can rely on timezone additions and changes
    made by Sun without doing anything. Otherwise I have
    to be responsible for maintaining mine over time,
    noticing (for example) whenever Sun updates theirs
    and then updating and re-releasing mine.
    You either are going to be mixing data or not.Can you clarify for me what you mean by "mixing
    data"?
    We were planning to store all timestamps in the
    database in GMT with a timezone code. This allows
    queries to be based on normalized time (all use GMT),
    yet also allows us to know when an event happened in
    "local time" (on the PC where the event occurred) by
    converting the GMT value using the timezone code.There is a difference between doing a query and displaying the data.
    In terms of the query you don't need to access anything (special files.) You do the query in SQL, nothing more.
    In terms of displaying the data you have a number of choices.
    1. Don't display the time at all.
    2. Display it in reference to a specific timezone.
    3. Display each time in reference to the timezone that originated it.
    The last choice is not usable for users when the data is mixed in one display.
    >
    it is going to be a very large mistake to attemptto display each time in
    a different timezone (without categorizing it someother way.) It will be
    non-sensical to the users.What about when the clients ARE in various timezones?
    We have GUI screens and reports which show events on
    PCs in various continents. For example, showing:
    Again you are going to be doing one of the following.
    1. Data that is relative to them only.
    2. Data from all zones.
    If the first then just display the time relative to them in the first place (use the default for the VM.)
    If the second then you are back to the problem that I discussed above.
    MachineA 09:01 Service Started
    MachineA 10:32 Service Stopped
    MachineB 10:33 Service Stopped
    makes it look like the events (Service Stopped)
    happened about a minute apart on MachineA and
    MachineB. But they didn't, in this example, because
    the machines are in two different timezones. A user
    can't tell that above. But this clarifies it:
    MachineA 09:01 PST Service Started
    MachineA 10:32 PST Service Stopped
    MachineB 10:33 EST Service StoppedNote that I am not suggesting that you do not store your data in an absolute sense.
    But storage and display are two different things. And your example is flawed unless your database data is flawed.
    For example if you store the time in the database as GMT then the only way you can get case 1 is if you use the local timezone for each and then don't display the timezone.
    >
    In fact, the service stopped on MachineB before
    MachineA.
    The question begging to be asked is: what does the
    user expect to see? A list of events sorted relative
    to "wall time" (shown above), or a list sorted by
    absolute time? The latter looks like this:I think you will find that most users expect time to be relative to a certain timezone when times from different timezones are mixed in the same display.
    If grouped by timezone then they will accept timezone relative times even when there are different view with different timezones.

  • Client \ Server issue

    i want to send a data file between 2 remote machines but the connection refused.
    can anyone help please, here is the code:(which i wrote on both sides)
    import java.io.*;
    import java.net.*;
    public class Client extends javax.swing.JFrame {
    private void formWindowClosing(java.awt.event.WindowEvent evt) {                                  
            try {
                server.close();
            } catch (IOException ex) {
                ex.printStackTrace();
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
            JFileChooser ch=new JFileChooser();
            int x=ch.showOpenDialog(null);
            if(x==JFileChooser.APPROVE_OPTION){
                File f=ch.getSelectedFile();
                try {
                    sendFile(f);
                } catch (Exception ex) {
                    ex.printStackTrace();
    public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new Client().setVisible(true);
    void sendFile(File f) throws Exception{
            FileInputStream fis=new FileInputStream(f);
            byte[] data=new byte[fis.available()];
            fis.read(data);
            Socket s=new Socket("127.0.0.1",3333);
            OutputStream os=s.getOutputStream();
            DataOutputStream dos=new DataOutputStream(os);
            dos.write(data);
    void receiveFile() throws Exception{
            server=new ServerSocket(2222);
            while(!server.isClosed()){
                s=server.accept();
                InputStream is=s.getInputStream();
                DataInputStream dis=new DataInputStream(is);
                byte[] data=new byte[dis.available()];
                dis.read(data);
                JFileChooser ch=new JFileChooser();
                int x=ch.showSaveDialog(null);
                if(x==JFileChooser.APPROVE_OPTION){
                    File f=ch.getSelectedFile();
                    FileOutputStream fos=new FileOutputStream(f);
                    fos.write(data);
    }

    Client
    package forums;
    import java.awt.Dimension;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JLabel;
    import javax.swing.JButton;
    import javax.swing.JFileChooser;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.DataOutputStream;
    import java.io.IOException;
    import java.net.Socket;
    public class FileUploadClient extends JFrame
      private static final long serialVersionUID = 1L;
      private static final int BUFF_SIZE = 4096;
      private JLabel lblMessage = null;
      public FileUploadClient() {
        super("File Upload Client");
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        JPanel panel = new JPanel();
        this.lblMessage = new JLabel("Select a file to upload ...");
        lblMessage.setPreferredSize(new Dimension(275, 40));
        panel.add(lblMessage);
        JButton btnUpload = new JButton("Upload");
        btnUpload.addActionListener(new UploadButtonActionListener());
        panel.add(btnUpload);
        setContentPane(panel);
        pack();
        setSize(300, 200); //w, h
      private class UploadButtonActionListener implements ActionListener
        @Override
        public void actionPerformed(ActionEvent evt) {
          JFileChooser chooser = new JFileChooser();
          if ( chooser.showOpenDialog(null) == JFileChooser.APPROVE_OPTION ) {
            try {
              File file = chooser.getSelectedFile();
              long size = sendFile(file);
              lblMessage.setText("sent "+size+" "+file.getName());
            } catch (Exception ex) {
              ex.printStackTrace();
      private long sendFile(File file) throws IOException {
        FileInputStream input = null;
        DataOutputStream output = null;
        try {
          input = new FileInputStream(file);
          Socket socket = new Socket("127.0.0.1", FileUploadServer.PORT);
          output = new DataOutputStream(socket.getOutputStream());
          byte[] buff = new byte[BUFF_SIZE];
          int n = 0;
          long size = 0L;
          while ( (n=input.read(buff, 0, BUFF_SIZE)) != -1) {
            size += n;
            output.write(buff, 0, n);
          return size;
        } finally {
          try {
            if(input!=null)input.close();
          } finally {
            if(output!=null)output.close();
      public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(
          new Runnable() {
            public void run() {
                new FileUploadClient().setVisible(true);
    Server
    package forums;
    import java.net.ServerSocket;
    import java.net.Socket;
    import java.io.DataInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    class FileUploadServer
      public static final int PORT = 3333;
      private static final int BUFF_SIZE = 4096;
      public static void main(String[] args) {
        System.out.println("Hello World!");
        try {
          ServerSocket server = null;
          try {
            server = new ServerSocket(PORT);
            System.out.println("FileUploadServer listening on "+server.getInetAddress()+":"+server.getLocalPort());
            int i = 0;
            while( !server.isClosed() ) {
              receiveFile(server.accept(), "c:/tmp/upload."+(++i)+".out");
          } catch (Exception ex) {
            ex.printStackTrace();
          } finally {
            if(server!=null)server.close();
        } catch (Exception e) {
          e.printStackTrace();
        System.out.println("Goodbye World!");
      private static long receiveFile(Socket socket, String filename) throws IOException {
        DataInputStream input = null;
        FileOutputStream output = null;
        try {
          output = new FileOutputStream(filename);
          input = new DataInputStream(socket.getInputStream());
          byte[] buff = new byte[BUFF_SIZE];
          int n = 0;
          long size = 0L;
          while ( (n=input.read(buff, 0, BUFF_SIZE)) != -1) {
            size += n;
            output.write(buff, 0, n);
          System.out.println("Saved upload ("+size+" bytes) to: "+filename);
          return size;
        } finally {
          try {
            if(output!=null) output.close();
          } finally {
            if(input!=null) input.close();
    }Cheers. Keith.

  • Client/server/web application

    My application will be deployed as client/server application and as well as web application. An database is used to keep the persistent data.
    For the client/server environment, I will need client tier, application server tier, and the database tier. For the web applicaiton, I will need web interface, web server, and the database tier.
    My question is that since the application will be deployed as both client/server application and web application, how to leverage the components, so the application server and the web server has less code duplication.
    Is there any guideline for designing such an architecture?
    The application uses J2SE, and Tomcat is the servlet engine.
    Thanks for any input /danclemson

    Your business logic should be written so that it can used from anywhere. Command line, GUI, webapp, it's irrelevant. Likewise with the db layer, so those will be exactly the same. Then you just put whatever front end you want on it. Now, if you're talking about having the same server used for both at the same time, that's a different question. But it sounds like you're asking about code.

  • ABAP Webservice Call issue

    Hi
    I am trying to use webservice from ABAP ECC to external server (Webspehere ).
    I have configured RFC connection G Type HTTP connection to external server in SM59.
    Connection sucessfull.we use basic authentication scheme to access external server.
    I am able to call webservice method and getting the response in my program. but while calling second time it doesnot able to get the response. when I see the request message to external server second time, looks like some cookie adding to the request and this is causing no response back to my program.
    I have raised protocal to HTTP1.1 and also selected "No Cookies"  I got few tests sucessfullbut after some time same cookie issue.   Looks like somewhere request was going with cookies...but not sure where....
    anybody have this kind of issue before while calling webservice...? or how to make this cookie to not attach to request ?
    or is this cookie is because of authentication set to token system instead of basic authentication at external server ?
    Please suggest
    Thanks
    Praveen

    Adding details.......
    Experiencing cookie issue while calling webservice to Tivoli system hosted on IBM websphere.
    Steps we have done as follows:
    1. Created a ABAP Proxy class from Tivoli WSDL.
    2. Configured T-Code LPCONFIG to point to above proxy class and logical port.
    3. Configured  SM59 RFC connection to point to Tivoli server using basic authentication mechanism (User ID/Password).
    4. Called webservice method from ABAP program.
    After above steps, we are able to call the webservice method successfully but second time we are experiencing Cookie being adding to the request and eventually no response back to our program.
                When we investigated this cookie issue with IBM Websphere people, they says thay have enabled SSO Config instead of basic authentication and that's why a cookie is being added to the request and fails. when they disabled SSO, we are able to call webservic method sucessfully sevaral times. but now this cannot be no longer disabled as other applications are using SSO enable option. So, we are thinking, is there something that can be done in SAP ECC itself as we see the option of using SSO in SM59 instead of User Id/Password but not sure How?
    If anybody has undergone this scenario/SSO config from ECC SM59 successfully, Please reply back.
    Thanks in advance
    Praveen

  • About the communication issues in the client-server program

    About the communication issues in the client-server program
    Hi, I have some questions about the communication issues in a java project, which is basically the client and server architecture. In brief, the client, written in java, can be deployed anywhere, and in the following part, assume it is in the LAN (Local Area Network) which is connnected to the internet through the firewall and/or proxy, and the server, written in
    java too, simply provides the listening service on a port in a remote machine. And assume the server is connected to the internet directly so that the scenario can be simple to focus on the core questions.
    My questions are as follows:
    1 About the relationship between the communication port and protocol
    Generally, protocols at the application level like HTTP, FTP have their own default port, e.g., HTTP is corresponding to 80,
    FTP is to 25. But it is NOT necessary for the web server to provide the HTTP listening service at port 80, right? E.g, Tomcat provides the HTTP listening service at 8080. So it means the default relationship between the application protocl and their port is some routine, which is not necessary to follow, right?
    2 Assume a LAN connected to the internet through a proxy, which only allows HTTP protocol, then questions are:
    2.1 Does the proxy recognize the HTTP request from the client by the port number (carried in the request string)? For example, when the server provides the HTTP listening service at 80, then the request from the client will include the port number 80, then the proxy will parse such info and decide if or not the request can be out.
    2.2 Does the proxy recognize the HTTP request from the client by protocol (carried in the request string)? For example, the protocol used in the communicatin should be included in the request, then the proxy can parse it to make the decision.
    3 In java programm, if using the HTTP protcol, then on the client: the corresponding API is java.net.URLConnection, right?
    If using the TCP protocol directly, then on the client:the corresponding API is java.net.Socket, right? In both cases, the server side use the same API, java.net.ServerSocket?
    Is it correct to say that the communication by Socket is faster than URLConnection?
    4 Take MSN messenger for example, which protocol does it use? Since proxy configure is only the possible option, so I guess generally the TCP protocol is used directly so that the better perfomrance can be achieved, right?
    5 Given 3 computers within the same LAN, can the client, proxy, server environment above be correctly simulated? If so, can
    you recommend me some typical proxy program so that I can install it to configure such an enviroment to perform some test?
    6 I guess there should be some software to find out which port number a given program/process is going through to connect to
    the remote machine, and which port number a given program/process is listening on? Also, what protocl is used in the given
    communication.
    7 Finally, regarding each of the above questions, it will be highly appreciated that if you can recommed some references,
    tutorials, books etc. In summary, what I care about is how to enable the java client behind the proxy and firewall to
    communicate with the remote server without problems, so if you know some good tutorials plz let me know and thx in advance!
    Finally, thanks for your attention so such long questions =).

    FTP is to 25. But it is NOT necessary for the web
    server to provide the HTTP listening service at port
    80, right? E.g, Tomcat provides the HTTP listening
    service at 8080. So it means the default relationship
    between the application protocl and their port is
    some routine, which is not necessary to follow,
    right?Not sure what you're saying here.
    There must be a server listening on some port. The client must know what port that is. If you open the connection using the Socket class, you'll explicitly specify the port. If you use some higher level class like URLConnection or something in the commons Net package, there's probably a default port that will be used if you don't explicitly specify another.
    There's no way for the client to know that the HTTP request will go to port 80 instead of port 8080. If you think the the client contacts the server without explicitly naming a port, and then asks the server "get me your HTTP server", and the port is determined from that, you're mistaken.
    Not sure if you're thinking that, but it sounded like you might be.
    2 Assume a LAN connected to the internet through
    a proxy, which only allows HTTP protocol, then
    questions are:
    2.1 Does the proxy recognize the HTTP request
    from the client by the port number (carried in the
    request string)? For example, when the server
    provides the HTTP listening service at 80, then the
    request from the client will include the port number
    80, then the proxy will parse such info and decide if
    or not the request can be out. I'm not sure, but I think most proxies and firewalls are configured by ports. I thought I'd heard of more sophisticated, higher-level ones that could understand the content to some degree, but I don't know anything about those.
    3 In java programm, if using the HTTP protcol,
    then on the client: the corresponding API is
    java.net.URLConnection, right?That's one way.
    You might want to look into this:
    http://jakarta.apache.org/commons/httpclient/
    If using the TCP protocol directly, then on the
    client:the corresponding API is java.net.Socket,
    right? In both cases, the server side use the same
    API, java.net.ServerSocket? A Java client will user Socket, and a Java server will use ServerSocket and Socket.
    Is it correct to say that the communication by Socket
    is faster than URLConnection?Probably not.

  • WLS 7.0 : How to call a webservice from a webservice, both running on a same server?

    Server settings :
    Two webservices running on a server.
    WEB-INF\lib contains the respective XXX_client.jar files.
    One webservice calls another one using service Port and gets the Exception NoClassDef...
    How to resolve?

    It seems that there is no answer to my problem stated below
    "Archana Padhye" <[email protected]> wrote:
    >
    Before putting the stack trace I should supply more information.
    There are two webservices viz. Trigger and Proxy
    Trigger needs the Proxy_client.jar in its classpath at the time of building
    the
    Trigger webservice.
    The server classpath doesn't have this particular jar.
    So the Exception is about not finding the class for the service.
    If that jar is added in the classpath, there is error at server startup
    since
    the method signatures mismatch.
    Having client jar in the classpath is not the way, I assume.
    "manoj cheenath" <[email protected]> wrote:
    Sure, you should be able to do this.
    Can you post the full stack trace?
    "Archana Padhye" <[email protected]> wrote in message =
    news:[email protected]..
    Server settings :=20
    Two webservices running on a server.
    WEB-INF\lib contains the respective XXX_client.jar files.
    One webservice calls another one using service Port and gets the =
    Exception NoClassDef...
    How to resolve?
    So I am trying for dynamic client using WSDL. My webservice is returning a complex
    data type. But the test client, which is a Java class, is giving exception which
    I am unable to dig.
    I attach the client java class and here is the stack trace of the exception
    Exception in thread "main" javax.xml.rpc.JAXRPCException: failed to read wsdl
    fi
    le:weblogic.webservice.tools.wsdlp.WSDLParseException: ERROR[WSDL Parser]:The
    ja
    va Class of an xml name cannot be null:['java:eVisharad.BEMEE.Client.Data']:CLIC
    oncept
    at weblogic.webservice.core.rpc.ServiceFactoryImpl.createService(Service
    FactoryImpl.java:33)
    at WebServiceClient_DII.main(WebServiceClient_DII.java:57)
    [WebServiceClient_DII.java]

  • Continous Authentication Popup for PI server while testing ABAP webservice

    Hi All,
    While testing ABAP webservice,authentication window for PI server pops up continously.
    I have created web service from SE37 for Z function module which is remote enabled.
    I can see that service and endpoint is created automatically.
    I have also given PI server credentials in SOAMANAGER->Technical Configuration->System Global settings->Access Information J2EE server.
    Can somebody please help in testing the web service created from FM.
    I have already gone through a lot of links but still need your expertise on this.
    Thanks in advace,
    Saurabh

    Hi
    Are you testing through WSNavigator. WSN  needs a java stack and  you have already set the corresponding setting.
    Please check if the User is locked.
    I think in gerenral PI credentials will be asked everytime you open WS navigator link.But once you provide the correct user it should not pop up again and u should be able to test.
    Regards.
    Srinivas

  • JSP and Client/Server Compatibility Issues

    For the new application that we have to design we have two groups of users
    - Group A requires admin access, high response time, better user feel and special previledges and are a few in number at limited locations.
    - Group B requires limited functionality, but are spread all over the world and they are huge in number.
    We are planning to provide Applet/Swing based client server architecture for Group A and JSP/EJB based J2EE architecture for group B users. common webserver would be used.
    Please advise what are are potential issues in this approach or do we have a better approach to achieve the same.

    GUI based applications are good but do you think that will it be maintainable and portable?.. Some of the GUI based applications are build on higher Java like 1.5.. i Presume you have the latest and other workstation have only 1.4 or 1.3, this can be n issue on GUI based applications especially on installation on each workstation.

  • RMI Server issuing commands to clients - help please

    I am trying to setup 2 clients to respond when an RMI server sends them a message, however I have never done any distributed programming before.
    Can anyone please post up some classes which show how to have a client listening and a server connecting to them in order to activate a method. I would be extremely grateful. If anyone knows of a web site or another similar resource with an example like this that would also be much appreciated...
    Many thanks,
    drawdE

    Earlier responses pointed out something important:
    when it comes to real communications, the roles of
    client and server are frequently switched.Yes, but CONCEPTUALLY.
    What you mean to say really, is that a process can be ASKED for some resource (then it would be acting like a "server") or it can ASK for a resource (it would be acting like a "client"). Please note that i said it ACTS like something. It is not the same thing as it REALLY BEING that thing substantially. What i'm driving at is that when you design an app, objects that make it up take dual roles at THAT LEVEL of their own operation, but universally (when you look at the ENTIRE app), things cannot switch around like that anytime they want. An RMI Server is just that: A server. Clients connect to it, and there's no reason for the server to want to connect to a client of its own volition. When you start doing that, you're messing around with WHAT IT MEANS to implement client/server arch.....For instance, the objects that make up of that talk to bound remote objects on the server, CAN act out this dual role: but not when you have a bird's eye view of the entire app.
    Its bad design. Its bad practise.
    >
    At the "architectural" level - something I admit is
    vague - I suggest that in the application described by
    the original poster, the only distinctions between
    client and server are
    o There are multiple clients but only one server.What the original post doesnt seem to get is that there would be as many clients as servers if he succeeds.
    o A client can register with a server for on-going
    communications, In everything else i would agree, but not in RMI: its nature just forbids it, because it means implementing what is in the server-side......on the client-side, just so the client can be TALKED TO by the "one server", as you put it.
    but not the reverse.
    >
    This last point is key to server-initiated
    communications (using RMI). When a client registers
    with a server, it passes a reference to an object that
    extends Remote. The server holds onto this reference,
    and when it has something to say to the clientlike what? RMI isnt built that way! the client talks to the server. End of story.
    , then
    the server calls a method of that remote objectimplying another server on the client-side!!! doesnt make sense at all.
    >
    Finally, It bears repeating in this forum: With RMI,
    such "callbacks" will not work if the clients are
    behind firewalls.Correct, but irrelevant: firewalls or no firewalls, WHY are you trying to do it in the first place?
    It also bears repeating in this forum: RMI is client/server architecture in practice, but its the NATURE of RMI that forbids it from being used the way ANY OTHER C/S architecture out there is flexible.

  • OLE Alternatives in Forms 6i Client Server

    I'm fishing for some advice and maybe some examples of how to get around an OLE issue that's adversely affecting an upgrade project.
    We're currently migrating a Forms 4.5 application to 6i. This application displays MS Word documents (OLE Container) that are stored in the database and uses OLE to open manipulate, and save the documents back to the database. We've come across some serious problems with OLE and 6i that don't look like they'll be fixed any time soon (bug #2615804 in particular).
    Since OLE (ActiveX) is not supported a web delivered configuration, we're looking at an alternative to interacting and storing Word documents using a client/server configuration. This will have the added bonus of making the move to web delivery once we decide to go down that path.
    Has anyone out there had any good experience with overcoming this OLE problem? It seems like every pre-Forms 9i book out there has touted OLE as a way of interacting with Office tools and now OLE has become a roadblock.
    I've had a look at the JACOB example, but that doesn't really help if you're not deploying via the web.

    With the beans you've looking at visual stuff : like the look and feel project
    With the importer it's more like leveraging java functionality : in my case I've just implemented a call to a webservice on an application server. There is nothing visual here and it's just called via a straight bit of PL/SQL that call my java classes ( however, in that case I could also use UTL_HTTP directly to make the call and thus not bother with java importer - but the database wouldn't allow UTL_HTTP calls :( )
    For both of these you'd need to tell forms where to find the JAR file in it's java environment - but you won't have that in c/s
    Another way is to load up java code into the database and process it within the database and hide it completely from Forms. I've done this sort of thing loading Apache-FOP into Oracle and creating PDF files in the database (as BLOBS) from XML/XSL also in the database as XMLTYPES.
    At least that's my view on how it fits together ... maybe others know more :)
    Steve

  • Error deploying a composite to a clients server

    Hi,
    I'm having trouble deploying a composite to a clients server.
    I've defined the Configuration Plan to change all the references from our server to the clients server.
    The composite has some references to webservices deployed on the same server. I can test those webservices on the Enterprise Manager and they work.
    The error when I try to deploy is the following:
    Deploying on partition "default" of "/Farm_bpm_domain/bpm_domain/soa_server1" ...
    Deploying on "/Farm_bpm_domain/bpm_domain/soa_server1" failed!
    Error during deployment: Deployment Failed: Error occurred during deployment of component: ServiceTest2Process to service engine: implementation.bpmn for composite: ServiceTest2Composite: ORABPEL-05250
    Error deploying BPMN suitcase.
    error while attempting to deploy the BPMN component file "/oracle/product/fmw/11.1.1/bpm/user_projects/domains/bpm_domain/deployed-composites/ServiceTest2Composite_rev1.0/sca_ServiceTest2Composite_rev1.0/soa_68135a9a-c6b0-4982-99de-2eb366875b5d"; the exception reported is: java.lang.IllegalArgumentException: Conversation is not properly defined. There are not operation/process or external services defined
    This error contained an exception thrown by the underlying deployment module.
    Verify the exception trace in the log (with logging level set to debug mode).
    .The logs on the server (set to TRACE:32 (FINEST)) don't add anything to the error message.
    Anyone has had the same problem or has any ideia what might be the problem?
    Thanks in advance,
    Diogo Henriques

    Hi
    Can't offer much help but I just got exactly the same problem also. I just made a minor modification to a simple BPMN Test process. The change involved adding a Script Task and changing the assignment to the Output Argument of a Sub-Process. This change should not have caused any change to the service interface of the process. This was on a local Dev box.
    The process does call a Web Service. It was deploying/executing without error at last WLS boot a day ago, the Web Service is running fine and the process is building without error. There have been no other changes.
    This seems to be some kind of deployment versioning or stale caching related bug. I just undeployed the current version via EM (which actually reported a failure during undeployment but undeployed anyway!) and rebooted WLS and the deployment was then successful.
    See also Error deploying 2 processes in the same project BPM 11gR3 Project
    I suspect both of these are symptoms of the the same underlying problem which show up when there are repeated deployments of the same process after changes - regardless of whether you overwrite the existing version or start a new one.
    Regards
    Jim Nicolson

  • Establish a connection through RF modem's on client & server side & to set up PPP communication for data transfer

    hi
    can any1 over here help me out in how to establish connection between 2 RF modem's for data transfer , between client & server USing LABVIEW?
    I want to establish a connection between 2 PC's through  RF modem on client & server side & to set up PPP communication for data transfer.
    (I have tried data transfer through RS-232 using TCP/IP whn the 2 PC's are connected over ethernet... which is working.
    I also tried connecting loopback cable between 2 PC's COM port & geting data transfer using VIsa configure serial port & other visa functions  ... which is working)
    can u guide me how to establish connection between 2 RF modem's using LABview?
    & how does the data transfer take place between 2 RF modems through RS-232?
    is it using TCP/IP?
    If you got any links to go abt this issue do send me related links .. or any examples .....
    I am currently using Labview version 8.
    Waiting in anticipation.. reply ASAP..
    thanking you
    Regards
    Yogan..

    Howdy yogan,
    Maybe you could clarify a few things for me, and we'll see how we can help ya. TCP/IP protocol occurs through an ethernet connection; RS-232 communication occurs through an RS-232 serial connection, typically through a cable that has a DB9 connector on both ends. Do you mean that the RF modems in question have the option to communicate via RS-232 and/or via TCP/IP ethernet? Specific information like the manufacturer of your RF modems, the model number of your RF modems, and how you connect the modems to the PC would enable us to give you more efficient support.
    You can check our Instrument Driver Network (IDNet) to see if a plug-and-play/IVI driver already exists for your RF modem. (You'll need to know its manufacturer and model number.) In the case that you do find an IDNet driver for your modem, you can use this KnowledgeBase article for instructions on how to use the driver.
    Another excellent resource to consider is the NI Example Finder. You can access this within LabVIEW by navigating to Help»Find Examples and then searching for serial or TCP/IP examples.
    Message Edited by pBerg on 03-10-2008 04:35 PM
    Warm regards,
    pBerg

Maybe you are looking for