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
2
votes
2 answers

IBM JAX-RPC web service : Though the response is Boolean we are getting a number in the output

We have a generated webservice based on WSDL using JAX-RPC, in WSDL we have response like below
2
votes
1 answer

How to know if webservices are JAX WS or JAX RPC

I have an EAR file deployed on WAS 6.1. The EAR file contains several EJB methods exposed as Web services. Now is there a way to figure out if these web services are written according to JAX WS standard or JAX RPC standard?
Victor
  • 16,609
  • 71
  • 229
  • 409
2
votes
1 answer

Jax RPC web service definition with max length on parameter

I need to define a Jax-RPC Web Service, with a parameter with a max length. @SOAPBinding(style = Style.RPC) public interface MessageService { public String sendMessage(@WebParam(partName = "id") String id, …
g.annunziata
  • 3,118
  • 1
  • 24
  • 25
2
votes
1 answer

com.sun.xml.rpc.tools.ant.Wscompile cannot be found

I need to use a service at http://mihansmscenter.com/webservice/?wsdl so i should use jax-rpc i add jax-rpc plugin to my netbeans then righ click on my project > New > Web service client > and set: WSDL…
tavallaie
  • 69
  • 11
2
votes
1 answer

Issue with consuming JAX-RPC service from a JAX-WS CXF framework

Can you please suggest if I can use the WSDL with DII concept in JAX-RPC and write a method in CXF2.6(where JAX-RPC is not supported) framework to consume a JAX-RPC service? Do you see any class-loading issues or jar conflicts with this approach?…
2
votes
1 answer

Spring WS - JaxRPC - Web service response

I am using spring ws jaxrpc to consume external web services. The configuration for web services is as below.
Iswanto San
  • 18,263
  • 13
  • 58
  • 79
1
vote
1 answer

clientgen generated PortType_Stub cannot be cast to javax.xml.ws.BindingProvider

While trying to access a webservice through a client, I am not able to get the requestContext. I am trying to access the requestContext like this: QuerySysStatService querySystem=new QuerySysStatService_Impl(wsdl); QuerySysStatPortType…
user1096318
  • 31
  • 1
  • 1
  • 6
1
vote
1 answer

JAX-RPC Client parameter conversion

I'm working with an old-fashioned designed WebService using RPC encoded. My problem seems to be linked to XML types. A method in WSDL :
Semtex
  • 85
  • 1
  • 8
1
vote
1 answer

"Definition results in a loop" error using WSDL2Java for old SOAP 1.1/JAX-RPC/Axis 1.4 web service

I downloaded Axis 1.4 because I have to make a client for an old SOAP 1.1 WSDL. (Unfortunately it seems JAX-WS is not backwards compatible with JAX-RPC.) I used the helpful tutorial here:…
djb
  • 1,635
  • 3
  • 26
  • 49
1
vote
0 answers

Consuming overloaded methods in a .Net Webservice from Java

I'm trying to access this webservice http://webservices.esalestax.net/CertiTAX.NET/certicalc.asmx?wsdl. It's a .Net implementation with overloaded methods. I have no problems accessing it from .Net. However, there are two problems when accessing it…
Sriram
  • 838
  • 7
  • 15
1
vote
1 answer

JAX RPC Client in C#

I have to implement JAX RPC 1.1 client in C#. I have searched but haven't found anything satisfying,except http://www.yaldex.com/java_tutorial_2/Fly0090.html. Please provide some more helpful resources on the same. Any help will be highly…
user240141
1
vote
1 answer

Using version specific stub

My project is based on client and server communication in which at different locations, different version of server may be present. Client, based on nearest server's version number uses specific stub file to communicate with it. Now, while writing…
Mahesh Gupta
  • 2,688
  • 9
  • 30
  • 46
1
vote
0 answers

JAX-RPC Web Services WSDL2Java

I'm having a problem with JAX-RPC wsdl2java technology. My wsdl2java ant task:
Paulius
  • 9
  • 2
1
vote
1 answer

Converting an old JAX RPC WSDL file to a JAX WS WSDL file

I was wondering if is there some way to convert an old RPC WSDL file to a JAX-WS WSDL file. Tried my best to make sure I did my homework but I'm kind of lost here. From what I've read, I should remove all the 'encodingstyle' ocurrences and switch…
user980736
  • 13
  • 1
  • 4
1
vote
0 answers

" Error Unable to invoke Annotation processoror" wben deploying web service in Weblogic 12c

I have a Webservice implemented with jwsc for Weblogic 12c. It's a WAR file. The classes for the various beans used for the parameters and returns are added with the standard maven plugin, and everything looks OK. It compiles and packages OK. But…
The Archetypal Paul
  • 41,321
  • 20
  • 104
  • 134