Re : sending soap messages asynchronously

2006-06-29 Thread Phani Sekhar








Hi all,

We are
implementing NETCONF on SOAP over HTTP. We are using Axis. 

We require
the Axis web service to send some soap messages asynchronously to the Axis client
without any initiation.

Ofcourse for
the first time, we can register the client at the server. We are trying to
implement something similar to the snmp traps/notifications.

Is is
possible to do this using Axis Does Axis support asynchronous messaging???



Please
help me.



Thanks in
advance

Phani
Sekhar



-Original Message-
From: Phani Sekhar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006
12:47 PM
To: axis-user@ws.apache.org
Subject: sending asynchronous soap
messages



Hi,

Is there any way to send asynchronous soap messages from a webservice in
Axis, something similar to snmp notifications ???



Thanks in Advance

Phani Sekhar








Re: Re : sending soap messages asynchronously

2006-06-29 Thread Deepal Jayasinghe
Axis2 support asynchronous invocation

Phani Sekhar wrote:

 Hi all,

 We are implementing NETCONF on SOAP over HTTP. We are using Axis.

 We require the Axis web service to send some soap messages
 asynchronously to the Axis client without any initiation.

 Ofcourse for the first time, we can register the client at the server.
 We are trying to implement something similar to the snmp
 traps/notifications.

 Is is possible to do this using Axis Does Axis support
 asynchronous messaging???

  

 Please help me.

  

 Thanks in advance

 Phani Sekhar

  

 -Original Message-
 *From:* Phani Sekhar [mailto:[EMAIL PROTECTED]
 *Sent:* Wednesday, June 21, 2006 12:47 PM
 *To:* axis-user@ws.apache.org
 *Subject:* sending asynchronous soap messages

  

 Hi,

 Is there any way to send asynchronous soap messages from a webservice
 in Axis, something similar to snmp notifications ???

  

 Thanks in Advance

 Phani Sekhar


-- 
Thanks,
Deepal

~Future is Open~ 



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



Re: sending soap messages asynchronously

2006-06-29 Thread Anne Thomas Manes
Keep in mind that in order for your Axis client to receive unsolicited messages, it must be a server. And yes, Axis2 supports this type of processing.Anne
On 6/29/06, Phani Sekhar [EMAIL PROTECTED] wrote:
Thank you very much for ur response ...We want the Axis server to first initiate and send one-way messages to theAxis client.Can we configure the Axis2 server in such a way ???~ Phani Sekhar
-Original Message-From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED]]Sent: Thursday, June 29, 2006 1:01 PMTo: 
axis-user@ws.apache.orgSubject: Re: Re : sending soap messages asynchronouslyAxis2 support asynchronous invocationPhani Sekhar wrote: Hi all, We are implementing NETCONF on SOAP over HTTP. We are using Axis.
 We require the Axis web service to send some soap messages asynchronously to the Axis client without any initiation. Ofcourse for the first time, we can register the client at the server.
 We are trying to implement something similar to the snmp traps/notifications. Is is possible to do this using Axis Does Axis support asynchronous messaging???
 Please help me. Thanks in advance Phani Sekhar -Original Message- *From:* Phani Sekhar [mailto:
[EMAIL PROTECTED]] *Sent:* Wednesday, June 21, 2006 12:47 PM *To:* axis-user@ws.apache.org *Subject:* sending asynchronous soap messages
 Hi, Is there any way to send asynchronous soap messages from a webservice in Axis, something similar to snmp notifications ??? Thanks in Advance
 Phani Sekhar--Thanks,Deepal~Future is Open~-
To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: 
[EMAIL PROTECTED]


Re: sending soap messages asynchronously

2006-06-29 Thread Deepal Jayasinghe
Yes  , you can do it with Axis2   :)

Phani Sekhar wrote:

Thank you very much for ur response ...
We want the Axis server to first initiate and send one-way messages to the
Axis client.
Can we configure the Axis2 server in such a way ???

~ Phani Sekhar



-Original Message-
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 29, 2006 1:01 PM
To: axis-user@ws.apache.org
Subject: Re: Re : sending soap messages asynchronously

Axis2 support asynchronous invocation

Phani Sekhar wrote:

  

Hi all,

We are implementing NETCONF on SOAP over HTTP. We are using Axis.

We require the Axis web service to send some soap messages
asynchronously to the Axis client without any initiation.

Ofcourse for the first time, we can register the client at the server.
We are trying to implement something similar to the snmp
traps/notifications.

Is is possible to do this using Axis Does Axis support
asynchronous messaging???



Please help me.



Thanks in advance

Phani Sekhar



-Original Message-
*From:* Phani Sekhar [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, June 21, 2006 12:47 PM
*To:* axis-user@ws.apache.org
*Subject:* sending asynchronous soap messages



Hi,

Is there any way to send asynchronous soap messages from a webservice
in Axis, something similar to snmp notifications ???



Thanks in Advance

Phani Sekhar




--
Thanks,
Deepal

~Future is Open~



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

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



  


-- 
Thanks,
Deepal

~Future is Open~ 




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



Sending SOAP Messages

2005-04-26 Thread Rakesh Lakshminarayana
I am looking for starting code that can send SOAP Messages using AXIS.
If you have any then please do share it with me at [EMAIL PROTECTED] 
 Thank You.

Given Parameters
Server Address: http://www.ripedev.com/webservices/ZipCode.asmx
SOAPAction: http://ripedev.com/webservices/CityToZipCode
SOAP Message:: 
?xml version=1.0 encoding=UTF-8
standalone=no?SOAP-ENV:Envelope
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:http=http://schemas.xmlsoap.org/wsdl/http/;
xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
xmlns:s=http://www.w3.org/2001/XMLSchema;
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;
xmlns:tns=http://ripedev.com/webservices/;
xmlns:tm=http://microsoft.com/wsdl/mime/textMatching/;
xmlns:mime=http://schemas.xmlsoap.org/wsdl/mime/;
xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
SOAP-ENV:Bodytns:CityToZipCode
xmlns:tns=http://ripedev.com/webservices/;tns:Cityatlanta/tns:City/tns:CityToZipCode


Re: Sending SOAP Messages

2005-04-26 Thread Rakesh Lakshminarayana
I modified one of the samples (misc/TestClient.java). On first look It
seems to work. I am listing the code here. Is there an easy way, given
a wsdl and a method name, to generate Server Address, SOAPAction and
SOAP Message?

   public static String msg = ?xml version=\1.0\ encoding=\utf-8\? +
 soap:Envelope
xmlns:xsi=\http://www.w3.org/2001/XMLSchema-instance\;
xmlns:xsd=\http://www.w3.org/2001/XMLSchema\;
xmlns:soap=\http://schemas.xmlsoap.org/soap/envelope/\;  +
soap:Body  +
CityToZipCode xmlns=\http://ripedev.com/webservices/\;  +
Cityatlanta/City  +
/CityToZipCode  +
/soap:Body  +
/soap:Envelope; 

public static String doTest (String args[], String op) throws Exception {
  Options  opts= new Options( args );
  String   url = http://www.ripedev.com/webservices/ZipCode.asmx;;
  String   soapAction  =
http://ripedev.com/webservices/CityToZipCode; ;

  if (op != null) soapAction = op;

  args = opts.getRemainingArgs();
  if ( args != null ) soapAction = args[0];

  InputStream   input   = new ByteArrayInputStream(msg.getBytes());
  Service   service = new Service();
  Call  call= (Call) service.createCall();
  SOAPEnvelope  env = new SOAPEnvelope(input);

  call.setTargetEndpointAddress( new URL(url) );
  if (soapAction != null) {
  call.setUseSOAPAction( true );
  call.setSOAPActionURI( soapAction );
  }

  System.out.println( Request:\n + msg );

  env = call.invoke( env );

  System.out.println( Response:\n + env.toString() );
  return( env.toString() );
}

Thanks,
Rakesh

On 4/26/05, Plorks mail [EMAIL PROTECTED] wrote:
 
 
 Have you found any help yet?
 
 I'm looking to do soemthing similar and very stuck
 
 From: Rakesh Lakshminarayana [EMAIL PROTECTED]
 Reply-To: Rakesh Lakshminarayana [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Subject: Sending SOAP Messages
 Date: Tue, 26 Apr 2005 09:48:40 -0400
 
 I am looking for starting code that can send SOAP Messages using AXIS.
 If you have any then please do share it with me at [EMAIL PROTECTED]
   Thank You.
 
 Given Parameters
 Server Address: http://www.ripedev.com/webservices/ZipCode.asmx
 SOAPAction: http://ripedev.com/webservices/CityToZipCode
 SOAP Message::
 ?xml version=1.0 encoding=UTF-8
 standalone=no?SOAP-ENV:Envelope
 xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
 xmlns:http=http://schemas.xmlsoap.org/wsdl/http/;
 xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
 xmlns:s=http://www.w3.org/2001/XMLSchema;
 xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;
 xmlns:tns=http://ripedev.com/webservices/;
 xmlns:tm=http://microsoft.com/wsdl/mime/textMatching/;
 xmlns:mime=http://schemas.xmlsoap.org/wsdl/mime/;
 xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  SOAP-ENV:Bodytns:CityToZipCode
 xmlns:tns=http://ripedev.com/webservices/;tns:Cityatlanta/tns:City/tns:CityToZipCode
 
 _
 Be the first to hear what's new at MSN - sign up to our free newsletters!
 http://www.msn.co.uk/newsletters