Topic
1 reply Latest Post - ‏2012-10-28T08:57:26Z by AntonAleksandrov
SystemAdmin
SystemAdmin
2327 Posts
ACCEPTED ANSWER

Pinned topic how to pass parameter name with value to webservice

‏2012-10-22T11:03:13Z |

<form name=
"f1" id=
"fi" action=
"http://mydomain/Default.aspx" method=
"post"> <input TYPE=
"hidden" name=
"xml" value=
"<HOME><REQUEST><USERID>701692</USERID></REQUEST></HOME>"/> <input type=
"submit" value=
"submit"/> </form>


I have this code and this is only giving result when i pass name='xml' and value='<HOME><REQUEST><USERID>701692</USERID></REQUEST></HOME>' ....if i change name='other' then it will not work. Tell me how to do that with http adapter.
  • AntonAleksandrov
    AntonAleksandrov
    55 Posts
    ACCEPTED ANSWER

    Re: how to pass parameter name with value to webservice

    ‏2012-10-28T08:57:26Z  in response to SystemAdmin
    Hello,

    You do not need to create html forms to use Worklight HTTP adapter.
    Please refer to our Getting Started training materials at http://www.ibm.com/developerworks/mobile/worklight/getting-started/, especially modules 5.2 and 6 with their samples.