I'm afraid that I agree with criticism against SOAP. You may want use
REST.
There are REST implementations for Android:

http://www.ibm.com/developerworks/webservices/library/ws-designpattern/index.html

This will allow you to invoke your web service (Jboss) from your
android client easily. I have this running on my phone.





On Oct 25, 10:44 am, William Añez <wecu...@gmail.com> wrote:
> Hi guys, Im sorry if Im asking something too easy, but Im just
> starting programing with android and want to connect to a simpleWebServiceI 
> ust created.
>
> My WebService is running in a JBoss (because i have other applicantion
> more complex running there, and in a short time i will connect all
> that with my Android Client)
>
> I only have a single method on the WebService, very simple:
>
> @Stateless
> @WebService
> @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use =
> SOAPBinding.Use.LITERAL, parameterStyle =
> SOAPBinding.ParameterStyle.WRAPPED)
> public class StoreCoreServiceImpl implements StoreCoreService {
>
>         @WebMethod
>         public void sayHello(String user, String password, String message)
> throws Exception {
>
>                 // TODO validate user
>                 System.out.println("Hello from: '" + user + "', message was: 
> " +
> message);
>
>         }
>
> }
>
> The problem is that im triying to call that method without any
> positive result, I have read a lot of forums but nothing seems to work
> for me, can anyone help me with this ?
>
> Thanks in advance.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to