Hi,
 
I have a service that is located via a wsa:EndpointReference.  The
EndpointReference is defined to have a URI as well as several reference
parameters.  Is there an example somewhere that shows how to call this
type of service using this complex EndpointReference?
 
I noticed that in the generated client stubs, the constructors take in a
"String targetEndpoint".  But, there's no constructor that takes in an
EndpointReference.  I thought I could add such a constructor myself, but
I don't think it would work because the SOAP envelope is only created in
the actual service operation/methods.  So I think I'd have to modify the
service methods to manually add the EndpointReference parameters to the
SOAP header right before making the remote call.  The problem though is
that if my service has 20 operations, I'd have to update all those stub
methods, and I don't think this is a clean/feasible approach.
 
I was wondering if there's a better way to support this complex
EndpointReference in Axis2?  Any help is appreciated!
 
Aloha,
-Vinh
 

Reply via email to