Program with J2ME and C#

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • pei_world

    Program with J2ME and C#

    I am doing a project with Client/Server.
    on the server I have C# Windows application
    on the Client I want to use J2ME,
    //============
    question is if it is possible to make them communication
    using web service


  • Girish NS

    #2
    Re: Program with J2ME and C#

    Hi,

    Not sure that web services is fully supported in J2ME. Support is there.
    One other way is communicate with server by sending /receving xml stream
    thru HTTPConnection object or StreamConnectio n object. Instead of a web
    service u can have a asp.net which receives xml and sends xml as response.

    The following page containing technical articles and tips on J2ME might be
    helpful to u.


    Hope this helps...

    Girish.

    "pei_world" <pei_world@hotm ail.com> wrote in message
    news:el%23UvAQy DHA.3208@tk2msf tngp13.phx.gbl. ..[color=blue]
    > I am doing a project with Client/Server.
    > on the server I have C# Windows application
    > on the Client I want to use J2ME,
    > //============
    > question is if it is possible to make them communication
    > using web service
    >
    >[/color]


    Comment

    • pei_world

      #3
      Re: Program with J2ME and C#

      by the way, anyone have some sample code for formating data
      into XML and put it into stream, send across the network.


      "pei_world" <pei_world@hotm ail.com> wrote in message
      news:el%23UvAQy DHA.3208@tk2msf tngp13.phx.gbl. ..[color=blue]
      > I am doing a project with Client/Server.
      > on the server I have C# Windows application
      > on the Client I want to use J2ME,
      > //============
      > question is if it is possible to make them communication
      > using web service
      >
      >[/color]


      Comment

      • Doug

        #4
        Re: Program with J2ME and C#

        Look up SOAP, that's exactly what you need.


        "pei_world" <pei_world@hotm ail.com> wrote in message
        news:%23QyUd1Vy DHA.2620@TK2MSF TNGP09.phx.gbl. ..[color=blue]
        > by the way, anyone have some sample code for formating data
        > into XML and put it into stream, send across the network.
        >
        >
        > "pei_world" <pei_world@hotm ail.com> wrote in message
        > news:el%23UvAQy DHA.3208@tk2msf tngp13.phx.gbl. ..[color=green]
        > > I am doing a project with Client/Server.
        > > on the server I have C# Windows application
        > > on the Client I want to use J2ME,
        > > //============
        > > question is if it is possible to make them communication
        > > using web service
        > >
        > >[/color]
        >
        >[/color]


        Comment

        Working...