Evgeniy Vyborov wrote:
Hi folks.
I'm new to Axis 2.
Now I'm trying to implement wsdl-based generic web service client.
The logic of this client is simple: user loads *.wsdl file from
somewhere, chooses service, port, operation, sets input parameter
values. Then user can invoke this service with chosen parameters.
Is it possible to implement completely generic web service client
using Axis2?
For now, I understand how to invoke web services with SOAP and SOAP
1.2 ports.
But I can't invoke web service with ports like these (http GET and POST):
...
<wsdl:port name="CurrencyConvertorHttpGet"
binding="tns:CurrencyConvertorHttpGet">
<http:address
location="http://www.webservicex.net/CurrencyConvertor.asmx"/>
</wsdl:port>
<wsdl:port name="CurrencyConvertorHttpPost"
binding="tns:CurrencyConvertorHttpPost">
<http:address
location="http://www.webservicex.net/CurrencyConvertor.asmx"/>
</wsdl:port>
...
Is it possible to invoke services with such ports with Axis2?
Yes. Please try the following URL.
http://www.webservicex.net/CurrencyConvertor.asmx/ConversionRate?Fromcurrency=CAD&Tocurrency=BND
P.S.: it would be great if you prompt me to some examples with SMTP,
JMS and other services invocation
The following references will help you.
http://ws.apache.org/axis2/1_3/jms-transport.html
http://ws.apache.org/axis2/1_3/mail-transport.html
Thanks for your answers!
Regards,
Eugene
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
Charitha Kankanamge
WSO2 inc.
Flower Road, Colombo 07
+94 714268070
A bug in the hand is better than one as yet undetected
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]