• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

JAX_RPC and SOAP

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I create the simple application that using JAX-RPC similar to the examples of WSDP.
My doubt is if this example use the SOAP, because I dont amount any xml, but the client call the method e receive the return this method. The SOAP is tranparent to application or the applicatin can define this XML of SOAP ?

How I can use XML to create call of RPC and recieve data in format XML ?

Thanks
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you're using the JAX-RPC API, you won't be specifying the SOAP message yourself. If you want low-level access to the SOAP message you're sending, you need to use the SAAJ API.
 
Haroldo Nascimento
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks,


but I will wish use XML to access the remote method and get the result in XML too. For example:

<?xml version="1.0"?>
<methodCall>
<methodName>GetCelcius</methodName>
<params>
<param>
<value><int>-5</int></value>
<param>
<params>
</methodCall>


How I can do it using the simple example Hello World of jwsdp ?

Thanks
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You'll need an XML-RPC implementation to call XML-RPC services unless you want to construct the XML document by hand, use HttpURLConnection to send it to the server, and parse the response by hand. JWSDP only implements web services standards which are different from XML-RPC.
 
Willie Smits can speak 40 languages. This tiny ad can speak only one:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic