Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Web service invocation error

kc
Level 8
Level 8
Hi all,



I have a process in which I need to invoke a web service, but when I try to generate the soap request I get an "Invocation error" message. If I then instead build up my own soap request and invoke the process I get the "Invocation error" again with the following cause:



2008-11-17 10:52:00,101 INFO [STDOUT] Caused by: java.net.ProtocolException: Server redirected too many times (20)

2008-11-17 10:52:00,101 INFO [STDOUT] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1178)



2008-11-17 10:52:00,101 INFO [STDOUT] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)

2008-11-17 10:52:00,101 INFO [STDOUT] at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)



2008-11-17 10:52:00,101 INFO [STDOUT] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

2008-11-17 10:52:00,101 INFO [STDOUT] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

2008-11-17 10:52:00,101 INFO [STDOUT] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

2008-11-17 10:52:00,101 INFO [STDOUT] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)

2008-11-17 10:52:00,101 INFO [STDOUT] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)

...



I am running on a LC 8.0 turnkey installation (Win 2003) with MySQL and JBOSS if that is of any difference.



Can you help me understand this error in more detail?



\Kim
2 Replies
aoatak
Level 4
Level 4
Hi,

Are you connecting to webservice through proxy ? Can you be able to connect with other tools like SoapUI?
kc
Level 8
Level 8
Hi again,



No I am not connecting through proxý.



I have created a .NET project that is (from the same machine) able to get the wsdl.



I have furthermore pinpointed that is is due to an access violation with some imported wsdl in the "outer-wsdl". So what happens is that the authentication for accessing the imports in the wsdl fails. However I have not yet fixed the problem.



The web service is running on an IIS 6 on Win 2003.



Any thoughts?



Sincerely

Kim