Thread

Skip Navigation LinksForums > SpiraTeam Forums > SpiraTeam Issues & Questi... > Not able to access WSDL o...

Not able to access WSDL on test instance. RSS Feed

Monday, March 11, 2013
I am trying to connect to SPIRA webservices through java but not able to access the WSDL on test instance.

https://10.1.19.235/SpiraTest/Services/v3_0/ImportExport.svc?WSDL

Hi 

If i see the demo on Inflectra it look like http://www.inflectra.com/SpiraDemo/Services/v3_0/ImportExport.svc?wsdl

Where as on my test instance it gives error as displayed in following image http://postimage.org/image/o8jk0t5qf/

Kindly help me resolve issue, Please let me know if you need more information.

Thanks
Gulshan

3 Replies
Adam SAdam S
re: Gulshan Saini on Monday, March 11, 2013
Monday, March 11, 2013

Hi Gulshan

The issue is that the web service is binding to HTTP not HTTPS. Try the following URL:

http://10.1.19.235/SpiraTest/Services/v3_0/ImportExport.svc?WSDL

Also if this is v3.2 or earlier of SpiraTeam and you want to run it on HTTPS you have to change the Web.Config file so that the attributes httpGetEnabled="false" and httpsGetEnabled="true". For v4.0 and later this is no longer necessary.

Regards

Adam

Gulshan SainiGulshan Saini
re: Adam S on Monday, March 11, 2013
Tuesday, March 12, 2013
Adam - Thanks for response.

If I use Http instead of Https, I get following error

>>>>>>>>>>>>>>>> Connecting...... <<<<<<<<<<<<<<<<<<<<
Exception in thread "main" com.sun.xml.internal.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of InaccessibleWSDLException.

java.net.ConnectException: Connection timed out: connect
java.net.ConnectException: Connection timed out: connect

at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(Unknown Source)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknown Source)
at javax.xml.ws.Service.<init>(Unknown Source)
at com.inflectra.spirateam.mylyn.core.internal.services.soap.ImportExport.<init>(ImportExport.java:42)
at com.clear2pay.spiratest.SpiraMaster.<init>(SpiraMaster.java:94)
at com.clear2pay.spiratest.SpiraMaster.main(SpiraMaster.java:53)

Gulshan SainiGulshan Saini
re: Gulshan Saini on Tuesday, March 12, 2013
Thursday, March 14, 2013
Hi Adam,

Any update on above mentioned issue?
Why I am getting this error?

Thanks
Gulshan
Tagged
Statistics
  • Started: 3/11/2013
  • Last Reply: 3/14/2013
  • Replies: 3
  • Views: 2356
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.