axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22620] - Axis 1.1 final: style="document", generates an error when deployed
Date Wed, 27 Aug 2003 17:02:08 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22620>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22620

Axis 1.1 final: style="document", generates an error when deployed





------- Additional Comments From afindlay@austin.rr.com  2003-08-27 17:02 -------
Dermot,

I'm seeing this problem too.  Can you provide more details on what you are doing?

Our deploy.wsdd file seems to be the same.  What/how are you trying to use the
document style on?  Here are my classes  (I'm just trying to modify example1 in
the userguide...):

package samples.userguide.example1;

public class EchoServer {

    public String echoString(String str) {
        return str;
    }
}


Here's my client which is just the TestClient class slightly modified to point
at my machine...

package samples.userguide.example1;

import org.apache.axis.client.Call;
import org.apache.axis.client.Service;

import javax.xml.namespace.QName;

public class TestClient
{
   public static void main(String [] args) {
       try {
           String endpoint =
                    "http://localhost:8081/axis/services/EchoServer";

           Service  service = new Service();
           Call     call    = (Call) service.createCall();

           call.setTargetEndpointAddress( new java.net.URL(endpoint) );
           call.setOperationName(new QName("http://soapinterop.org/",
"echoSentString") );

           // Call to addParameter/setReturnType as described in user-guide.html
                                                    
           //call.addParameter("testParam",                                    
                                                     
           //                  org.apache.axis.Constants.XSD_STRING,           
                                                     
           //                  javax.xml.rpc.ParameterMode.IN);                
                                                     
           //call.setReturnType(org.apache.axis.Constants.XSD_STRING);         
                                                     
           String ret = (String) call.invoke( new Object[] { args[0] } );
           System.out.println("Sent '"+args[0]+"!', got '" + ret + "'");
       } catch (Exception e) {
           System.err.println(e.toString());
       }
   }
}


Could this be user error on our part?

Mime
View raw message