Error when configuring tWebService (Server redirected too many times)

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)

Accepted Solutions
Six Stars

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

Problem solved: bad webservice platform


All 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.

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read