MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




java issue

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-23-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
java issue

i am new member for mappoint, now I meet some strange issue, can anyone help me?

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/" xmlnssd="http://www.w3.org/2001/XMLSchema" xmlnssi="http://www.w3.org/2001/XMLSchema-instance">
<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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 03-01-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Re: java issue

Quote:
Originally Posted by Anonymous
i am new member for mappoint, now I meet some strange issue, can anyone help me?

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/" xmlnssd="http://www.w3.org/2001/XMLSchema" xmlnssi="http://www.w3.org/2001/XMLSchema-instance">
<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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
issue, java


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 01:54 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

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.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52