NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
millimc Posted via mailing list.
|
Posted: Thu Jan 22, 2009 6:08 pm Post subject: deploying into production web services developed on NB 6 |
|
|
So you right clicked on the web service and then build.
Where did you find the .war file?
MikePhoenix wrote:
| Quote: |
OK, I figured out what happened. For all you other newbies, here's the
story:
When you deploy and undeploy you can run tests and see the WSDL on your
local application server. In order to port the application to remote
application server, you actually need to do a build to properly create the
.war file. I was under the implession that deploy and undeploy also did
the build automatically. This is not the case. Once I did the build which
properly created the .war file, I was able to move it to the production
server and access the services and WSDL on my remote app server.
MikePhoenix wrote:
| Quote: |
Using Net Beans 6, I have successfully developed and tested a Web
application that references remote web services and contains Web services
of its own. This was deployed through NB on Glassfish v2. When I try to
deploy the war file to our Sun Application Server 9.1, the Web services
are not visible on the admin console and I cannot access the WSDL file
through my browser although I can access the app server default page. I
have tried using both the Sun App Server autodeploy folder and the admin
console to deploy the war and still cannot access the services.
The servics were created by writing jav classes and methods and adding
the @Webservice annotation. I used NetBeans test function, activated by
right-clicking the services, to test them and view their WSDL. Do I need
to somehow Manually create the WSDL files in order to get them into the
.war?
Any help would be appreciated.
|
|
--
View this message in context: http://www.nabble.com/deploying-into-production-web-services-developed-on-NB-6-tp19888234p21609919.html
Sent from the Netbeans - J2EE mailing list archive at Nabble.com. |
|
| Back to top |
|
 |
Dru Devore Posted via mailing list.
|
Posted: Thu Jan 22, 2009 7:56 pm Post subject: deploying into production web services developed on NB 6 |
|
|
look in the dist directory under the root directory of the project.
| Quote: |
So you right clicked on the web service and then build.
Where did you find the .war file?
MikePhoenix wrote:
| Quote: |
OK, I figured out what happened. For all you other newbies, here's the
story:
When you deploy and undeploy you can run tests and see the WSDL on your
local application server. In order to port the application to remote
application server, you actually need to do a build to properly create the
.war file. I was under the implession that deploy and undeploy also did
the build automatically. This is not the case. Once I did the build which
properly created the .war file, I was able to move it to the production
server and access the services and WSDL on my remote app server.
MikePhoenix wrote:
| Quote: |
Using Net Beans 6, I have successfully developed and tested a Web
application that references remote web services and contains Web services
of its own. This was deployed through NB on Glassfish v2. When I try to
deploy the war file to our Sun Application Server 9.1, the Web services
are not visible on the admin console and I cannot access the WSDL file
through my browser although I can access the app server default page. I
have tried using both the Sun App Server autodeploy folder and the admin
console to deploy the war and still cannot access the services.
The servics were created by writing jav classes and methods and adding
the @Webservice annotation. I used NetBeans test function, activated by
right-clicking the services, to test them and view their WSDL. Do I need
to somehow Manually create the WSDL files in order to get them into the
.war?
Any help would be appreciated.
|
|
--
View this message in context: http://www.nabble.com/deploying-into-production-web-services-developed-on-NB-6-tp19888234p21609919.html
Sent from the Netbeans - J2EE mailing list archive at Nabble.com. |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|