Hi everybody,
I try to develop a jax-rpc client using dynamic proxy client and I got the
fallowing error:
Exception in thread "main" port: {
http://www.test.com/MonitorSvc.wsdl}MonitorSvcPort does not contain
operation: raiseAlarm
at com.sun.xml.rpc.client.dii.ConfiguredCall.configureCall(
ConfiguredCall.java:98)
.........................................................................................................................
here is a snippet from my WSDL description:
................................................
<wsdl:portType name="MonitorSvc">
<wsdl:operation name="raiseAlarm">
<wsdl:input message="tns:raiseAlarmRequest"/>
<wsdl:output message="tns:raiseAlarmResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="MonitorSvcBinding" type="tns:MonitorSvc">
<soap:binding style="document" transport="
http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="raiseAlarm">
<soap:operation soapAction="raiseAlarm" style="document"/>
<wsdl:input>
<soap:body parts="raiseRequest" use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body parts="raiseResponse" use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="MonitorSvcService">
<wsdl:port binding="tns:MonitorSvcBinding" name="MonitorSvcPort">
<soap:address location="
http://localhost:8081/MonitorSvc/Alarm"/>
</wsdl:port>
</wsdl:service>
what I'm doing wrong here? (why doesn't recognize raiseAlarm operation?)
Any suggestion is overcome! thanks