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

Consuming JAX-RPC with JAX-WS

Will I be able to consumie JAX-RPC web service using a JAX-WS client ? What are the effects of consuming a JAX-RPC web service using a JAX-WS client? Are there any advantages and disadvantages?
Sanny Pathak
  • 45
  • 1
  • 9
0
votes
2 answers

RAD - How to add username token for JAX RPC in websphere application server admin console

I have created web services and trying to add security part of it. I'm using RAD and wondering how to add the username token in the webservices.xml extension tab? Any help is appreciated. Thanks.
Techie
  • 71
  • 1
  • 11
0
votes
1 answer

How to print SOAP message version of JAX-RPC service in websphere

I want to print SOAP Message version of input header/request objects and response header/response objects. I am using stubs to call jax-rpc webservice( Eg: GetPubKeyServiceImplServiceSoapBindingStub extends…
sandeep
  • 71
  • 12
0
votes
1 answer

HttpServletRequest.getRemoteAddr() implementation on Weblogic 9.2.3 using JAX-RPC

Salut, I am new in Weblogic WebService implementation. Trying to get client's remote address from SOAP message using JAX-RPC. Need to get client's remote IP from SOAP message header. Tried many solutions according BEA/Oracle…
wonderbeak
  • 45
  • 1
  • 2
  • 6
0
votes
1 answer

JAX-RPC webservice serialization issue on WAS6.1 test environment

I'm trying to pass Vector of complex objects as a result of a WS method. I'm following a JavaBeans scheme and all Collections are replaced by Vectors already, but I'm still getting a serialization exception WSWS3037E: Serialization cannot occur for…
grzegorz_p
  • 483
  • 1
  • 4
  • 14
0
votes
1 answer

Issues in creating J2C Java beans using the Batch Import Utility in WAS 8.5

I'm facing issues in creating J2C Java beans using the Batch Import Utility. In my project I have a custom ANT Build file which invokes ImportBatch.bat file of WSAD 5.1 Plugin. In WAS 5.1 it is working fine but in WAS 8.5 using Rational Application…
0
votes
1 answer

Custom http headers in JAX-RPC request not working in websphere 8

The below scenario is for IBM JDK and IBM JAX-RPC implementation. The requirement is to send couple of customer header properties in JAX-RPC request with WebSphere as the container. I have the below code set in my client. HashMap headers = new…
popcoder
  • 2,952
  • 6
  • 32
  • 47
0
votes
1 answer

JAX-RPC com.sun.xml.rpc.client.BasicService Not Found

I'm trying to consume a JAX-RPC WSDL for first time. Im using Netbeans 8 and Java 1.7, I also include in my Project Libraries JAX-RPC (JWSDP 1.6) which includes jaxrpc-impl.jar (wich includes com.sun.xml.rpc.client.BasicService) But I'm getting the…
AMB
  • 995
  • 1
  • 12
  • 26
0
votes
0 answers

JAX RPC Stub issue with XSD complex type

I've a WSDL XSD with request & response complex type elements defined.
ItsMyFist
  • 75
  • 7
0
votes
2 answers

How to create JAX-RPC stub/proxy files using WSDL file

I wanted to create JAX-RPC stub/classes/proxy files using my existing WSDL file. I used wsimport, but it just created class files. I tried wscompile but I was not sure about the required parameters. Could anyone suggest any tools, which is easy to…
Ravi
  • 30,829
  • 42
  • 119
  • 173
0
votes
1 answer

Changing XML structure in SOAP Handler

I use Axis 1.4 and I want to insert an additional level within in the XML of a SOAP body within the client. There is a server response, which I can get with a subclass of javax.xml.rpc.handler.GenericHandler in the client: Now I try to recognize…
witchi
  • 345
  • 3
  • 16
0
votes
1 answer

WAS 8.5.5.7 : JAX-RPC / JAX-WS / APACHE SOAP

My compagny change the version of WAS 7 by 8. We expose some WS by the RPC router of was which isn't support with the new version. I want to have your advice on the possibility to create the following architecture to resolve the problem. Problem is…
ndaussy
  • 7
  • 5
0
votes
1 answer

javax.servlet.ServletException: WSWS3142E: Error: Could not find Web services engine

I am publishing a JAX-RPC Webservice through WAS7.0. I have generated the skeletons through RAD8.0. The AFter generation its deployed in the local and working perfectly fine as I am receiving desired response through Soap UI. Now I deployed the EAR…
Rajib Sharma
  • 28
  • 1
  • 5
0
votes
1 answer

stubs generation - JAX WS or JAX RPC, which one to use, when we are provided with a WSDL

Will there be any difference between the stubs generated by JAX WS and JAX RPC standard? can we use one of this to generate the stubs from a WSDL or we have to check for any criteria to pick one of these. If we have to choose one of the approach,…
venkata
  • 447
  • 3
  • 15
0
votes
1 answer

Weblogic/JRockit Exception handling on JAX-RPC (Soap) webservices

I am maintaining old soap webservices running on JAX-RPC (Weblogic implementation). But I am experiencing an NPE without any complete stack trace :
Aure77
  • 3,034
  • 7
  • 33
  • 53