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
0 answers

What dependencies for JAX-RPC web services in Weblogic 12?

I really should be able to work this out but I've failed so far. I have an Weblogic 8.1 web service, implemented as an EJB. I'm following the steps here: https://docs.oracle.com/middleware/1213/wls/WLUPG/upgrade_ws.htm#WLUPG335 to upgrade it to a…
The Archetypal Paul
  • 41,321
  • 20
  • 104
  • 134
1
vote
1 answer

HTTP transport error: java.net.MalformedURLException: no protocol: REPLACE_WITH_ACTUAL_URL

I am using a Stub Based client Approach for JAX RPC This is my Client package com; import java.rmi.RemoteException; import javax.xml.rpc.ServiceException; import com.client.BookCatalog; import com.client.BookCatalogService; import…
user663724
1
vote
0 answers

JAX-RPC ServiceLifecycle not calling init

I have a web project that uses JAX-RPC using SOAP requests and I can't modify it too much. This project is a bit outdated compared to another similar project we are currently maintaining. I have been trying to get the IP address via the request…
jmhg92
  • 121
  • 2
  • 14
1
vote
1 answer

WebSphere Liberty fails to automatically generate swagger for JAX-RS api

In multiple projects in my company we use WebSphere Liberty Profile with the apiDiscovery-1.0 feature to automatically generate a swagger.json that describes our api. But one specific project is failing. The log display the following stack trace…
neves
  • 33,186
  • 27
  • 159
  • 192
1
vote
1 answer

maven bundle plugin embeded deps exclude files or packages

I need one of Apache libraries (axis-jaxrpc) in my OSGi bundle, but it's kind of defective as its jar contains a class from java built-ins (javax.xml.namespace.QName). I cannot replace it with any other alternative - it's a side-dependency for…
netikras
  • 422
  • 4
  • 12
1
vote
1 answer

Oracle Weblogic Server Client Error Message Supress or Restrict

I would like to restrict client side error message on Weblogic. I havent found any solution on it. In that image, would like to suppress bea_fault:stacktrace part.
Hasan Birol
  • 136
  • 1
  • 11
1
vote
2 answers

Web Service dynamic invocation from WSDL at runtime

I'm looking for a solution of dynamic web service client such as DII from JAX-RPC. I need to generate a client from a WSDL. But the WSDL is only known at runtime (so I don't have any available interface). I had a look on JbossESB, JbossWS,…
christophenoel
  • 308
  • 3
  • 8
1
vote
1 answer

Sign XML document in Header

i have this code and it works good, but the problem is that i want to add the sign in the header instead of the body. I have tried changing DOMSignContext but nothing works Any help will be very appreciated Than you very much in advance public…
AMB
  • 995
  • 1
  • 12
  • 26
1
vote
1 answer

Is it possible to access the raw SOA/XML message in a JAX-RPC java client?

I am trying to access the XML response via a JAX-RPC java client. I have been looking into Axis custom handlers, but it looks like they are useful only in the service side.
Magesh
  • 71
  • 1
  • 2
1
vote
0 answers

Namespace not matching in WLS Published WSDL for JAX-WS RPC Style webservice

After deploying a JAX-WS, RPC Style webservice, the WSDL published in Weblogic server 12.1.3 does not corresponds to initial WSDL. The namespace in is not matching. ISSUE: Initial WSDL Contains:
akshitmahajan
  • 668
  • 1
  • 9
  • 17
1
vote
0 answers

Configure jax rpc Handler for Tomcat

My project uses javax.xml.rpc.handler.Handler interface to process xml received. I use weblogic. Now I am moving to tomcat and want to use javax.xml.rpc model only. Can you help me to understand how to configure my mail class and handler configs so…
Anurag
  • 11
  • 3
1
vote
0 answers

Axis No WS-Security header found

I'm using WebLogic 8.1 clientgen tool to generate needed classes to send soap request.The Web Service (based on spring-ws) that I try to connnect to uses Wss4jSecurityInterceptor for authentication. The config looks like this:
kamilx2
  • 191
  • 2
  • 6
1
vote
7 answers

Dozer deep mapping not working

I am trying to use dozer 4.1 to map between classes. I have a source class that looks like this: public class initRequest{ protected String id; protected String[] details } I have a destination class that looks like this: public…
user363900
  • 41
  • 1
  • 1
  • 5
1
vote
1 answer

JAX-WS client with Axis service

I'm relatively new to web services, but I need to integrate a call to an existing service in my application. Ideally, I'd like to use JAX-WS because I'm looking for the simplest, quickest-to-develop solution on my end, and MyEclipse is able to…
Jon
  • 1,249
  • 1
  • 10
  • 21
1
vote
0 answers

JDeveloper 10g Web service get XML SOAP response request?

Is there a way to capture the XML requests / responses for a JDeveloper 10g OC4J Web service which is using JAX-RPC? We would like to store the XMLs into our database.
Steve
  • 445
  • 1
  • 8
  • 18