Community of VE/MapPoint 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 ...
| |||||||
| 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 |
Flights from Doncaster
Fabulous flights from Doncaster for fantastic value on Holiday Hypermarket. You can even book parking and airport hotels with us!
Business Travel Agent
Leading Business Travel Agent. Personal service is at the heart of our business. Talk to one of our travel agents today.
Holiday to Thailand
Want to go somewhere new? Book a low cost holiday to Thailand at dealchecker.co.uk. See the stunning national parks and uninhabited islands.
Sri Lanka Holidays
There are some outstanding deals on Sri Lanka holidays at theholidayplace.co.uk. Sri Lanka is renowned for it's exceptional beauty! Book a holiday today!
Cheap Greece Holidays
For cheap Greece holidays make sure you know when to book and who to book with. Visit ulookubook.com to get help with doing both of those things. Why not time your visit with a Greek festival?
Cheap Travel
For cheap travel options, visit Travel.co.uk and explore the benefits of our comparison site.
Holidays in Fuerteventura
Need a break? Go to the Canary Islands! Find information on holidays in Fuerteventura at On The Beach.