<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Axis2 port missing method? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/axis2-port-missing-method/m-p/4431801#M58222</link>
    <description>I have a class which extends org.apache.axis2.client.Stub&lt;BR /&gt;&lt;BR /&gt;This class uses the addAnonymousOperations() method, which works fine on my Vista box and is also present in this Axis2 API: &lt;A href="http://www.docjar.com/docs/api/org/apache/axis2/client/Stub.html#addAnonymousOperations" target="_blank"&gt;http://www.docjar.com/docs/api/org/apache/axis2/client/Stub.html#addAnonymousOperations&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But on OpenVMS running the jar with that class in it gives me this error:&lt;BR /&gt;&lt;BR /&gt;java.lang.NoSuchMethodError: org.redacted.myStub.addAnonymousOperations()V&lt;BR /&gt;&lt;BR /&gt;After confirming that the expected axis2 .jar was present and on the classpath, I wrote a jartester:&lt;BR /&gt;&lt;BR /&gt;--------------------------&lt;BR /&gt;-------------------------------------------------&lt;BR /&gt;import java.lang.reflect.Method;&lt;BR /&gt;&lt;BR /&gt;public class JarTester {&lt;BR /&gt;&lt;BR /&gt;public static void main(String [] args)&lt;BR /&gt;throws java.lang.ClassNotFoundException, java.lang.NoSuchMethodException&lt;BR /&gt;{&lt;BR /&gt;Class obj =  Class.forName("org.apache.axis2.client.Stub");&lt;BR /&gt;Method [] methods = obj.getDeclaredMethods();&lt;BR /&gt;for (int i=0;i&lt;METHODS.LENGTH&gt;&lt;/METHODS.LENGTH&gt;       System.out.println(methods[i]);&lt;BR /&gt;System.out.println(obj.getSuperclass() + ": superclass");&lt;BR /&gt;System.out.println(obj.getPackage() + ": package");&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;--------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;I get this :&lt;BR /&gt;------------------------------------------------&lt;BR /&gt;protected void org.apache.axis2.client.Stub.finalize() throws&lt;BR /&gt;java.lang.Throwable&lt;BR /&gt;protected static org.apache.axiom.soap.SOAPFactory&lt;BR /&gt;org.apache.axis2.client.Stub.getFactory(java.lang.String)&lt;BR /&gt;public void org.apache.axis2.client.Stub.cleanup() throws&lt;BR /&gt;org.apache.axis2.AxisFault&lt;BR /&gt;public org.apache.axis2.client.ServiceClient&lt;BR /&gt;org.apache.axis2.client.Stub._getServiceClient()&lt;BR /&gt;public void org.apache.axis2.client.Stub._setServiceClient(org.apache.axis2.client.ServiceClient)&lt;BR /&gt;protected static org.apache.axiom.soap.SOAPEnvelope&lt;BR /&gt;org.apache.axis2.client.Stub.createEnvelope(org.apache.axis2.client.Options)&lt;BR /&gt;throws org.apache.axiom.soap.SOAPProcessingException&lt;BR /&gt;protected void org.apache.axis2.client.Stub.setServiceClientEPR(java.lang.String)&lt;BR /&gt;protected void org.apache.axis2.client.Stub.addHttpHeader(org.apache.axis2.context.MessageContext,java.lang.String,java.lang.String)&lt;BR /&gt;protected void org.apache.axis2.client.Stub.addPropertyToOperationClient(org.apache.axis2.client.OperationClient,java.lang.String,java.lang.Object)&lt;BR /&gt;protected void org.apache.axis2.client.Stub.addPropertyToOperationClient(org.apache.axis2.client.OperationClient,java.lang.String,boolean)&lt;BR /&gt;protected void org.apache.axis2.client.Stub.addPropertyToOperationClient(org.apache.axis2.client.OperationClient,java.lang.String,int)&lt;BR /&gt;protected void org.apache.axis2.client.Stub.setMustUnderstand(org.apache.axiom.om.OMElement,org.apache.axiom.om.OMNamespace)&lt;BR /&gt;protected void org.apache.axis2.client.Stub.addHeader(org.apache.axiom.om.OMElement,org.apache.axiom.soap.SOAPEnvelope,boolean)&lt;BR /&gt;protected void org.apache.axis2.client.Stub.addHeader(org.apache.axiom.om.OMElement,org.apache.axiom.soap.SOAPEnvelope)&lt;BR /&gt;class java.lang.Object: superclass&lt;BR /&gt;package org.apache.axis2.client: package&lt;BR /&gt;&lt;BR /&gt;-----------------------------------------------&lt;BR /&gt;&lt;BR /&gt;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...&lt;BR /&gt;&lt;BR /&gt;Can someone point me in a useful direction?  Perhaps I'm tired and have missed something that's glaringly obvious to fresh eyes?&lt;BR /&gt;&lt;BR /&gt;- Shasta&lt;BR /&gt;</description>
    <pubDate>Wed, 03 Jun 2009 05:11:57 GMT</pubDate>
    <dc:creator>Shasta Willson</dc:creator>
    <dc:date>2009-06-03T05:11:57Z</dc:date>
    <item>
      <title>Axis2 port missing method?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/axis2-port-missing-method/m-p/4431801#M58222</link>
      <description>I have a class which extends org.apache.axis2.client.Stub&lt;BR /&gt;&lt;BR /&gt;This class uses the addAnonymousOperations() method, which works fine on my Vista box and is also present in this Axis2 API: &lt;A href="http://www.docjar.com/docs/api/org/apache/axis2/client/Stub.html#addAnonymousOperations" target="_blank"&gt;http://www.docjar.com/docs/api/org/apache/axis2/client/Stub.html#addAnonymousOperations&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But on OpenVMS running the jar with that class in it gives me this error:&lt;BR /&gt;&lt;BR /&gt;java.lang.NoSuchMethodError: org.redacted.myStub.addAnonymousOperations()V&lt;BR /&gt;&lt;BR /&gt;After confirming that the expected axis2 .jar was present and on the classpath, I wrote a jartester:&lt;BR /&gt;&lt;BR /&gt;--------------------------&lt;BR /&gt;-------------------------------------------------&lt;BR /&gt;import java.lang.reflect.Method;&lt;BR /&gt;&lt;BR /&gt;public class JarTester {&lt;BR /&gt;&lt;BR /&gt;public static void main(String [] args)&lt;BR /&gt;throws java.lang.ClassNotFoundException, java.lang.NoSuchMethodException&lt;BR /&gt;{&lt;BR /&gt;Class obj =  Class.forName("org.apache.axis2.client.Stub");&lt;BR /&gt;Method [] methods = obj.getDeclaredMethods();&lt;BR /&gt;for (int i=0;i&lt;METHODS.LENGTH&gt;&lt;/METHODS.LENGTH&gt;       System.out.println(methods[i]);&lt;BR /&gt;System.out.println(obj.getSuperclass() + ": superclass");&lt;BR /&gt;System.out.println(obj.getPackage() + ": package");&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;--------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;I get this :&lt;BR /&gt;------------------------------------------------&lt;BR /&gt;protected void org.apache.axis2.client.Stub.finalize() throws&lt;BR /&gt;java.lang.Throwable&lt;BR /&gt;protected static org.apache.axiom.soap.SOAPFactory&lt;BR /&gt;org.apache.axis2.client.Stub.getFactory(java.lang.String)&lt;BR /&gt;public void org.apache.axis2.client.Stub.cleanup() throws&lt;BR /&gt;org.apache.axis2.AxisFault&lt;BR /&gt;public org.apache.axis2.client.ServiceClient&lt;BR /&gt;org.apache.axis2.client.Stub._getServiceClient()&lt;BR /&gt;public void org.apache.axis2.client.Stub._setServiceClient(org.apache.axis2.client.ServiceClient)&lt;BR /&gt;protected static org.apache.axiom.soap.SOAPEnvelope&lt;BR /&gt;org.apache.axis2.client.Stub.createEnvelope(org.apache.axis2.client.Options)&lt;BR /&gt;throws org.apache.axiom.soap.SOAPProcessingException&lt;BR /&gt;protected void org.apache.axis2.client.Stub.setServiceClientEPR(java.lang.String)&lt;BR /&gt;protected void org.apache.axis2.client.Stub.addHttpHeader(org.apache.axis2.context.MessageContext,java.lang.String,java.lang.String)&lt;BR /&gt;protected void org.apache.axis2.client.Stub.addPropertyToOperationClient(org.apache.axis2.client.OperationClient,java.lang.String,java.lang.Object)&lt;BR /&gt;protected void org.apache.axis2.client.Stub.addPropertyToOperationClient(org.apache.axis2.client.OperationClient,java.lang.String,boolean)&lt;BR /&gt;protected void org.apache.axis2.client.Stub.addPropertyToOperationClient(org.apache.axis2.client.OperationClient,java.lang.String,int)&lt;BR /&gt;protected void org.apache.axis2.client.Stub.setMustUnderstand(org.apache.axiom.om.OMElement,org.apache.axiom.om.OMNamespace)&lt;BR /&gt;protected void org.apache.axis2.client.Stub.addHeader(org.apache.axiom.om.OMElement,org.apache.axiom.soap.SOAPEnvelope,boolean)&lt;BR /&gt;protected void org.apache.axis2.client.Stub.addHeader(org.apache.axiom.om.OMElement,org.apache.axiom.soap.SOAPEnvelope)&lt;BR /&gt;class java.lang.Object: superclass&lt;BR /&gt;package org.apache.axis2.client: package&lt;BR /&gt;&lt;BR /&gt;-----------------------------------------------&lt;BR /&gt;&lt;BR /&gt;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...&lt;BR /&gt;&lt;BR /&gt;Can someone point me in a useful direction?  Perhaps I'm tired and have missed something that's glaringly obvious to fresh eyes?&lt;BR /&gt;&lt;BR /&gt;- Shasta&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jun 2009 05:11:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/axis2-port-missing-method/m-p/4431801#M58222</guid>
      <dc:creator>Shasta Willson</dc:creator>
      <dc:date>2009-06-03T05:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Axis2 port missing method?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/axis2-port-missing-method/m-p/4431802#M58223</link>
      <description>&amp;gt;&amp;gt;&amp;gt; Axis2 port missing method?&lt;BR /&gt;&lt;BR /&gt;Unlikely. It seems to be a native java class, so there is nothing "ported" to VMS.&lt;BR /&gt;&lt;BR /&gt;AXIS2 for VMS is based on "Apache Axis2 1.3 build  (10-08-2007)". addAnonymousOperations() looks like a 1.4 method.</description>
      <pubDate>Wed, 03 Jun 2009 11:20:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/axis2-port-missing-method/m-p/4431802#M58223</guid>
      <dc:creator>H.Becker</dc:creator>
      <dc:date>2009-06-03T11:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Axis2 port missing method?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/axis2-port-missing-method/m-p/4431803#M58224</link>
      <description>What are you talking about?  addAnonymousOperations() is part of the org.apache.axis2.client.Stub class.&lt;BR /&gt;&lt;BR /&gt;At least in some builds -- this morning I found others discussing this as a version specific bug in axis2: &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://issues.apache.org/jira/browse/AXIS2-3658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;amp;focusedCommentId=12617677#action_12617677" target="_blank"&gt;https://issues.apache.org/jira/browse/AXIS2-3658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;amp;focusedCommentId=12617677#action_12617677&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;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</description>
      <pubDate>Wed, 03 Jun 2009 14:20:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/axis2-port-missing-method/m-p/4431803#M58224</guid>
      <dc:creator>Shasta Willson</dc:creator>
      <dc:date>2009-06-03T14:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Axis2 port missing method?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/axis2-port-missing-method/m-p/4431804#M58225</link>
      <description>Ah...I just figured out your answer -- that since the files are pure-Java there shouldn't be a porting problem.&lt;BR /&gt;&lt;BR /&gt;Agreed, except that Axis2 for VMS is described as a port ( &lt;A href="http://www.openvms.compaq.com/openvms/products/ips/axis2/" target="_blank"&gt;http://www.openvms.compaq.com/openvms/products/ips/axis2/&lt;/A&gt; ) which suggests it wasn't just plunked over, but edited, pure Java or not.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jun 2009 14:35:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/axis2-port-missing-method/m-p/4431804#M58225</guid>
      <dc:creator>Shasta Willson</dc:creator>
      <dc:date>2009-06-03T14:35:37Z</dc:date>
    </item>
  </channel>
</rss>

