Minimum JDK & JRE to be used with JAX-WS 2.2.x - java

I am using JAX-WS wsimport to generate stubs to call Web Services. I need JAX-WS 2.2 or above - which is default only with JDK/JRE 7. What is the minimum JRE/JDK JAX-WS 2.2 can be used against? Can it be used with JRE5. Can it it be used with JRE6. The JAX-WS documentation describes how to use JAX-WS 2.2.x with JDK 6 - https://jax-ws.java.net/2.2.7/docs/ch02.html#running-on-top-of-jdk-6
However, this documentation seems to be for web services on the server side. I couldn't find anything clear in the documentation about whether it can be used for client stubs with JRE 6 (i.e. generation client stubs with JAX-WS 2.2.x & then running them against JRE 6).
Is this fully supported? Any caveats?

Using the Java Endorsed Standards Override Mechanism is the way to go for both client and server.
This mechanism also applies to Java 5 but I don't expect there was much testing of JAX-WS 2.2 on it.

Related

Will WSO2 Identity Server support Java 5( JDK 1.5)?

I wanted to implement Wso2 authentication and authorization on an old existing java web application in jdk 1.5 and running in oc4j.
Is wso2 identity jars are available in the version 1.5?
We are using IS 5.3 (Latest Version).How can I achieve this in an old application
No, IS 5.3.0 supports only Java 1.7+.
It's very strange to hear such a requirement in 2017. Even Oracle doesn't support Java 1.5 now.

Using JAX-WS RI of java 6 under heavy load

I have recently started with web services. In my project, I have to create a client side using wsdl provided.
I have implemented the client part using JAX-WS RI which is available as part of Java 6.
Now when I was going through some blogs, they mentioned that we should not use JAX-WS of java, as it is just an reference implementation and
we have to go for libraries like Apache CXF or Axis2.
Could you please advice if we can use JAX-WS RI of java in production ?
At the moment with JAX-WS RI of Java, our client application testing is going on without any issues. Will it create any problem if we use it under high load ?
Thanks,
Vijay

Does java 1.4 support SOAP Binding 1.2?

I have a requirement where i have to develop a Web service Client to consume a web service.
The WSDL shows that the SOAP Binding is 1.2
but the JDK version in Development and JRE in App server is 1.4.
I tried to develop the Web service Proxy through JDeveloper 10.1.2 but it failed the generation saying that the WSDL is invalid.
Is Soap Binding 1.2 supported by java 1.4???
SOAP is not part of Java SE.
Some SOAP support is included Java EE ... via the javax.wsl.soap, but it looks like you would be better of using the JAX-WS support in Metro 1.4.
Unfortunately for you, Metro 1.4 requires Java 1.5 (u2) or later.
However, you should be seriously considering a platform upgrade anyway. Java 1.4 was end-of-lifed a long time ago. Unless you are paying for Oracle support, you won't have access to security patches ... and there have been some significant ones recently.

IBM Websphere 7, support for JAX-WS Service 2.2, it´s possible?

I have a Java EE application that uses JAX-WS 2.2 and I have to deploy it on WebSphere Application Server 7, but it seems that this version of WAS supports just up to JAX-WS 2.1.
Is there any way of enabling JAX-WS 2.2 on WAS 7? Thanks.
At fix pack 7 for WAS 7 (7.0.0.7), configuration options were added to disable IBM provided JAX-WS engine that ships with product, and configure a third party JAX-WS engine. You may see details about this fix at PK93756: ENABLE USE OF THIRD PARTY JAX-WS WEB SERVICES ENGINE IN WEBSPHERE
So you shall be able to configure JAX-WS 2.2 implementation of your choice. You may find information on how to configure your server to disable IBM provided JAX-WS engine, and then configure your own implementation at DeveloperWorks and WAS 7 Infocenter.

Java 1.3 Websphere 5 application -> need call SOAP 1.1 or SOAP 1.2 web service

I have old application that works in Websphere 5 with Java 1.3.
I cannot change Java version or app server version.
I need to add to this application code that will call web service.
AFAIK target web service supports both SOAP 1.1 and SOAP 1.2.
Unfortunately I have only little experience with WS clients. Some time ago I wrote WS client using Java 5. It was very simple, I used wsimport tool that generated all necessary classes from WSDL.
But, as I understand, Java 1.3 and Websphere 5 doesn't have such possibility. Words like JAX-WS and JAXB are related to the latest java versions.
Could someone please provide me with some guide (or just advise :)) what should I do?
Thanks in advance!
Some suggestions though I haven't tried them out:
Look into Apache Axis and try
out the tutorials
Read a similar
question for more suggestions in
case the first one doesn't work out
WebSphere 5 does not support Axis. If you have related WebSphere Studio you can easily create SOAP client using wizard. Maybe WebSphere 5 have command line tool like wsimport

Categories

Resources