Pls Help - Mule Connect to External Webservices

View: New views
2 Messages — Rating Filter:   Alert me  

Pls Help - Mule Connect to External Webservices

by Murugra :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am new to mule and the I would like to do the following

1. Called an External Webservice(outbound-endpoint).
2. WSDL takes complexType and returns ComplexType.

From Googling, i see lot of discussions around following. Can someone help me

1. CXF vs Axis - Which one should I be using to achieve the my goal. Assuming that WSDL is not avaible online.
2. Some forums talks about writing an axisclient. Is this required?. Or in other words, Should i write a any custom java code(Client APP) to invoke the webservice.

I couldn't find any examples of doing this. Any help or link to examples will be greatly appreciated.

Re: Pls Help - Mule Connect to External Webservices

by Mike Carr-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't know your exact use case. What do you receive on your inbound-endpoint? What should be done with the result?

One way of doing this is first creating a client using wsdl2java and use this as an outbound endpoint:

http://www.mulesource.org/display/MULE2USER/Using+a+Web+Service+Client+as+an+Outbound+Endpoint

In this case you need to provide the correct complex java objects.

If you already receive a soap message on your inbound endpoint, you could also choose to transform this message and send it over an ordinairy http outbound endpoint or use a proxy :
http://www.mulesource.org/display/MULE2USER/Proxying+Web+Services
In this case you are not working with the java objects at all.

It all depends on your use case.

HTH

Regards,
Mario

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email