Sorry for bumping this thread to the top again, however, at the moment I trying similar. Creating a OMA Client Provisioning setting with a proxy for the default access point. Here, someone seems to succeded to use an x-MIDlet application configration. Nevertheless, I want to understand this. I am able to create such a configuration, it is accepted by phone and my access point name is choosen. However, the proxy is ignored. Either I do not understand this technical comment or I am doing something wrong.
Nokia Series 40 Client Provisioning states at the end of chapter 4.10:
Internet access is not supported for Proxies. If an operator would like to grant access anyway, it can be achieved in the following way:
• Use the Access characteristic:
<characteristic type="ACCESS">
• Define a rule that all unknown applications should use a specific proxy:
<parm name="RULE" value="Default Rule"/>
• Define a rule that all applications not pointing to a specific access point or proxy should use a “default proxy”:
<parm name="TO-PROXY" value="10.0.0.172 GPRS"/>
This approach has a major drawback – it does not work across configuration contexts, and that effectively restricts the number of configuration contexts to one. Note: This option is not recommended at all.
Do not understand, how I can create such a setting. Here is one I would need for Vodafone CallYa (Germany) as there is no support for direct internet access for those customers
Code:
<?xml version="1.0" encoding='UTF-8' standalone='yes'?>
<!DOCTYPE wap-provisioningdoc PUBLIC
"-//WAPFORUM//DTD PROV 1.0//EN"
"http://www.openmobilealliance.org/tech/DTD/prov.dtd"
>
<wap-provisioningdoc>
<characteristic type="BOOTSTRAP">
<!-- Nokia Series 40: Name der Konfiguration -->
<parm name="NAME" value="Vadafone WAP" />
</characteristic>
<characteristic type="ACCESS">
<parm name="RULE" />
<parm name="TO-PROXY" value="Vadafone WAP" />
</characteristic>
<characteristic type="PXLOGICAL">
<parm name="PROXY-ID" value="Vadafone WAP" />
<parm name="NAME" value="Vodafone WAP" />
<characteristic type="PXPHYSICAL">
<parm name="PHYSICAL-PROXY-ID" value="1" />
<parm name="PXADDR" value="139.007.029.001" />
<parm name="TO-NAPID" value="INTERNET" />
<characteristic type="PORT">
<parm name="PORTNBR" value="80" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="NAPDEF">
<parm name="NAPID" value="INTERNET" />
<parm name="BEARER" value="GSM-GPRS" />
<parm name="NAME" value="Vodafone WAP" />
<parm name="INTERNET" />
<parm name="NAP-ADDRESS" value="wap.vodafone.de" />
<parm name="NAP-ADDRTYPE" value="APN" />
</characteristic>
</wap-provisioningdoc>
Does not work. Proxy ignored. Or is there no way without x-MIDlet?