Questions tagged [jax-rpc]

JAX-RPC is a technology for building web services and clients that use remote procedure calls (RPC) and XML

JAX-RPC stands for Java API for XML-based RPC. Often used in a distributed client-server model, an RPC mechanism enables clients to execute procedures on other systems.

In JAX-RPC, a remote procedure call is represented by an XML-based protocol such as SOAP. The SOAP specification defines the envelope structure, encoding rules, and conventions for representing remote procedure calls and responses. These calls and responses are transmitted as SOAP messages (XML files) over HTTP.

Although SOAP messages are complex, the JAX-RPC API hides this complexity from the application developer. On the server side, the developer specifies the remote procedures by defining methods in an interface written in the Java programming language. The developer also codes one or more classes that implement those methods. Client programs are also easy to code. A client creates a proxy (a local object representing the service) and then simply invokes methods on the proxy. With JAX-RPC, the developer does not generate or parse SOAP messages. It is the JAX-RPC runtime system that converts the API calls and responses to and from SOAP messages.

With JAX-RPC, clients and web services have a big advantage: the platform independence of the Java programming language. In addition, JAX-RPC is not restrictive: a JAX-RPC client can access a web service that is not running on the Java platform, and vice versa. This flexibility is possible because JAX-RPC uses technologies defined by the World Wide Web Consortium (W3C): HTTP, SOAP, and the Web Service Description Language (WSDL). WSDL specifies an XML format for describing a service as a set of endpoints operating on messages.

Read more

173 questions
5
votes
1 answer

will Apache CXF supports JAX-RPC based web services(SOAP)

I want to know if Apache CXF supports JAX-RPC based web services. Currently I have worked on JAX-WAS based one. Thanks.
Patan
  • 17,073
  • 36
  • 124
  • 198
5
votes
3 answers

Java web service, xsd date instead of dateTime

In Java EE 1.4 using JAX-RPC 1.1, how can i expose web service, so the wsdl has a complex type (person) where one of the properties of the person is a date which is shown in the WSDL/XSD as only a date (such as a birthdate) instead of a dateTime…
jasonmw
  • 1,138
  • 9
  • 20
4
votes
1 answer

Complex type with single array element throws marshalling exception

We have JAX-RPC style web service, with a complex type defined as follows:
Johnbabu Koppolu
  • 3,212
  • 2
  • 22
  • 34
4
votes
1 answer

Sending array of string as a parameter to web service method using JAXRPC

I've got problem sending an array of string as parameter to a web service method, given in a specific wsdl. When am trying to send an array of strings, I get the following error. Error: AxisFault faultCode:…
Anuj Balan
  • 7,629
  • 23
  • 58
  • 92
4
votes
1 answer

Pass client certificate to web service without setting system-wide properties

I'm trying to pass client certificate to a web service using JAX-RPC implementation. (the web service is in rpc-encoded style). So far, I am able to do it by setting system properties: System.setProperty("javax.net.ssl.keyStore",…
miha
  • 3,287
  • 3
  • 29
  • 44
4
votes
1 answer

WS Libs: com.sun.xml vs javax.xml

There are identical classes of java WebServices API & IMPL in those packages groups, only package names are different. http://mvnrepository.com/artifact/javax.xml http://mvnrepository.com/artifact/com.sun.xml Which ones should I use in my code? I…
Zilvinas
  • 5,518
  • 3
  • 26
  • 26
4
votes
2 answers

Polymorphism in JAX-RPC web services

I have a JAX-RPC (Java) web service that needs to return a complex polymorphic value. To be more specific, the class structure is something like this: abstract class Child { } class Question extends Child { private String name; // other…
Adam Crume
  • 15,614
  • 8
  • 46
  • 50
4
votes
1 answer

Spring Integration : Multiple Application Integration using Spring Integration

I have some doubts regarding Spring Integration : Can we integrate more than two applications using Spring Integration framework? Is it point to point intergration or middleware oriented integration? In client-server architecture If both (client &…
4
votes
1 answer

How to add a SOAP Header using Java JAX-RPC?

I have a SOAP request like this :
The Dark Knight
  • 5,455
  • 11
  • 54
  • 95
4
votes
1 answer

Generating JAX-WS client stubs for JAX-RPC web service?

Will I be able to connect to a JAX-RPC web service using a JAX-WS (wsimport) generated client stub? What are the effects of consuming a JAX-RPC web service using a JAX-WS client? Are there any advantages and disadvantages?
Arci
  • 6,647
  • 20
  • 70
  • 98
4
votes
2 answers

Web Service wsse security implementation

I am creating a web service using IBM JAX-RPC/JAX-WS. I am trying to implement the wsse security but not able to figure out the exact steps for achieving the same. I will be using RSA 7.5 and Websphere 7 for this web service. Reading the…
user182944
  • 7,897
  • 33
  • 108
  • 174
3
votes
0 answers

JAX-RPC remoting of enum

I wrote a function using an enum for filtering with this signature: /** * Match a profile with other profiles meaning they are similar. * * @param profileId * the profile to match * @param actuality * the actuality to…
Manu
  • 33
  • 1
  • 5
3
votes
3 answers

How to mock entire JAX-RPC communication session?

I have a legacy application, which is working with third-party web service through JAX-RPC. Now I need to unit-test the application by mocking certain XML RPC calls with test data. Actually, I need to replace Apache Axis, which is used by the…
yegor256
  • 102,010
  • 123
  • 446
  • 597
3
votes
1 answer

JAX-RPC, Spring web services, and UnsupportedOperationCallException

I have a JAX-RPC web service that I am attempting to consume using Spring. This is my first time using Spring to consume a web service, so right now I'm just trying to get it to integrate with the JAX-RPC web service as a test. The web service has…
matt b
  • 138,234
  • 66
  • 282
  • 345
3
votes
1 answer

How to determine if a Java web service is JAX-WS or JAX-RPC

I've been asked to complete some documentation related to a number of web services in an application and indicate for each service if it as implemented using JAX-WS or JAX-RPC. The services have been developed over a number of years, and probably…
FrustratedWithFormsDesigner
  • 26,726
  • 31
  • 139
  • 202
1
2
3
11 12