• Post Reply Bookmark Topic Watch Topic
  • New Topic

Connecting to WebService

 
Sandeep Advani
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have deployed a web-service on host A using Axis 1.1
in Java. I have another Java application which has a
small GUI on host B. This GUI has a button which needs
to send some String to deployed Web Service on host A
that I initially started using "java
org.apache.axis.transport.http.SimpleAxisServer" at
port 8095.

Is it possible through a simple socket connection or
whatever other reason that might be? I can only think of
writing an Axis client and run it on the fly as soon
as I click on that button. Data to be passed will be
the parameter to this client. Somehow I feel that this
will be cumbersome.

Any suggestions?

Sandeep
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess you could send a hardcoded SOAP message over HTTP using java.net.HttpURLConnection.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!