hello friends,
                 I am wrote a WebService client as below
[code]
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;

import javax.xml.namespace.QName;

public class AtmuClient
{
        public static void main(String [] args) {
               try {
                        String req="request";
                   String endpoint ="http://10.1.3.104/mims/service.asmx?WSDL";;
                   String nameSpaceUri = "http://www.cum.com/MIMS";;
                   
                   Service  service = new Service();
                   Call     call    = (Call) service.createCall();

                   call.setTargetEndpointAddress( new java.net.URL(endpoint) );
                   call.setOperationName(new QName(nameSpaceUri, "echoString") 
);

                   String ret = (String) call.invoke( new Object[] { req } );
                   System.out.println("Sent 'Hello!', got '" + ret + "'");

               } catch (Exception e) {
                   System.err.println(e.toString());
               }
           }
        
}

[/code]

the out put I am getting is

[code]
Server did not recognize the value of HTTP Header SOAPAction: .
[/code]


what still I need to incorporate to my code. Do i need to add any methods
still ? and one more thing is do i need to write WSDD for this? how ?. can
any bady guide me 

thanQ for any greatful guidance.
Ajay.
-- 
View this message in context: 
http://www.nabble.com/Server-did-not-recognize-the-value-of-HTTP-Header-SOAPAction%3A-.-tp14797293p14797293.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to