• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem While Deploying the WebService

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,

I am creating web service for my application. I have created wsdl and deploy.wsdd file. I can see the default web service is runing there and I can also see 2 default

Version (wsdl)
getVersion
AdminService (wsdl)
AdminService

I deployed my web services. But I cannot see anything with these function. And also I cannot see any error while deploying. Please any one can help me what could be the issues.




Thanks,

Raj
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What specific steps did you take to deploy? Which SOAP stack are you using, on which server?
 
Raj Shri
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Lester Burnham wrote:What specific steps did you take to deploy? Which SOAP stack are you using, on which server?



I doing as below steps

1 - First creating the class file
2 - Create the Java2WSDL.
3 - Create the WSDL2Java file by this I am getting the deploy.wsdd file

I am using the linux server.

Before deploying I start server then set the axis class file path then deploy.


I cannot see my function in web services only default.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was asking about deployment, not development.
 
Ranch Hand
Posts: 577
Tomcat Server Notepad Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Raj,
As Lester mentioned, you are missing important deployment details to make your problem understand.

Anyway, you can do a quick check if your web service is actually deployed by framing and running this url.
 
Raj Shri
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Naren Chivukula wrote:Hi Raj,
As Lester mentioned, you are missing important deployment details to make your problem understand.

Anyway, you can do a quick check if your web service is actually deployed by framing and running this url.



Thanks, But It's not working nothing is showing.
 
Raj Shri
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Raj Shri wrote:

Naren Chivukula wrote:Hi Raj,
As Lester mentioned, you are missing important deployment details to make your problem understand.

Anyway, you can do a quick check if your web service is actually deployed by framing and running this url.



Thanks, But It's not working nothing is showing.



Deployment Steps :

1 - Copy the deploy.wsdd file in WEB-INF
2 - Set the Axis class path
3 - Run the deploy.wsdd file. As below

java -cp $CLASSPATH org.apache.axis.client.AdminClient -lhttp://localhost:9095/tekpref/services/AdminService deploy.wsdd

Thanks

Raj

 
Naren Chivukula
Ranch Hand
Posts: 577
Tomcat Server Notepad Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What server are you using?(you're asked few times this question already). This is a fundamental piece of information, which you should give before asking your question. You have to go through this link for posting more informative questions and also potentially getting better responses.
 
Raj Shri
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Naren Chivukula wrote:What server are you using?(you're asked few times this question already). This is a fundamental piece of information, which you should give before asking your question. You have to go through this link for posting more informative questions and also potentially getting better responses.




I am using apache Tomcat server and axis1.4



Thanks

Raj
 
Naren Chivukula
Ranch Hand
Posts: 577
Tomcat Server Notepad Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you post output of the following?

jar -tf <your web archive>

Also, double-check if this listing is same as the web service directory structure in your <Tomcat>/webapps.

If same, please post your server startup console log.




 
Raj Shri
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Naren Chivukula wrote:Can you post output of the following?

jar -tf <your web archive>

Also, double-check if this listing is same as the web service directory structure in your <Tomcat>/webapps.

If same, please post your server startup console log.








Thanks for your reply, Now It's working, I was not using any jar or war file for my web service. Just using class file. The problem was required class files. coz I was using 2 package, test1 and test2 in test1 there I was putting web services launching file and return the object from test2.

Thanks

RajSri


 
Can you really tell me that we aren't dealing with suspicious baked goods? And then there is this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic