Hi,

I'm learning how to use Axis, and have gotten stumped on how to pass XML 
documents/elements between Axis and .NET.  I wrote a *very* simple echo 
program (attached) that gets an Element as an argument and then returns 
it.  This works fine if I have a Java Client on this Axis webservice.

However, if I try to use it from .NET, .NET doesn't seem to recognize 
the  "public Element sayHello(Element element)" method that is in the 
webservice.

I'm sure that my problem is obvious and very basic, but I don't 
understand what it is.  I thought the Element class was a basic XML type 
and that .NET should recognize it (the generated WSDL looks ok).  Any 
help or hints would be appreciated.

tia,

Bob Evans
package edu.jhuapl.test;

import org.apache.axis.MessageContext;
import org.w3c.dom.Element;
import java.util.Vector;

public class HelloWorld4 {
    public Element sayHello(Element element) {
        return element;
    }

}// HelloWorld

Reply via email to