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
1
vote
1 answer

Worklight javax/xml/name space/QName

IBM Worklight 6.2/ Liberty 8.5.5.1 For the custom implementation of Webservice, Java code had been written and jaxrpc.jar included in the server lib folder of worklight project While testing in the eclipse it works fine. When the build has moved…
1
vote
2 answers

I need to create XML-PRC compatible Web Service

In Netbeans 8.0 I created Web Service (without certification), which is woking on SOAP. But SOAP protocol is incompatible with its, what demands prepared remote client. I changed in WSDL protocol from "document" to "rpc", but still it not enogh and…
hariprasad
  • 555
  • 11
  • 20
1
vote
1 answer

Accessing Spring-WS service with JAX-RPC client model

I have deployed a service using spring-ws and accessed it using
vivek kumar
1
vote
1 answer

JAX-RPC and Glassfish

I have a legacy application with JAX-RPC webservices that is deployed on Weblogic. I'm trying to create a test harness around it using embedded glassfish and it's ScatteredEAR. The app seems to deploy fine and the webservice endpoints are available.…
akula1001
  • 4,576
  • 12
  • 43
  • 56
1
vote
2 answers

WebService Client in Java with jax-rpc

I need to use jax-rpc in a project using the Eclipse IDE. The problem is that I don't know what JDK to use because when I write: import javax.xml.rpc; or import javax.xml.rpc.Stub; I get an error error telling me Eclipse IDE can not find it in the…
Charlie
  • 63
  • 1
  • 10
1
vote
0 answers

How to ignore WebService error in JBoss EAP 6?

I have to make a compatible .ear for WebSphere 6.1 (which is only JAX-RPC/Java1.5) and JBoss EAP 6 (JAX-WS/Java7). There is a webservice in WebSphere 6.1 that works with JAX-RPC and i want to create the exact same webservice in JBoss using JAX-WS.…
Joshua
  • 627
  • 4
  • 9
  • 21
1
vote
0 answers

Running Web Logic 8.1 Web Service using JAX-RPC Stack on Web Logic 12

We are currently in the upgrade phase of upgrading to Java7/Weblogic12c (from Java1.5/WebLogic10.1). Our builds is using Maven 2.5. Our focus is to change as little java code as possible to narrow the scope of where to look for what went wrong in…
cp5
  • 1,087
  • 6
  • 26
  • 58
1
vote
1 answer

How make for obtain a SOAPPart in Axis 1.4?

My code: try { String endpoint = "http://alsb3-soa:80/Numero"; Service service = new Service(); Call call = (Call) service.createCall(); MessageContext message = call.getMessageContext(); …
WhoAre
  • 144
  • 2
  • 13
1
vote
1 answer

Axis 1.4 How to modify soap envelope attributes?

This is envelope which i wanna to send to service: How make this using Axis 1.4 I…
WhoAre
  • 144
  • 2
  • 13
1
vote
0 answers

How to sign the soap body of a request on the client's side

I have built my Stub and other Web Service Facade classes via wscompile. The request can be built with no problems, but once it is sent off, the following error arises: javax.xml.rpc.soap.SOAPFaultException: WSEC5061E: The SOAP Body is not signed.;…
Ryan Murphy
  • 356
  • 2
  • 9
1
vote
0 answers

SOAPResponse does not retain soap headers

When I add soap headers from handler.handlResponse(), I can see the headers added in the handler but these headers do not make it to the client. Here is my handleResponse() method. public static final String WEB_SERVICE_NAMESPACE_PREIFX = "dm"; …
Sannu
  • 1,202
  • 4
  • 21
  • 32
1
vote
0 answers

JAX-RPC including "Z" on end of date using Java Calendar as input

We invoke a backend call using JAX-RPC. I have generated the JAX-RPC client using RAD8.5 and with WSDL/XSD files provided by our backend. Our client application gives us a String date value formatted as yyyyMMdd (20130720). The backend application…
John
  • 73
  • 7
1
vote
0 answers

JAX-RPC runtime for Tomcat

I have ported a Java EE web application from JBoss 4.0.5/Java 5 to Tomcat 6.0.33/Java 6. The web application exposes some web services. They were implemented as JAX-RPC web services in JBoss, I have adapted them as JAX-WS web services using CXF 2.6…
user2335321
  • 59
  • 1
  • 4
1
vote
1 answer

Way to place a bad request in a dead-letter queue when using JAX-RPC?

I'm using JAX-RPC 1.1 to generate services for a set of applications running on WAS 6.0, communicating via Websphere MQ. A mainframe will be sending messages to the services, so if for some reason the message can't be converted to objects (likely…
Kaleb Brasee
  • 51,193
  • 8
  • 108
  • 113
1
vote
0 answers

Changing namespace in SOAP message using jax rpc soap message handler

I am trying to alter the namespace for a element in a soap request using saaj api in a jax-rpc soap message handler. For eg: <\s:Envelope xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> …
Mohit
  • 11
  • 2