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

java.lang.AbstractMethodError when adding Header to Java 4 JAX-RPC SOAP Handler

I have to write a JAX-RPC SOAP message Handler in Java 4, and I need to add a security header to the message. At present, when I try to send a message I get a java.lang.AbstractMethodError:…
m0rv4i
  • 425
  • 2
  • 8
  • 20
1
vote
1 answer

JAX-RPC WebService not generating java array in WSDL

I am currently try to generate JAX-RPC webservices from java source using the Emitter class (the same as the Java2WSDL tool) provided in Websphere. I am currently using WAS6.1 and WAS7.0 for testing. The issue is when I attempt to generate the WSDL…
Craig
  • 1,390
  • 7
  • 12
1
vote
0 answers

Converting PHP web service from JAX-RPC to JAX-WS

Is there any way to convert JAX-RPC to JAX-WS web service. The issue is we need to generate a client of this PHP based web service in java. The web service is written in PHP in RPC style, and when java team try to generate the client it get error…
NoNaMe
  • 6,020
  • 30
  • 82
  • 110
1
vote
1 answer

Java Web Service - List vs Array

I'm new to web service. I'm writing some simple web services for testing and I have the following questions. The website here says that JAX-RPC supports array of primitive types. But when I write a simple web service…
Jack
  • 305
  • 1
  • 3
  • 13
1
vote
1 answer

JWSC ant task with element's explode attribute set to true

I'm using WebLogic JWSC ant task to generate WebLogic Web Service artifacts from existing wsdl. JWSC generates all the required files and archives them in an ear file. Since I don't want JWSC task to create a new application.xml, I use…
azizunsal
  • 2,074
  • 1
  • 25
  • 33
1
vote
0 answers

Accepting runtime-specified SSL certificates for Web Services requests in WebLogic 11g

In our application we need to call several Web Servervices based on URL's and trusted SSL certificates that are stored in database. Those certificates are self-signed but we cannot add them in the WebLogic truststore. This is 2-way SSL but our…
Didier L
  • 18,905
  • 10
  • 61
  • 103
1
vote
3 answers

Java web service client:

I'm developing a web service client that needs to execute operation exposed on tomcat with axis2. The client has all the wsdl files that are needed. I can't import them statically with netbeans or eclipse because the client needs to discover the…
Raffo
  • 1,642
  • 6
  • 24
  • 41
1
vote
2 answers

returning multiple values in web service

I am designing a web-service using java and eclipse which returns the user details who are marked as customer in the database I was successfully able to return details for a single user (as there was only one entry in the dB) with the following…
Nelo Angelo
  • 977
  • 3
  • 11
  • 16
0
votes
1 answer

Passing xml to jax rpc web service

I have a jax-rpc web service. When i try to pass xml to the web service the following error occurs: [3/18/12 4:26:27:947 IST] 0000002b WebServicesSe E com.ibm.ws.webservices.engine.transport.http.WebServicesServlet doPost WSWS3227E: Error: …
nkvp
  • 342
  • 1
  • 8
  • 15
0
votes
1 answer

Tutorial for JAX-RPC webservice development

I am looking for a tutorial on JAX-RPC webservice development and my platform is weblogic 10.3 Regards, imran
ImranRazaKhan
  • 1,955
  • 5
  • 33
  • 74
0
votes
2 answers

Logging the raw XML of a SOAP request/response using JAX-RPC

I'm using JAX-RPC and wanted to know if there is a way to make JAX-RPC print the raw SOAP Request/Response for debug purposes. I saw that JAX-RPC uses log4j but did not see which logger I should turn on with DEBUG to view the message before it is…
RonK
  • 9,472
  • 8
  • 51
  • 87
0
votes
1 answer

ur-type with JAX-RPC or XSLT-ing the response via a Handler

So we've got ourselves a lovely vintage PHP WS we must integrate via JAX-RPC and this WS delivers some responses as follows:
Marius Burz
  • 4,555
  • 2
  • 18
  • 28
0
votes
0 answers

Security interceptor in Spring boot application

I'm trying to implement security interceptor in Spring boot application. I have added XwsSecurityInterceptor. I have defined customized password validation call back handler. I have defined the policy configuration as provided in attachment. But…
0
votes
0 answers

Namespace mismatch on the xsd generated using Java beans

As a part of an platform upgrade, we are moving from JAX-RPC to JAX-WS. The EJB service beans have been modified to have the JAX-WS annotations. @WebService(name = "AdService", serviceName="AdService", …
vinr
  • 25
  • 1
  • 10
0
votes
1 answer

Difference between jaxrpc and jaxrpc-api?

What is the difference between jaxrpc and jaxrpc-api? I didn't find any article which tells the difference between two. Also, I am able to find jaxrpc-api.jar but not able to find any valid location to download jaxrpc.jar. And which one from these…
Avinash Modi
  • 81
  • 2
  • 8