User login

Axis2 ServiceClient to invoke web services (how to pull artifacts from Repository)

Forums :

I am using Axis2 and the ServiceClient to do dynamic web service invocation (without stubs). So currently I point the client to the wsdl that is deployed on the ESB. I want to use the Registry for all of its benefits, but I assume that I would also want to point my client to utilize the wsdl referenced in the Registry and not the ESB. How do I do this? What url do I use to reference the remote artifact (wsdl) from my service client?

Thanks - jay

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I did see that if I modified

I did see that if I modified the WSO2 Registry URL from web to resources, that I could actually see the resource. So do I use that resource url as my wsdl url in creating a ServiceClient, for instance: /wso2registry/resources/SampleProxyService.wsdl;version=11

Thanks - jay

Yes you are right

Yes , as you have mentioned you can use that as the wsdl url.

Thank you!
Deepal

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.