Not able to access WSDL on test instance.

Monday, March 11, 2013
Avatar
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 https://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
Avatar
re: GulshanSaini 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

Tuesday, March 12, 2013
Avatar
re: inflectra.david 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
Avatar
re: GulshanSaini Tuesday, March 12, 2013
Hi Adam,

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

Thanks
Gulshan

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Monday, March 11, 2013
  • Last Reply: Thursday, March 14, 2013
  • Replies: 3
  • Views: 14189