Web service invocation error

Avatar

Avatar

kc

Avatar

kc

kc

17-11-2008

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

Replies

Avatar

Avatar

aoatak

Avatar

aoatak

aoatak

21-11-2008

Hi,

Are you connecting to webservice through proxy ? Can you be able to connect with other tools like SoapUI?

Avatar

Avatar

kc

Avatar

kc

kc

03-12-2008

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