Not able to access WSDL on test instance.

Monday, March 11, 2013 12:44:15 PM
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
Monday, March 11, 2013 4:25:18 PM
Avatar
re: GulshanSaini on Monday, March 11, 2013 12:44:15 PM

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

Tuesday, March 12, 2013 4:27:01 AM
Avatar
re: inflectra.adam on Monday, March 11, 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)

Thursday, March 14, 2013 12:40:12 PM
Avatar
re: GulshanSaini on Tuesday, March 12, 2013
Hi Adam,

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

Thanks
Gulshan
Statistics
  • Started: Monday, March 11, 2013 12:44:15 PM
  • Last Reply: Thursday, March 14, 2013 12:40:12 PM
  • Replies: 3
  • Views: 3469