Hi,
 
I am new into the world of Web Services and I have some questions
 
1) I am trying to expose a Java notification system as a Web Service.
 
2) I only want to expose one class of my application with its public methods( publish/subscribe methods) as a Web service.
 
3) This class is called EventService and its methods (publish/subscribe) get parameters of type Event, Publisher, Filter.... 
 
For example, in the following, the parameters to the publish method are (Event eventType, Filter filter, Subscriber sub), but I am getting anyType.
 
 
<wsdl:message name="subscribeRequest">
  <wsdl:part name="in0" type="xsd:anyType" />
  <wsdl:part name="in1" type="xsd:anyType" />
  <wsdl:part name="in2" type="tns1:Subscriber" />
</wsdl:message>
 
This means when I create stubs from thhe EventService.wsdl, the publish method has parameters of (Object, Object, Subscriber).
 
How can I get the same parameter types like what I had in my original publish method (i.e, Event eventType, Filter filter, Subscriber sub) ? I want to get the same paramter types for my client stubs.
 
Thank you very much in advance,
 
--Bahman
 
 

Reply via email to