• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Webserice not able to access from browser test client

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Blood pressure normal? What do I change to get "magnificent"? Maybe this tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic