witam... slecze juz troche nad tym problemem, ale niestety nie moge sobie poradzic z zalogowaniem sie do serwisu UPS.com
Po stronie przeglądarki mam forme:
<form name="LoginPage" method="post" action="/one-to-one/login">
<input name="system.action" value="login" type="hidden">
<input name="system.returnto" value="/myups/finishlogin?loc=pl_PL&amp;auto=0&amp;returnto=https://www.ups.com/uis/create?loc=pl_PL&amp;WT.svl=PNRO_L1&amp;appid=UIS" type="hidden">
<input name="appid" value="UIS" type="hidden">
<input name="origReturnTo" value="https://www.ups.com/uis/create?loc=pl_PL&WT.svl=PNRO_L1&appid=UIS" type="hidden">
<input name="returnToFirst" value="/myups/finishlogin" type="hidden">
<input name="fullReturnTo" value="/myups/finishlogin?loc=pl_PL&auto=0&returnto=https://www.ups.com/uis/create?loc=pl_PL&WT.svl=PNRO_L1&appid=UIS" type="hidden">
<input name="loc" value="pl_PL" type="hidden">
<!-- Version: 9.02.09 -->
<!-- Build Date: Thu, Feb 12 2009 16:08 -->
<input name="system.screenname" value="UIS" type="hidden">
<input name="system.forwardname" value="LoginCustomForSSO" type="hidden">
<input name="system.isLoggedIn" value="0" type="hidden">
<!-- <input type="hidden" name="submitAction" value="" /> -->
<input name="uid" value="" type="hidden">
<input name="password" value="" type="hidden">
<input name="returnto" value="" type="hidden">
<input name="sysid" value="myups" type="hidden">
<input name="method" value="login" type="hidden">
<input name="bean.id" value="some" type="hidden">
<table class="mod-clr" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td class="mod-head-clr"><img alt="" src="/img/1.gif" border="0" width="8" height="4"></td>
<td class="mod-head-clr" width="100%" height="20">
<span class="whitesubheadbold">
Mój UPS
</span>
</td></tr>
</tbody></table>
<table class="mod-clr" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td colspan="2"><img alt="" src="/img/1.gif" border="0" width="1" height="8"></td>
</tr>
<tr>
<td colspan="2">
<div class="modulepad">
Zaloguj lub zarejestruj się, aby uzyskać dostęp do funkcji UPS Wysyłka Internetowa
<br><br>
<span class="bold">Identyfikator użytkownika:</span>
<br>
<input name="bean.uid" value="" size="16" tabindex="1" maxlength="16" type="text">
<br>
<input name="bean.autopop" value="1" type="checkbox">
<a href="javascript:helpModLvl('http://www.ups.com/content/pl/pl/register/remember_me.html')">Pamiętaj Mój ID Użytkownika na tym komputerze<img src="/img/icn_help_blue.gif" alt="" border="0" width="9" height="9"></a>
<br><br>
<span class="bold">Hasło:</span>
<br>
<input name="bean.password" value="" size="16" tabindex="2" maxlength="20" type="password">
<br><br>
Logując się do witryny ups.com, wyrażasz zgodę na warunki, które określa <a href="http://www.ups.com/content/pl/pl/resources/service/terms/technology_agreement.html">Umowa o dostarczanie rozwiązań technologicznych z firmą UPS.</a>
<br><br>
<div class="modpadarrow"> <img alt="" src="/img/icn_arrow_blue.gif" border="0" width="10" height="10">
<a href="/myups/forgotpassword?loc=pl_PL&returnto=%2Fmyups%2Ffinishlogin%3Floc%3Dpl_PL%26amp%3Bauto%3D0%26amp%3Breturnto%3Dhttps%3A%2F%2Fwww.ups.com%2Fuis%2Fcreate%3Floc%3Dpl_PL%26amp%3BWT.svl%3DPNRO_L1%26amp%3Bappid%3DUIS">
Nie pamiętam identyfikatora użytkownika lub hasła
</a>
</div>
</div>
</td>
</tr>
</tbody></table>
<!--- END Table: Form Input(Parent:Formatting Table) -->
<!--- Begin Table: Form Control Buttons(Parent:Formatting Table) -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td class="mod-clr" colspan="2" height="10"><img alt="" src="/img/1.gif" width="1" height="10"></td>
</tr>
<tr>
<td colspan="2" bgcolor="#ffffff" height="1"><img alt="" src="/img/1.gif" width="1" height="1"></td>
</tr>
<tr>
<td class="mod-bar" width="100%"> </td>
<td class="mod-bar" align="right" nowrap="nowrap"><a href="#" onclick="javascript:submitToSSOLogin(); return false"><input class="btn_a" name="LOG IN" value="Zaloguj się" title="Zaloguj się" type="submit"></a></td>
</tr>
</tbody></table>
<!--- End Table: Form Control Buttons(Parent:Formatting Table) -->
</form>
a wszystko chyba sprowadza się do:
<input name="bean.uid" value="" size="16" tabindex="1" maxlength="16" type="text">
<input name="bean.password" value="" size="16" tabindex="2" maxlength="20" type="password">
<input class="btn_a" name="LOG IN" value="Zaloguj się" title="Zaloguj się" type="submit">