Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on java issue within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; i am new member for mappoint, now I meet some strange issue, can anyone help me? 1.I download the java ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| java issue 1.I download the java demo from demo.mappoint.net. Also, I modified STORES_DATASOURCE and STORES_ENTITYTYPE in StoreLocator.java, and I set user name and password in TestUnit.java, and I add client-config.wsdd in classpath. But when I run it, I get following exception: 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(HttpURLConnection.java:593) at java_1_4.SimpleHTTPSender.readFromConnection(Simpl eHTTPSender.java:103) at java_1_4.SimpleHTTPSender.invoke(SimpleHTTPSender. java:64) at org.apache.axis.strategies.InvocationStrategy.visi t(InvocationStrategy.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 dNearby(FindServiceSoapStub.java:1151) at com.spatialpoint.mappoint.storelocator.StoreLocato r.calculateNearbyStores(StoreLocator.java:511) at com.spatialpoint.mappoint.storelocator.StoreLocato r.getNearbyStores(StoreLocator.java:1127) at TestUnit.testSOAPHeaders(TestUnit.java:71) at TestUnit.main(TestUnit.java:36) Caused by: java.net.ProtocolException: Server redirected too many times (20) at sun.net.www.protocol.http.HttpURLConnection.getInp utStream(HttpURLConnection.java:800) at sun.net.www.protocol.http.HttpURLConnection.getHea derField(HttpURLConnection.java:1451) at java.net.URLConnection.getContentType(URLConnectio n.java:382) at java_1_4.SimpleHTTPSender.readFromConnection(Simpl eHTTPSender.java:9 ... 15 more and I monitor the soap message what i send, just like this: <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns <soapenv:Body> <FindNearby xmlns="http://s.mappoint.net/mappoint-30/"> <specification> <DataSourceName>Onvantage.46555.aa</DataSourceName> <LatLong> <Latitude>0.0</Latitude> <Longitude>0.0</Longitude> </LatLong> <Distance>5.0</Distance> <Filter> <EntityTypeName>aa</EntityTypeName> </Filter> </specification> </FindNearby> </soapenv:Body> </soapenv:Envelope> can anyone tell me what is wrong about it ? 2.I can use my user name and password to login in https://mappoint-css.partners.extran...oft.com/cscV3/, and config some data source. So the username and password is valid. But when I access http://findv3.staging.mappoint.net/F...ndService.asmx, it pop up a windows and ask me input username and password. I enter them which i used in https://mappoint-css.partners.extran...oft.com/cscV3/, but it is invalid ,why ? Thank in advanced. |
| |||
| Re: java issue Quote:
|
![]() |
| Tags |
| issue, java |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mappoint WebService Issue with Axis | in.bharath | MapPoint Web Service and Virtual Earth | 1 | 03-14-2006 03:28 AM |
| Moving Text Balloon Issue | mroyle | MapPoint 2006/2009 Discussion | 0 | 10-13-2005 04:20 PM |
| License issue for own Web application | Anonymous | MapPoint 2006/2009 Discussion | 1 | 03-29-2005 01:54 PM |
| vb6 server issue | starbuck | MapPoint 2006/2009 Discussion | 1 | 04-15-2004 10:27 AM |
| something like mappoint, but for java... | Joeba | MapPoint 2006/2009 Discussion | 2 | 12-03-2002 09:14 AM |
Tenerife Holiday
Find a great deal on a Tenerife holiday through UlookUbook! Check out the options online...