Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trying to test the WSDL file I wrote

 
Arjun Reddy
Ranch Hand
Posts: 629
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

So I wrote the xsds, wsdl, generated the skeleton code out of the wsdl, and I am printing a hello world in the binding impl class. Now, I have the project EAR file deployed to my local app server. I am trying to test the service using the web services explore (assuming my service is up and running since the ear file is deployed to the server) but I am getting a 404 transport error. Am I doing anything wrong here? Do I have to write click on the wsdl and select publish to test the service?

The port number I am using is the one from my console window. The one after the default_host[*port number

Please advice on what I am doing wrong here.

Thanks.
 
Arjun Reddy
Ranch Hand
Posts: 629
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Right now, I am using the end point: http://localhost:9061/services/CheckingService

I tried the below and all three failed in my internet explorer.

1). http://localhost:9061
2). http://localhost:9061/services/CheckingService
3). http://localhost:9061/services/CheckingService?wsdl

The port number I am using is the one from my console window. The one after the default_host[*port number. I am using web sphere 7.0 application server.

I also tried the below ports mentioned from the link http://publib.boulder.ibm.com/infocenter/wasinfo/fep/index.jsp?topic=/com.ibm.websphere.migration.nd.doc/info/ae/ae/rmig_portnumber.html and they failed too.

http://localhost:9080
http://localhost:9443
http://localhost:9043
http://localhost:9060

Any idea what I might be doing here? I am using WAS 7.0 Application server.

-Arjun
 
Arjun Reddy
Ranch Hand
Posts: 629
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anybody guys?

Thanks
 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Arjun,
Did you check if your web service is deployed and running in admin console?
 
Arjun Reddy
Ranch Hand
Posts: 629
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Naren Chivukula wrote:Hi Arjun,
Did you check if your web service is deployed and running in admin console?


Hi Naren,

Thanks for replying. How do I check it from admin console? Right now, I can see the EAR deployed to my local App server though.


-Arjun
 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Arjun,
Can you see other web applications running? If so, then you may have to check your web service url path in your web service (just to double check). Also, you may have to check ibm specific binding files if your default context path is overridden.
 
Arjun Reddy
Ranch Hand
Posts: 629
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I found the answer to my question. When a web service is installed on a WAS server, it changes the end point we give in the wsdl to the below.


All this while, I was trying the wrong URL. Thanks for trying to help me out Naren

-Arjun
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic