Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis 2 Web Services Eventing - How to call or use at client side

Baseet Ahmed
Ranch Hand
Posts: 225
Java Notepad Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Attention Everyone!

I need a help.
I want to know how can we use a web service thru java client to utilise its services.

Details as follows:
-I have wsdl file with me.
-I want to invoke or use ws eventing of a ready web service made by someone else using Web services Eventing Axis 2.
-I know how can we do invoke method/operations from client, but here the need is to call/use events like node notification, subscribtion etc.
-wsdl sample code is here:
<wsdl:definitions targetNamespace=''
xmlns:soap='' xmlns:tns='' xmlns:wsa='' xmlns:wsdl='' xmlns:wse='' xmlns:xs=''>
<xs:complexType name='nodeNotification'>
<xs:element minOccurs='0' name='event' type='tns:eventType'/>
<xs:element name='isSnmpSupported' type='xs:boolean'/>
<xs:element name='discoveryAnalysisUpdated' type='xs:boolean'/>
<xs:element minOccurs='0' name='updateTime' type='xs:dateTime'/>
<xs:element minOccurs='0' name='discoveryLastCompleted' type='xs:dateTime'/>
<xs:element maxOccurs='unbounded' minOccurs='0' name='customAttributes' nillable='true' type='tns:customAttribute'/>
<wsdl:message name='NodeNotificationMsg'>
<wsdl:part name='arg0' type='tns:nodeNotification'></wsdl:part>
<wsdl:portType name='NodeNotificationSource' wse:EventSource='true'>
<wsdlperation name='NodeNotification'>
<wsdlutput message='tns:NodeNotificationMsg'></wsdlutput>
<wsdl:binding name='NodeNotificationSourceBinding' type='tns:NodeNotificationSource'>
<soap:binding style='rpc' transport=''/>
<wsdlperation name='NodeNotification'>
<soapperation soapAction=''/>
<soap:body use='literal'/>

Please let me know how we can interact(at client side) with above web service event node notification with some sample code.

Thank you.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic