Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Top-Bottom web service generation error
Top-Bottom web service generation error [message #1710287] Mon, 05 October 2015 17:17
Javier Velasco is currently offline Javier VelascoFriend
Messages: 1
Registered: October 2015
Junior Member
Hi all,

I'm trying to create a Web Service client from WSDL. I'm using Eclipse Kepler and I have installed Axis2. Axis2 gives me an error, I'm only able to generate the client forAxis.

But when the client is generated, there are compiling errors at some classes, like "ServerPortTypeProxy", that implements an interface server.ServerPortType, but It was generated in server_pkg package.

public class ServerPortTypeProxy implements server.ServerPortType {
private String _endpoint = null;
private server.ServerPortType serverPortType = null;

That's the interface generated:

/**
* ServerPortType.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/

package server_pkg;

public interface ServerPortType extends java.rmi.Remote {
public java.lang.String getProd(java.lang.String categoria) throws java.rmi.RemoteException;

/**
* Nos da una lista de facts
*/
public server_pkg.Fact[] getFacts(java.lang.String nif) throws java.rmi.RemoteException;
}

I'm unable to make a simple client run, although I'm trying to correct these errors. Please help
Previous Topic:How to launch java desktop application without eclipse
Next Topic:Unable to use EGIT on update
Goto Forum:
  


Current Time: Wed Apr 24 13:51:57 GMT 2024

Powered by FUDForum. Page generated in 0.02158 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top