Hello,

When trying to access the FindServiceSoap.findAddress() method in my java application I am receiving a java.io.IOException that I can't figure out how to fix. Can anyone see where I am going wrong? Below is the stack that is printed out by the error:

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.io.IOException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: java.io.IOException
at sun.net.www.protocol.http.HttpURLConnection.getInp utStream(Unknown So
urce)
at SimpleHTTPSender.readFromConnection(SimpleHTTPSend er.java:97)
at SimpleHTTPSender.invoke(SimpleHTTPSender.java:5
at org.apache.axis.strategies.InvocationStrategy.visi t(InvocationStrateg
y.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain .java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.jav a:120)
at org.apache.axis.client.AxisClient.invoke(AxisClien t.java:180)
at org.apache.axis.client.Call.invokeEngine(Call.java :2564)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:224
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at net.mappoint.s.mappoint_30.FindServiceSoapStub.fin dAddress(FindServic
eSoapStub.java:1173)
at MapGenerator.findAddress(MapGenerator.java:56)
at MapGenerator.getMap(MapGenerator.java:27)
at Tester.main(Tester.java:9)
Caused by: java.net.ProtocolException: Server redirected too many times (20)
at sun.net.www.protocol.http.HttpURLConnection.getInp utStream(Unknown So
urce)
at sun.net.www.protocol.http.HttpURLConnection.getHea derField(Unknown So
urce)
at java.net.URLConnection.getContentType(Unknown Source)
at SimpleHTTPSender.readFromConnection(SimpleHTTPSend er.java:92)
... 14 more


java.io.IOException
at org.apache.axis.AxisFault.makeFault(AxisFault.java :129)
at SimpleHTTPSender.invoke(SimpleHTTPSender.java:61)
at org.apache.axis.strategies.InvocationStrategy.visi t(InvocationStrateg
y.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain .java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.jav a:120)
at org.apache.axis.client.AxisClient.invoke(AxisClien t.java:180)
at org.apache.axis.client.Call.invokeEngine(Call.java :2564)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:224
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at net.mappoint.s.mappoint_30.FindServiceSoapStub.fin dAddress(FindServic
eSoapStub.java:1173)
at MapGenerator.findAddress(MapGenerator.java:56)
at MapGenerator.getMap(MapGenerator.java:27)
at Tester.main(Tester.java:9)
Caused by: java.io.IOException
at sun.net.www.protocol.http.HttpURLConnection.getInp utStream(Unknown So
urce)
at SimpleHTTPSender.readFromConnection(SimpleHTTPSend er.java:97)
at SimpleHTTPSender.invoke(SimpleHTTPSender.java:5
... 13 more
Caused by: java.net.ProtocolException: Server redirected too many times (20)
at sun.net.www.protocol.http.HttpURLConnection.getInp utStream(Unknown So
urce)
at sun.net.www.protocol.http.HttpURLConnection.getHea derField(Unknown So
urce)
at java.net.URLConnection.getContentType(Unknown Source)
at SimpleHTTPSender.readFromConnection(SimpleHTTPSend er.java:92)
... 14 more

Thanks in advance for any help

Mark.