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

How to get client's IP in JAX RPC web services without Servlet Filter?

I have to log the client's IP address who is using my JAX RPC web service server. IBM adviced to use servlet filters and get the IP using HTTP Request: http://www-01.ibm.com/support/docview.wss?uid=swg21304368 Is there a different way to get the…
0
votes
1 answer

Netbeans 8.0.2 IDE is not opening after installing jax-rpc web service plugin

Before placing this question I have gone through these links but couldn't find the solution. Cannot start Netbeans 8.0.1 after JAX-RPC Web Services plugin installation How do I enable "JAX-RPC Web Services" plugin in NetBeans 8.0 I have followed the…
noman
  • 37
  • 2
  • 14
0
votes
1 answer

How to add or manipulate http header in a webservice call in java

There is a requirement to add a new http header key value pair in a soap request. Something like below. HTTP/1.1 200 OK Cache-Control: no-cache Pragma: no-cache Content-Type: text/xml; charset=utf-8 New-Key: Some dynamic value …
Sunny
  • 13
  • 2
  • 8
0
votes
2 answers

Random questions on JAX-WS and JAX-RPC compatibilities

We have a web service running on an old version of an application server. It this old application server is running on JAVA EE 1.4. Its clients are on another server also running on the same version of the application server. The move to upgrade…
0
votes
1 answer

Compilation errors using SOAPUI Classes directly in the unit test code

I am trying to call the SOAPUI classes directly in my units test , so that I can directly provide the link to the WSDL and call individual operations. The reason behind doing this is , I intend to create individual test cases and suites using these…
Chiseled
  • 2,280
  • 8
  • 33
  • 59
0
votes
0 answers

Call C# WCF web service from Java using JAX-RPC

I have simple web service created with C#. Now I need to use this service from Java side in JAX-RPC style. I do java development using NetBeans. I add new web service to my project, paste WSDL URL dress, select destination package calc and JAX-RPC…
vico
  • 17,051
  • 45
  • 159
  • 315
0
votes
1 answer

JAX- RPC : Getting error "org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element"

On trying to modify an existing wsdl and changing the Request Type and Response Type of an operation I am getting the below. The process I followed is : 1. Modify the xsd 2. Generate Java Bean Skeleton (Can not change it as it is referred in…
Debarshi DasGupta
  • 351
  • 2
  • 5
  • 21
0
votes
2 answers

What is the difference between wscompile and wsimport?

What is the difference between wscompile and wsimport. Can you please let me know when to wscompile. I normally use wsimport to get all ws artifacts from wsdl. I am confused when to use wscompile?
Loks
  • 151
  • 2
  • 15
0
votes
2 answers

Can I generate stub from JAX RPC URL

Thanks in advance. I did not work too much on web services. Client give me web service URL which is using JAX RPC. I want to consume it but i do not have wsdl URL for that web service URL. Can I generate stub from JAX RPC URL. This web service is…
Ashish Agarwal
  • 2,946
  • 1
  • 14
  • 14
0
votes
1 answer

JAX-WS and JAX-RPC Client Fault Handling

I have a WSDL that was originally designed for JAX-RPC use. When I generate the client classes in JAX-RPC the exception it throws are correct and as per specifications. But when I use the same wsdl and generate the JAX-WS classes the exception class…
0
votes
1 answer

Adding username token for JAX RPC in websphere application server admin console

I have developed JAX RPC webservice in bottom to top approach. I want to add username token to the webservice from Websphere Application Server admin console. Usually, RAD (Rational Application Developer) has an option to add username token in…
krishna movva
  • 49
  • 2
  • 12
0
votes
1 answer

JAX-RPC webservice redirecting to https automatically

I have created a webservice using JAX-RPC. When the webservice is invoked, an LDAP authentication occurs which will be handled by WebSphere container and then it will be redirected back to the actual webserivce. But when I see the logs, it shows a…
Ravi Teja
  • 19
  • 1
  • 7
0
votes
1 answer

200:General Data Error:15002:Request/Response Schema Validation Error

I have upgraded current Axis version from axis1.1.jar to axis1.4.jar. Also I have upgraded JDK from version 1.3 to 1.6. Since I upgraded JDK version, The existing web service consumer code was giving compiler error. Which was rectified using below…
Vinayak Dornala
  • 1,609
  • 1
  • 21
  • 27
0
votes
1 answer

simple WSDL and JAX RPC mapping file generating tools

guys, what are the simple tools for generating WSDL and JAX RPC mapping files from java ServiceEndPoint Interface. or I just need that generates JAX RPC mapping file generator
Pokuri
  • 3,072
  • 8
  • 31
  • 55
0
votes
1 answer

public default constructor error in JAX-RPC 1.1

I wrote a web service and i got this error. How can i fix this error ? The service class "com.argedor.ttnetMusic.recommendationWebService.Recommender" does not comply to one or more requirements of the JAX-RPC 1.1 specification, and may not deploy…
Fatih Yakut
  • 301
  • 1
  • 4
  • 16