WAP 2.0 + kSOAP

Hi BB'rs.

I am developing an application that uses Web services to communicate with an external server. I would like to as communications to transmit using the WAP 2.0 protocol.

I use the kSOAP library. What I read in the related forum messages and objects, the HttpTransport object is where connection suffixes are added to ensure that the application passes on WAP 2.0.

I currently have a problem establishing a connection to the external servers, technical details are below.

Please note that I am recovering the "WAP2 trans01" since the service book and adding that a variable in the actual code. the result is the same as below.

HT = new HttpTransport (webserviceUrl + ";" ConnectionUID = WAP2 trans01");

HT. Call results in an IOException (could not pass).

HT = new HttpTransport (webserviceUrl + "; DeviceSide = true; ConnectionUID = WAP2 trans01");

HT. Call translates an InvalidStateException (no instance of the application).

I use the Blackberry Bold 9700 (OS v5.0.0.545), glancing at my maintenance book, the entrance to WAP2 Transport 01 is shown below:

Name: WAP2 Transport 01

UID: WAP2 trans01

CID: WPTCP

User ID:-1

IDDM:

Gateway IP: //0.0.0.0;0/wap.vodafone.co.uk| GPAK

Description: WPTCP Trans Vodafone UK (136163)

Service type: not specified

Subtype of service: not specified

What I've read, it should work. If anyone has any experience with kSOAP WAP 2.0, I would appreciate greatly any advice on how to proceed.

Best,

James

Hi Simon,.

Thanks for your reply, the problem has been resolved, it was because of the traffic of transcoding of Vodafone UK.

Transcoding resulted in a 500 response of the WAP 2.0 gateway that kSOAP couldn't handle. I've been able to diagnose this using the rim (HIGHLY RECOMMENDED!) network diagnostics tool

After searching around forums, I found that it was possible to whitelist our domain by email to [email protected].

A further search revealed that the .mobi domains are automatically in the whitelist of transcoders, no attempts are made to transcode server responses! I feel enlightened!

We checked the domain .mobi with a number of carriers (Orange, Vodafone, tMobile and O2) using the tool the network diagnostics in BES and WAP 2.0 by using the tool (thanks RiM!) network diagnostics and our application.

Boo,

James

Tags: BlackBerry Developers

Similar Questions

  • Background thread, kSoap, WAP 2.0 crashing

    My apologies for the title of the topic, I did not know how to phrase my question correctly!

    Background:

    I created an application (partially) work that implements a timer started from a different point of entry.

    The timer calls a thread about every ten seconds. The thread running queries from web services to a remote server and analyzes the responses. This is done using the kSOAP library and and connector MDS on BES, WAP 2.0 so decommissioning the client uses not BES.

    Problem:

    Everything works a treat for the connection of BES and some suppliers of WAP 2.0. The majority of client machines using WAP 2.0 do not work.

    The error returned by the application is IllegalStateException: no instance of the application. It is thrown only with WAP 2.0. The error occurs directly after the execution of the method in the class of kSOAP HttpTransport.

    Ht HttpTransport = new HttpTransport (SERVICE_URL + ";" deviceside = true; ConnectionUID ="+ wapUid());

    HT. Call();

    I tested this thorougly but this is my first BlackBerry application and there is obviously something I am doing wrong.

    Test:

    Here are things I've already tried.

    1. I wrote a separate application that passes the raw XML data to the web server, the response is rendered to the screen. It works on WAP 2.0 and has no problems or interference of the WAP gateways or transcoders.
    2. I wrapped the ht.call inside an executable invokeAndWait () function. I thought that maybe the kSOAP library was interfering with the user interface?

    Please note that the exception does occur in the instance of the application started by another entry point. Web services work very well on all WAP 2.0 providers (that have been tested) in the application of the user interface.

    Thanks in advance.

    James

    invokeandwait is not solution (especially not when he dressed network code, never do this)

    You must catch a Throwable instead of an Exception. The traces are deleted on exceptions for performance reasons (per OS), only throwable objects have them.

    you did not really answer the question of what the other entry point did, I'll try to explain my question.

    you start the application UI about to enter normal.

    start an application when the autostart entry point is called? with xxxapp.enterEventDispatcher?

    If this is not the case, this might solve your problem.

    instead of closing a user interface application, you can use requestBackground. several applications of system use this mechanism. If you select 'Close' in the menu of the browser, for example, the browser is only put in the background.

  • FF8 + dialog box popup "application/vnd.wap.xhtml+xml" when you access a Web site.

    FF8 cannot use the www.translink.com.au trip planner.

    When I fill in the fields and click on 'Find journey' - a dialog box appears

    "You have chosen to open the trip planner.
    which comes from application/vnd.wap.xhtml+xml a: (27.6 KB): http://jp.translink.com.au
    What should Firefox do with this file?
    Opened with Browse...
    Save the file.

    Also a few other buttons on this site do the same thing, for example. On this page and train travel planner:
    http://TransLink.com.au/travel-information/services-and-timetables/buses/Route-204
    -If you click on the button 'Show time' - it does the same thing.

    This site worked before ok with FF7 and IE8.
    A release with the troubleshooter from the site Web - no response.
    Now it is unusable and don't know what to do.

    Other than this problem only seem to work ok - FF8 so this Web site is to blame?

    Googled the problems forums and looked for a solution - it's a problem similar to mine:
    http://support.Mozilla.com/en-us/questions/796303?s=application%2Fvnd.WAP.XHTML%2Bxml & r = 1 & s = ACE

    PS - to confirm - I use a desktop pc with a mobile broadband usb dongle.

    I hope someone can help.
    Thanks in advance.

    "FF8 + dialog box popup"application/vnd.wap.xhtml+xml"when you access a Web site."

    THE PROBLEM ABOVE IS NOW COMPLETELY RESOLVED.

    The site in question was the problem - NOT 8 Firefox or Linux Mint.

    The site has been fixed and now works as it should.

    If someone else gets a dialog box pop-up similar box to the above - suggest that they contact the administrator of the website the problem and inform them that their site user agent detection Web is not correctly identify your version of Firefox mobile browser and so redirecting to a mobile version, return of mobile specific markup (Content-Type).

    Check the Whirlpool forum: http://forums.whirlpool.net.au/forum-replies.cfm?t=1821427

    and here for a similar problem: http://support.mozilla.com/en-US/questions/796303#answer-158925

    As mentioned above, for the temporary site issue features while it is currently set, install the extension switch from User agent.

    https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/
    
  • Re: upgrade Portege R100 WLAN to the wap-> new mini pci oder pcmia card?

    Hello!

    My old but beloved R100 is not able to connect to my router wlan due to the fact,
    that the build-in-card pci doesn't support wap. So I have to update my laptop
    either with a new mini pc card oder one card pcmia. What solution is the best?

    Best regards
    Rita

    Well, the PCMCIA card is always removable and it is easy to insert.
    But I'm not sure about the range of the WiFi signal...

    MinPCI wireless network card is hidden somewhere in the notebook and you'd have to remove some parts to get access to the old minPCI WLan card.

    But I still prefer the minPCI wireless network card because the minPCI wireless network card can be connected to the WLan antenna and it could be better...

  • Intermittent WiFi on Satellite Pro L10 D WAP - Link

    Equipment: new Satellite Pro L10 with Centrino & integrated Intel Pro 2200BG wifi and D-Link DWL2100Ap wireless access point. The new laptop works on the neighbor's wireless network (all day), and my Sony notebook working on our D-Link network based. However the new Toshiba works for awhile the first thing in the day (maybe 2 hours) and then stops working at an increasing rate. The afternoon he will not work for more than about one second.

    For most, however, the icon says that it is connected and free config says that it is connected; See her ranges from wireless networks - different bits of the system are in disagreement on the status of the connection, but no data flow.

    The D - link WAP has always said he has the Toshiba as a customer. Select 'repair' normally runs for a second or two.

    He always seems to have a number allocated IP, IPCONFIG - however, if I try to connect later in the day and is already having an IP address, it may not stay connected for long enough to get a.

    Very frustrating. Any help appreciated.

    Hello

    Well it s very strange.
    You said that the work of laptop on the neighbouring s wireless very well.
    In this case I n t think that it s a problem with wireless network card.
    Try to check your router settings.
    Maybe you can compare your settings with the neighbors.

    Good bye

  • Looking for software for my protégé WAP

    My protégé has supported - it seems - LAN only. Is there a software that will allow me to get internet through my router Netgear (apparently WAP)?

    Kind regards. It's my second technical question in my life, so sorry if the details are not correct.

    Sorry, but I don t understand what you want to do
    Want to connect laptop Portege xyz for the WLan or what?

    Could you please more details?

    PS: all available Toshiba applications are downloadable on the Toshiba driver page if you are looking for a 3rd party software then you will need to google

    Welcome them

  • Satellite L100 does not connect to with WAP encryption

    I just got a new Satellite L100 and I'm trying to connect to my Netgear dg834g router wirelessly. If I disabled security it connects ok, but if I activate WAP message said little or no connectivity. I can connect to the router via a network cable and it's also ok.
    If someone could help?

    Hello

    Where have you enabled WPA encryption?
    On the WLan router or wireless network card?
    If you have enabled encryption on the wireless network card, so you must also configure the WLan router with this encryption.
    But if encryption has been configured on the router, so I guess that the wifi card does not support this encryption and you will need to choose another type of encryption as WEP WiFi.

    Encryption depends on the specification of the equipment and not over WLan driver.
    So if the card doesn t supports WPA is so not much to do.

  • I have a new router and the computer windows 7 If using WAP wireless encriptación. I also want to use my old laptop which has XP then does not connect.

    I have a new router and the computer windows 7 If using WAP wireless encriptación. I also want to use my old laptop which has XP then does not connect. I was told by the router (Belkin) manufacturer support there is a MS download XP patch so it will connect to my new wireless network. Where can I get it and what it is labeled?

    original title: wap encriptación

    Hello

    Maybe this can help.

    http://www.Microsoft.com/download/en/details.aspx?displaylang=en&ID=3914

  • question of WAP wifi extender 300n

    Hello

    I have a WAP 300N that I put in place to be a WIFI extender to my wireless router.  Two questions:

    1. can I connect the Extender to the router directly?

    2. is it an advantage?

    Thanks for your help.

    HarryBB

    Hi harrybb, if you set the WAP300N as a Wireless Range Extender, you better do not connect cable to the router. The advantage when you do this, it's you will get an excellent signal strength and speed. How to do this? Simply place the WAP300N to a place where you get a slow signal then bar, connect your wireless devices.

  • WAP?


    OK so I thought about it... the WAP must be connected to a switch or router and then and only then it works properly.

  • Adding a new WAP browser home

    I've been using an E3200 and it works very well. I know needing a wireless coverage in a remote area of my house and the current router won't get there. I also need wired to this place of the House as well. I thought about buying an e1200 to use as a WAP browser for the part of the House and also to have some ports Ethernet detaches it. Can I connect wirelessly to my original E3200 of the e1200 and then use the e1200 as a Navigator WAP and Ethernet? I tried to set up a bridge and who did not. Thanks for your help.

    You can assign the same SSID but must be configured on a different channel. No need to do any more. First, be sure to configure the wireless settings before configuring the router in Bridge mode.

    Implementation of your Linksys Wireless-N router bridge mode

  • Can I WET or WAP?

    We have an E3000 wireless router in a closet of data on the floor.  Downstairs we have a HD TV connected to an XBox with a Wireless N adapter.  We use the XBox as a media extender to watch TV that has been saved on my PC and for streaming Netflix.  Apparently, the router is physically too far from theXBox for Netflix streaming, and we sometimes get hiccups when watching recorded TV.

    So I wonder - I should have a WAP sitting in the next room next to the XBOX, or a WET directly connected to the XBOX?  And if I have a WET connected to the XBox, do I also need the Microsoft XBox Wireless N adapter or the WET replaces the need for this?

    Thanks in advance for any ideas.

    Yes, and this should solve the problem for you.

  • WRT310N as Repeater WAP?

    I just bought an E2000 and he uses now as my main router and hub Wireless-N.  It replaced a device WRT310N, which I would now like to set up as a WAP browser & Repeater wired wired E2000 appliance.  Is there a way to do this?  Instructions anywhere?

    Thank you!

    Jason

    You will need the routers cascading. Here is the procedure. Follow the LAN - LAN connection.

  • E3000 WAP / would like to old WRT300N can provide a stronger signal

    I recently replaced WRT300N router / WAP with E3000.  Low signal in our basement.  I have CAT5e cable that goes down to the basement where I would place the WRT300N in a certain type of client mode so that it will provide a signal more stronger and better access.  I know that I must be sure that DHCP is handled exclusively by the E3000.  Beyond this simple step, I don't know how to proceed.

    WRT300N material is capable of that?  If Yes, can someone provide instructions step by step on how to do this?

    Thank you very much.

    Two routers will work with the other. You can follow this link and it help you to set up your two routers.

  • Problems of router, switch, and WAP.

    I have a router Wrt400n, a WAP610n and a couple of switches EZXS55W.  I've implemented the rounter connected routers to him cheating.  I have about 6 PC tips and video games wired to the switches.  When I connect wap to one of the switches, some time later my entire network loses the connection with the internet and the only way to fix it is to disconnect the wap and reboot the router.  I have the configuration of the route with dhcp and have given an ip address for the WAP as 1.99 to get him out of the side of the dhcp range.  I only did the 1.99 recently becuaes nothing else has worked.  with on wap everything works fine.  Help, please.  I use wap to extend the wifi at home.

    Fixed.  I had to book the IP of the GPA in the rounter and and set the WAP at this static IP address.  This isn't a requirment in the manual, but it doesn't work any other way.

Maybe you are looking for