Six Stars

Error when configuring tWebService (Server redirected too many times)

Hi, all!

I need to call web service with basic http authentication. I put tWebService component on workplace, turn service configuration, enter WSDL, turn on refresh button and  got error:

javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at ' http:/mywebservice_URL/ws/CenterSync.1cws?wsdl'.: java.net.ProtocolException: Server redirected too many  times (20)
	at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
	at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
	at org.talend.designer.webservice.ws.wsdlutil.ServiceDiscoveryHelper.init(ServiceDiscoveryHelper.java:60)
	at org.talend.designer.webservice.ws.wsdlutil.ServiceDiscoveryHelper.<init>(ServiceDiscoveryHelper.java:43)
	at org.talend.designer.webservice.ws.wsdlutil.ServiceDiscoveryHelper.<init>(ServiceDiscoveryHelper.java:37)
	at org.talend.designer.webservice.ws.wsdlutil.ComponentBuilder.buildserviceinformation(ComponentBuilder.java:119)
	at org.talend.designer.webservice.ws.WSDLDiscoveryHelper.getFunctionsAvailable(WSDLDiscoveryHelper.java:44)
	at org.talend.designer.webservice.ui.WebServiceUI.getDataFromNet(WebServiceUI.java:1626)
	at org.talend.designer.webservice.ui.WebServiceUI.access$20(WebServiceUI.java:1594)
	at org.talend.designer.webservice.ui.WebServiceUI$10.run(WebServiceUI.java:1498)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.net.ProtocolException: Server redirected too many  times (20)

Anyone can help? Which reason of error?

Regards

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Six Stars

Re: Error when configuring tWebService (Server redirected too many times)

Problem solved: bad webservice platform

4 REPLIES
Moderator

Re: Error when configuring tWebService (Server redirected too many times)

Hi,

Do you lost internet connection when call web service with basic http authentication? Is your network OK with you?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: Error when configuring tWebService (Server redirected too many times)

Hi, Sabrina.

Network is OK. It's intranet web service

Tags (1)
Six Stars

Re: Error when configuring tWebService (Server redirected too many times)

Problem solved: bad webservice platform

Moderator

Re: Error when configuring tWebService (Server redirected too many times)

Hi,

Thanks for your feedback. Feel free to let us know if there is any further help we can give.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.