Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: AXIS 1.4 CommonHTTPSender not compatibility with JAVA 1.7 ? |
|
Author |
|
jitesh.kumar.cgi@gmail.co
Joined: 13 Apr 2015 Posts: 2 Location: india
|
Posted: Tue 14 Apr '15 12:11 Post subject: AXIS 1.4 CommonHTTPSender not compatibility with JAVA 1.7 ? |
|
|
Hi,
My application is a modem activation portal which has the below technologies:
-JAVA 1.6
-TOMCAT 5.5.27
-AXIS 1.4(HTTPSender pivot)
Now, we are moving Java to 1.7 and axis transport pivot to CommonHTTPSender .So. after using JAVA 1.7 and AXIS CommonHTTPSender pivot, we are facing the below errors.
Issue:
For a particular API call of CMS(external system), when we are setting 2 or 3 parameters (name, value pair) , CMS is able to send us correct response. But when we are setting more parameters (name, value pairs), CMS is sending the below response, saying “<b>root cause</b> <pre>org.springframework.ws.soap.saaj.SaajSoapMessageException: Could not access envelope: Unable to create envelope from given source: ; nested exception is com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:”
When we enabled the packet tracing in CMS end, we came to know that the xml is missing “<” at the beginning when it reaches the CMS system .But our log is showing correct xml format.
This particular scenario is intermittent and does not follow any specific pattern.
So, let me know AXIS 1.4 CommonHTTPSender is not compatibility with JAVA 1.7 or we are missing any jars that are required to work in JAVA 1.7 ?.Because the same is working in JAVA 1.6 with no issues.
Below are list of jars used in our application
<dependency>
<groupId>org.apache.axis</groupId>
<artifactId>axis</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>org.apache.axis</groupId>
<artifactId>axis-jaxrpc</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>org.apache.axis</groupId>
<artifactId>axis-saaj</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>wsdl4j</groupId>
<artifactId>wsdl4j</artifactId>
<version>1.5.1</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.8.1</version>
</dependency>
<dependency>
<groupId>xfire</groupId>
<artifactId>wss4j</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.3</version>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>commons-discovery</groupId>
<artifactId>commons-discovery</artifactId>
<version>20040218.194635</version>
<scope>runtime</scope>
</dependency> |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
jitesh.kumar.cgi@gmail.co
Joined: 13 Apr 2015 Posts: 2 Location: india
|
Posted: Fri 17 Apr '15 9:23 Post subject: |
|
|
Hello James,
We are not using spring to send the SOAP request to the web service, instead we are using axis1.4 for that task.
Can JDK1.7 create problems when using axis-1.4.jar's CommonsHttpsSender as Transport Sender for sending the requests? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 17 Apr '15 11:58 Post subject: |
|
|
I don't know that. This is primaly a httpd apache forum. You are one of the few asking axis stuff. |
|
Back to top |
|
|
|
|
|
|