Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cannot locate service implementation class for service:WebService_Impl

541430Dec 12 2006 — edited Dec 12 2006
Hi,
i am creatting the proxy classes using JDeveloper from wsdl file. now its working fine in java environment using the test client class. when i create the jar(include some my own classes) and put it into the GUI then it is giving the error as
"cannot locate service implementation class for service:WebService_Impl" .if anybody know this pb please mail me..

i will give complete structure....

JDeveoper generates the proxy classes in two packages..
one is bean classes(those are the webservice mehtods) and client,soap class...

and another package contains all the class implementations and serializable of above package.

i am using the one class in my own class(Repository.java) as String parameter constructor. when i am calling this class from GUI. its giving error that is mentioned above...

what is the problem will make effect.. i am working since 2 days this problem...
if anybody knows please clarify my doubt....

this is my sample code what i am facing the problem

public String Login(String m_password,String m_userName,String m_libraryName,String url)throws PluginException
{
m_log.debug(ls.getMessage(MessageConstants.LOGIN_START),this);

this.password = m_password;
this.userName = m_userName;
this.libraryName = m_libraryName;
try
{
//facing the problem here
myPort = new WebServiceSoapClient(url);

sessionID = myPort.login(m_libraryName,m_userName,m_password);
if(sessionID.indexOf("<Error>")!=-1)
{
sessionID = parseLogin(sessionID);
throw new PluginException(sessionID);
}
// m_log.debug(ls.getMessage(MessageConstants.SESSIONID)+sessionID,this);
m_log.debug(ls.getMessage(MessageConstants.LOGIN_END),this);
return sessionID;
}
catch(Exception e)
{
m_log.error(ls.getMessage(MessageConstants.EXCEPTION_LOGIN) + e.getMessage(),this);
throw new PluginException(e.getMessage());
}
}


Advance Thanks
Ram

Message was edited by:
user538427

Message was edited by:
user538427

Message was edited by:
user538427
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 9 2007
Added on Dec 12 2006
0 comments
581 views