• Post Reply Bookmark Topic Watch Topic
  • New Topic

can see WSDL after hitting the URL ending with ?wsdl for one service, but not for rest of them.

 
Wb Moore
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a series of web services I had running in WL10 and Java 1.6, but after moving to WL12 and Java 1.7, only the WSDL for one service is displayed, instead of for all the services.

I thought the fact that the one which was displayed might have something to do with the fact that it was the last target in the build.xml, but moving it didn't change anything. I DID add the includeantruntime flag, but nothing changed when I set it to false or to true.

my build.xml has a series of targets, one for each service, like this:


This is the target which creates the ear file:


This is what the service java files look like:


That creates a WSDL file and displays it:
http://myhost.mycompany.com:7330/t_ctt/TCTT?WSDL


But I do the same thing with different services, and nothing is displayed at the URL for those services. Each service has its own war file and they are jarred into an ear file.
When I look in the console, the CTT service has a test point with a link to test the service, but the other services do not. When I look in the war files for the various services, there is a wsdl file for each service.

This is an example of one service which is not displaying the WSDL:
build.xml:


This is the java source for one service which does not work:



And when I go to the WSDL URL ( http://myhost.mycompany.com:7330/t_conversion/TConversion?WSDL ), I get Error 404 - Not Found.


Any idea what I need to do so all my services will display the wsdl's via the browser?
 
Wb Moore
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Additional info:
When I open the weblogic console, and go to deployments, click on the plus (+) next to myApplication, I see both services as web applications: t_ctt and t_conversion. When I click on t_ctt, and then click on the monitoring tab, I see a line for this service:
/t_ctt myApplication myApplicationServer Active 1 TCTT.war 3 0 0 0

When I click on the testing tab, I see the service with a plus + beside it. When I click on the plus, I see:
t_ctt
/t_ctt/TCTT ?WSDL WSDL page on server myAppServer
default http://xxx.xxx.xxx.xxx:7330/t_ctt Default url on server myAppServer

But when I do the same for the other service (t_conversion), I don't see anything, either on the monotor tab or the testing tab.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!