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
0
votes
1 answer

JDK5 + Axis2 : How to create a WS with URL encoded parameters?

I have Tomcat 5.5 + Axis2 1.5.5 + 2 servlets running. One of my servlet is a custom servlet that runs axis2 too. I have WEB-INF and all subdirectories under it (conf, lib, services and modules). Now, one of my class is EntityWebService which is the…
TecHunter
  • 6,091
  • 2
  • 30
  • 47
0
votes
1 answer

Hide WSDL in JAX-RPC 1.1 WS

I have a lot of old web services. Now the wsdl is public, so i need to hide the wsdl. My configuration is jax-rpc 1.1 + Weblogic 12.1.3.0.0 I have searched a lot, but none of the solutions found have worked for me: I don't have the option in…
Iván
  • 101
  • 1
  • 1
  • 10
0
votes
1 answer

JAXRPC Messaging Style and Format

I am a beginer to Web services , trying to learn JAX RPC I have read that , for the Message Style and Message Format . Its always better to go with the combination of Document Literal . Is this true ?? Please tell me when do we use RPC Style then ??
user663724
0
votes
1 answer

Getting information about configured (webservices.xml) web service handlers programatically

In a Web Service, I have few GenericHandlers configured as server (Role) in webservices.xml (for IBM Runtime) & server-config.wsdd (Axis Runtime). Say the handlers are A, B & C. Now, when there is an inbound call, A, B & C are getting invoked as…
Nitin
0
votes
1 answer

Getting Exception while generating the WebService when HashMap is passed as parameter

I am trying to create a webservice which takes a VO and VO contains a parameter of type Map. I wrote this simple Service and trying to create the webservice out of it. While creating the webservice I am getting exception that its not supported. …
java_enthu
  • 2,279
  • 7
  • 44
  • 74
0
votes
1 answer

How to do the SET-UP for the XRP RIPPLED node in Exchange linux

What How to SETUP XRP RIPPLED in Linux.I am new to this please help me from scratch.with referral link
karthik sl17
  • 19
  • 1
  • 7
0
votes
1 answer

jax-rpc webservice on websphere 9

I am given a websphere 9 and need to deploy SOAP webservice based on jax-rpc. The client refused to upgrade and demanded that it must be jax-rpc, no jax-ws. I used Axis1 to create the webservice and it listed a set of jax-rpc complains. The service…
terencefung
  • 167
  • 1
  • 2
  • 14
0
votes
1 answer

Exception occurs with JAX-RPC handler

I have some SOAP webservices build with JAX-RPC. These work fine. But as soon as I add a handler, I get an exception. When the binding is removed from the webservices.xml, everything works fine again. The weird thing is, the handler itself isn't…
doekman
  • 18,750
  • 20
  • 65
  • 86
0
votes
1 answer

Dynamic Soap Url with Jax-rpc and netbeans

when generating a web service client in netbeans 6.9 I would like the ability to dynamically load the soap endpoint url from a config (Properties) file (e.g. dev vrs production urls). How can I accomplish that as netbeans ask for a literal url and…
Lance Caraccioli
  • 1,421
  • 13
  • 14
0
votes
1 answer

How to assign a unique ID to a webservice instance

I'd like to assign an unique identifier to a soap request as soon as it arrives at my (GlassFish 2) server. I suppose I use a handler for this. But where can I store such an ID? I need it to relate log-lines from multiple classes. For this I need…
doekman
  • 18,750
  • 20
  • 65
  • 86
0
votes
0 answers

Migrating JAX-RPC webservice to Spring-WS

I am trying to convert a JAX-RPC webservice running on websphere to spring-ws in springboot application. The existing customers facing issue connecting to the new webservice as it validates the content-type and soap envelope. it is failing with a…
Anil
  • 31
  • 4
0
votes
1 answer

How to create a complete java soap web service (jax-rpc) project (not just client code) a wsdl file?

I have a legacy system that uses soap java web service that "queries" mainframe to retrieve data. The problem is that the war file in production doesn't have a corresponding project(don't know how that happened). Using the wsdl, is there a way to…
Vuzi
  • 185
  • 2
  • 4
  • 13
0
votes
0 answers

Concurrency In JAX-RPC

My understanding about SOAP services(JAX-RPC), is this that they are not instantiated for each service client request and consequently are not thread-safe. Based on that understanding, I have following scenario based question: I have a JAX-RPC SOAP…
G.S.Tomar
  • 290
  • 2
  • 14
0
votes
1 answer

Apache Axis JAX-RPC over IBM MQ - IllegalArgumentException: noCFName

I'm trying to create a JAX-RPC client with JMS / IBM MQ transport. I'm using the following guide as reference: https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_7.5.0/com.ibm.mq.dev.doc/q033020_.htm I have received the wsdl from an external…
André
  • 527
  • 5
  • 15
0
votes
1 answer

RAD 8.5.5 and Websphere 8.5 - not creating *_Deser and *_ser classes for webservice

I have a web service, where I am required to make a contract change. The contract change is the easier part, and I was able to make the changes to service and deploy it on the WAS 8.5 application server. When I triggered a sample request from SOAPUI…
R S
  • 1
  • 1