- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Axis2 port missing method?
Operating System - OpenVMS
1748286
Members
3775
Online
108761
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 10:11 PM
тАО06-02-2009 10:11 PM
Axis2 port missing method?
I have a class which extends org.apache.axis2.client.Stub
This class uses the addAnonymousOperations() method, which works fine on my Vista box and is also present in this Axis2 API: http://www.docjar.com/docs/api/org/apache/axis2/client/Stub.html#addAnonymousOperations
But on OpenVMS running the jar with that class in it gives me this error:
java.lang.NoSuchMethodError: org.redacted.myStub.addAnonymousOperations()V
After confirming that the expected axis2 .jar was present and on the classpath, I wrote a jartester:
--------------------------
-------------------------------------------------
import java.lang.reflect.Method;
public class JarTester {
public static void main(String [] args)
throws java.lang.ClassNotFoundException, java.lang.NoSuchMethodException
{
Class obj = Class.forName("org.apache.axis2.client.Stub");
Method [] methods = obj.getDeclaredMethods();
for (int i=0;i System.out.println(methods[i]);
System.out.println(obj.getSuperclass() + ": superclass");
System.out.println(obj.getPackage() + ": package");
}
}
--------------------------------------------------
I get this :
------------------------------------------------
protected void org.apache.axis2.client.Stub.finalize() throws
java.lang.Throwable
protected static org.apache.axiom.soap.SOAPFactory
org.apache.axis2.client.Stub.getFactory(java.lang.String)
public void org.apache.axis2.client.Stub.cleanup() throws
org.apache.axis2.AxisFault
public org.apache.axis2.client.ServiceClient
org.apache.axis2.client.Stub._getServiceClient()
public void org.apache.axis2.client.Stub._setServiceClient(org.apache.axis2.client.ServiceClient)
protected static org.apache.axiom.soap.SOAPEnvelope
org.apache.axis2.client.Stub.createEnvelope(org.apache.axis2.client.Options)
throws org.apache.axiom.soap.SOAPProcessingException
protected void org.apache.axis2.client.Stub.setServiceClientEPR(java.lang.String)
protected void org.apache.axis2.client.Stub.addHttpHeader(org.apache.axis2.context.MessageContext,java.lang.String,java.lang.String)
protected void org.apache.axis2.client.Stub.addPropertyToOperationClient(org.apache.axis2.client.OperationClient,java.lang.String,java.lang.Object)
protected void org.apache.axis2.client.Stub.addPropertyToOperationClient(org.apache.axis2.client.OperationClient,java.lang.String,boolean)
protected void org.apache.axis2.client.Stub.addPropertyToOperationClient(org.apache.axis2.client.OperationClient,java.lang.String,int)
protected void org.apache.axis2.client.Stub.setMustUnderstand(org.apache.axiom.om.OMElement,org.apache.axiom.om.OMNamespace)
protected void org.apache.axis2.client.Stub.addHeader(org.apache.axiom.om.OMElement,org.apache.axiom.soap.SOAPEnvelope,boolean)
protected void org.apache.axis2.client.Stub.addHeader(org.apache.axiom.om.OMElement,org.apache.axiom.soap.SOAPEnvelope)
class java.lang.Object: superclass
package org.apache.axis2.client: package
-----------------------------------------------
Notice that it confirms the package I'm looking at is org.apache.axis2.client, however there is NO method in there by the desired name, and that the parent is Object, so it's not from up the chain. It's like the Vista port just missed that method...
Can someone point me in a useful direction? Perhaps I'm tired and have missed something that's glaringly obvious to fresh eyes?
- Shasta
This class uses the addAnonymousOperations() method, which works fine on my Vista box and is also present in this Axis2 API: http://www.docjar.com/docs/api/org/apache/axis2/client/Stub.html#addAnonymousOperations
But on OpenVMS running the jar with that class in it gives me this error:
java.lang.NoSuchMethodError: org.redacted.myStub.addAnonymousOperations()V
After confirming that the expected axis2 .jar was present and on the classpath, I wrote a jartester:
--------------------------
-------------------------------------------------
import java.lang.reflect.Method;
public class JarTester {
public static void main(String [] args)
throws java.lang.ClassNotFoundException, java.lang.NoSuchMethodException
{
Class obj = Class.forName("org.apache.axis2.client.Stub");
Method [] methods = obj.getDeclaredMethods();
for (int i=0;i
System.out.println(obj.getSuperclass() + ": superclass");
System.out.println(obj.getPackage() + ": package");
}
}
--------------------------------------------------
I get this :
------------------------------------------------
protected void org.apache.axis2.client.Stub.finalize() throws
java.lang.Throwable
protected static org.apache.axiom.soap.SOAPFactory
org.apache.axis2.client.Stub.getFactory(java.lang.String)
public void org.apache.axis2.client.Stub.cleanup() throws
org.apache.axis2.AxisFault
public org.apache.axis2.client.ServiceClient
org.apache.axis2.client.Stub._getServiceClient()
public void org.apache.axis2.client.Stub._setServiceClient(org.apache.axis2.client.ServiceClient)
protected static org.apache.axiom.soap.SOAPEnvelope
org.apache.axis2.client.Stub.createEnvelope(org.apache.axis2.client.Options)
throws org.apache.axiom.soap.SOAPProcessingException
protected void org.apache.axis2.client.Stub.setServiceClientEPR(java.lang.String)
protected void org.apache.axis2.client.Stub.addHttpHeader(org.apache.axis2.context.MessageContext,java.lang.String,java.lang.String)
protected void org.apache.axis2.client.Stub.addPropertyToOperationClient(org.apache.axis2.client.OperationClient,java.lang.String,java.lang.Object)
protected void org.apache.axis2.client.Stub.addPropertyToOperationClient(org.apache.axis2.client.OperationClient,java.lang.String,boolean)
protected void org.apache.axis2.client.Stub.addPropertyToOperationClient(org.apache.axis2.client.OperationClient,java.lang.String,int)
protected void org.apache.axis2.client.Stub.setMustUnderstand(org.apache.axiom.om.OMElement,org.apache.axiom.om.OMNamespace)
protected void org.apache.axis2.client.Stub.addHeader(org.apache.axiom.om.OMElement,org.apache.axiom.soap.SOAPEnvelope,boolean)
protected void org.apache.axis2.client.Stub.addHeader(org.apache.axiom.om.OMElement,org.apache.axiom.soap.SOAPEnvelope)
class java.lang.Object: superclass
package org.apache.axis2.client: package
-----------------------------------------------
Notice that it confirms the package I'm looking at is org.apache.axis2.client, however there is NO method in there by the desired name, and that the parent is Object, so it's not from up the chain. It's like the Vista port just missed that method...
Can someone point me in a useful direction? Perhaps I'm tired and have missed something that's glaringly obvious to fresh eyes?
- Shasta
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2009 04:20 AM
тАО06-03-2009 04:20 AM
Re: Axis2 port missing method?
>>> Axis2 port missing method?
Unlikely. It seems to be a native java class, so there is nothing "ported" to VMS.
AXIS2 for VMS is based on "Apache Axis2 1.3 build (10-08-2007)". addAnonymousOperations() looks like a 1.4 method.
Unlikely. It seems to be a native java class, so there is nothing "ported" to VMS.
AXIS2 for VMS is based on "Apache Axis2 1.3 build (10-08-2007)". addAnonymousOperations() looks like a 1.4 method.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2009 07:20 AM
тАО06-03-2009 07:20 AM
Re: Axis2 port missing method?
What are you talking about? addAnonymousOperations() is part of the org.apache.axis2.client.Stub class.
At least in some builds -- this morning I found others discussing this as a version specific bug in axis2:
https://issues.apache.org/jira/browse/AXIS2-3658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617677#action_12617677
So, looks like it may have more to do with the Axis version than with OpenVMS. I'll be experimenting with commenting out that line and/or judicious replacement of .jars
At least in some builds -- this morning I found others discussing this as a version specific bug in axis2:
https://issues.apache.org/jira/browse/AXIS2-3658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617677#action_12617677
So, looks like it may have more to do with the Axis version than with OpenVMS. I'll be experimenting with commenting out that line and/or judicious replacement of .jars
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2009 07:35 AM
тАО06-03-2009 07:35 AM
Re: Axis2 port missing method?
Ah...I just figured out your answer -- that since the files are pure-Java there shouldn't be a porting problem.
Agreed, except that Axis2 for VMS is described as a port ( http://www.openvms.compaq.com/openvms/products/ips/axis2/ ) which suggests it wasn't just plunked over, but edited, pure Java or not.
Agreed, except that Axis2 for VMS is described as a port ( http://www.openvms.compaq.com/openvms/products/ips/axis2/ ) which suggests it wasn't just plunked over, but edited, pure Java or not.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP