This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Webserice not able to access from browser test client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Webserice not able to access from browser test client" Watch "Webserice not able to access from browser test client" New topic
Author

Webserice not able to access from browser test client

Chandran Madesh
Greenhorn

Joined: Nov 30, 2007
Posts: 18
Hi,

I have deployed a Webservice application on weblogic server 9.2. the webservice is WSDL first webservice and i use servicegen ant task to generate service classes.
The end point is exposed as https url. (for ex. https://www.abc.com/context/Service). but after when i refer the deployed WSDL the address is mentioned as http url as mentioned below.

<soap:address location="http://www.abc.com:80/context/Service"/>

because of this when i use the browser test client to test service method i am getting the below error.

Failed to invoke service:

weblogic.webservice.wsdl.WSDLParseException: Failed to retrieve WSDL from http://www.abc.com:80/context/Service. Please check the URL and make sure that it is a valid XML file [java.io.FileNotFoundException: Response: '504: Gateway Time-out' for url: 'http://www.abc.com:80/context/Service?WSDL'] at.
..........

After deployment i am able to access the wsdl with https url "https://www.abc.com/context/Service?wsdl"


So my question is there a way to force the WSDL to generate with https url as mentione below

<soap:address location="https://www.abc.com:80/context/Service"/>.

Please let me know your thoughts on this.

Thanks,
Chandran


<b>Chandran.M<br /> <br /> <br /> Do Your Best <br /></b>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Webserice not able to access from browser test client
 
Similar Threads
JAX-WS wsgen using Maven2
Change address location webservice
web service not found
JAX-WS deployment
JBoss webservice & ssl