0

I was just wondering, whether is it possible to deploy a JAX-WS and access it from a browser without the need to install any software or proxy classes ..

user1510230
  • 220
  • 1
  • 3
  • 13

2 Answers2

1

Of course, JAX-WS is just a library built on top of SOAP, which is built on top of XML, which is built on top of HTTP (duh!)

If you have SOAP web services (the fact that it was developed using JAX-WS is irrelevant), any application capable of sending and receiving XML over HTTP can call it. We are successfully accessing our back-end web services using AJAX POST (the web services must be deployed on the same domain as your front-end due to ).

Tomasz Nurkiewicz
  • 334,321
  • 69
  • 703
  • 674
  • 1
    If you are talking about calling from typing an address in the address bar of a browser, its not possible because you need to send a SOAP request. But you can write simple form to submit. Else try SOAPUI or REST Client. You can build a SOAP request and POST. – techuser soma Jul 31 '12 at 03:38
  • Since when is XML build on top of HTML? Isn't it the other way around...Duh? – rbaleksandar Jan 26 '16 at 19:29
0

As far as I've seen it's not possible, since you need to have proxy classes in order to call the JAX-WS functions ... but maybe I'm wrong !

user1510230
  • 220
  • 1
  • 3
  • 13
  • Did you answer your own question? – davidbuzatto Jul 29 '12 at 16:32
  • 1
    Proxy classes are only a means to build the SOAP request and post to the endpoint. IF you can build your SOAP request and invoke the end point with the request by any other means of posting to an http url, you dont need the proxy. – techuser soma Jul 31 '12 at 03:42