This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connecting to WebService  RSS feed

 
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!