BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 04-20-2007, 08:40 AM   #1
Steve Hempen
New Member
 
Join Date: Mar 2007
Model: 7520
Carrier: Nextel
Posts: 8
Default MDS app error on handheld

Please Login to Remove!

I got my app working on the simulator but no luck on the handheld. It is an app that was created through QuickStart. The web service on the back end is supposed to return a simple string message.

The app is loaded on the device. The error occurs after I get comfirmation that the device sent the request. Here is the error text:

An Error has occured, /blackberrytest/csharp/MyService.asmx

This is the directory where the service was published. The service was created with Visual Studio 2005. I made sure I changed all URL's in the wsdl, discovery file discomap file and web config to point the correct web site, port and directory.

Any clues as to how to fix? Let me know if more info will help.

Thanks,

Steve
Offline  
Old 04-23-2007, 07:36 PM   #2
jhoetzl
Thumbs Must Hurt
 
jhoetzl's Avatar
 
Join Date: Feb 2007
Location: Central, NJ
Model: 8320
Carrier: T-Mobile
Posts: 116
Default

When you published it to the MDS server, did it, by any chance, ever have "localhost" as part of the app path? Or in the URI?
I've had to save certain MDS projects with new names to get around this.

Also is the web service url on the same box as the BES/MDS server?
__________________

Current Device: 8320 OS: 4.2.2.338
Previous Device: 8100 OS: 4.2.1.107
BES v4.1.5/Notes 7.0.2
Offline  
Old 04-24-2007, 08:36 AM   #3
Steve Hempen
New Member
 
Join Date: Mar 2007
Model: 7520
Carrier: Nextel
Posts: 8
Default

The web service URL is not on the same box as the BES/MDS server. This has been a big question for myself and a co-worker. Does it need to be on the same machine?

The URI points to our web server, which is different from our BES/MDSS. Is the URI in the project properties used as a path to the service by the app or is that just extra info?

I am not sure what you mean by the app path but the publish source is on my personal machine.

Thanks,

Steve
Offline  
Old 04-24-2007, 12:24 PM   #4
jhoetzl
Thumbs Must Hurt
 
jhoetzl's Avatar
 
Join Date: Feb 2007
Location: Central, NJ
Model: 8320
Carrier: T-Mobile
Posts: 116
Default

If you go on the MDS server, can you open up a web browser and get to the page in the web service?

It is not a requirement for it to be on the same box.
That is part of the concept behind MDS and the pseudo firewall it creates between the "public" internet, and the web service and the device itself.

It creates another layer between the device/carrier and the back-end web service.

FWIW, my MDS apps have an "_" in front of the URI...

e.g.
URI: _/contact_lookup

as for app path, I meant:

Bundle URL: http://fqdn/webdav/_/contact_lookup/...kup-2.3.26.jar

That is displayed when you look in BB Manager, at the Application Registry, and select an app...should be in the bottom pane.
__________________

Current Device: 8320 OS: 4.2.2.338
Previous Device: 8100 OS: 4.2.1.107
BES v4.1.5/Notes 7.0.2
Offline  
Old 04-24-2007, 03:48 PM   #5
Steve Hempen
New Member
 
Join Date: Mar 2007
Model: 7520
Carrier: Nextel
Posts: 8
Default

I can get to the service from the BES server. My bundle url looks like this:

http://myBESserver:8080/webdav/mds-a...asmx-1.1.3.jar

ourWebSight.gov/csharp/myService.asmx is the url for the service. Let me know if anything looks problematic.

One more thing. When in the BB manager, the MDS server name shows up as http://myBESserver.domainName.local:7443/mds. Should the bundle url show that exact url? I know our BES uses several ports.

Thanks for the help.

Steve

Last edited by Steve Hempen; 04-24-2007 at 03:57 PM..
Offline  
Old 04-24-2007, 07:12 PM   #6
jhoetzl
Thumbs Must Hurt
 
jhoetzl's Avatar
 
Join Date: Feb 2007
Location: Central, NJ
Model: 8320
Carrier: T-Mobile
Posts: 116
Default

Quote:
Originally Posted by Steve Hempen View Post
When you did the MDS activation on the device, did you use:
http://myBESserver:8080/

When you go to the app registry in BB Mgr, what is the URI listed there?

I am wondering about the naming convention...
myService.asmx-1.1.3.jar

Can you get to this from a browser on the BES/MDS server:
http://myBESserver:8080/webdav/mds-a...asmx-1.1.3.jar



From you desk, if you goto a browser, and enter:
http://myBESserver:8080/mds

Do you get login prompt, and, after logging in, a MDS stat page?

Quote:
Originally Posted by Steve Hempen View Post
ourWebSight.gov/csharp/myService.asmx is the url for the service.
Let me know if anything looks problematic.
The web service should not really be visible as part of the bundle and/or URI.
I am wondering if the web server is choking because .asmx might be part of a known mime type and it might be confused???

Quote:
Originally Posted by Steve Hempen View Post
One more thing. When in the BB manager, the MDS server name shows up as http://myBESserver.domainName.local:7443/mds. Should the bundle url show that exact url? I know our BES uses several ports.
That URL should be fine - that is how BB Mgr is connecting to it.
__________________

Current Device: 8320 OS: 4.2.2.338
Previous Device: 8100 OS: 4.2.1.107
BES v4.1.5/Notes 7.0.2
Offline  
Closed Thread



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

Forum Jump


IBM CASH DRAWER KEY'S #9960 SET OF 2 KEYS. AFTERMARKET KEY'S SAME AS OEM 33G3360 picture

IBM CASH DRAWER KEY'S #9960 SET OF 2 KEYS. AFTERMARKET KEY'S SAME AS OEM 33G3360

$18.00



OEM IBM Selectric II Parts Keypads Black See Description and Photos picture

OEM IBM Selectric II Parts Keypads Black See Description and Photos

$30.00



OEM IBM Selectric II Assorted Parts picture

OEM IBM Selectric II Assorted Parts

$25.00



OEM IBM Selectric II Assorted Parts picture

OEM IBM Selectric II Assorted Parts

$25.00



IBM Genuine OEM Printer Filler Wide Credit Card Holder 10N1259 picture

IBM Genuine OEM Printer Filler Wide Credit Card Holder 10N1259

$24.79



Lot Of 5 Vintage OEM IBM 1337765 Easystrike Lift-Off Tape Cassette. picture

Lot Of 5 Vintage OEM IBM 1337765 Easystrike Lift-Off Tape Cassette.

$25.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.