[ 
https://issues.apache.org/jira/browse/JUDDI-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15005447#comment-15005447
 ] 

Alex O'Ree commented on JUDDI-941:
----------------------------------

The only problem is that the JAXWS runtime varies wildly for every environment 
and I don't believe this is a universal way to do what you're asking. I've 
tried for another project that monitors runtime performance of JAXWS services. 
In order avoid adding unnecessary dependencies, it would have to be a 
reflection based activity. Even at that, the projected endpoint returned by the 
SOAP stack may not be remotely accessible, such as a load balanced URL. If you 
have a solution for this, I'm all ears and will gladly merge anything to make 
our lives easier.

> Dynamic discovery of web service endpoint
> -----------------------------------------
>
>                 Key: JUDDI-941
>                 URL: https://issues.apache.org/jira/browse/JUDDI-941
>             Project: jUDDI
>          Issue Type: Improvement
>          Components: juddi-client
>    Affects Versions: 3.3.1
>            Reporter: Matthieu Ghilain
>              Labels: SOAP, discovery, dynamic, endpoint, juddi
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Here is the example from the JUDDI documentation:
> {code:title=HelloWorldImpl .java|borderStyle=solid}
> @UDDIService(
>   businessKey="uddi:myBusinessKey",
>   serviceKey="uddi:myServiceKey",
>   description = "Hello World test service")
> @UDDIServiceBinding(
>   bindingKey="uddi:myServiceBindingKey",
>   description="WSDL endpoint for the helloWorld Service. This service is used 
> for "
>                                 + "testing the jUDDI annotation 
> functionality",
>   accessPointType="wsdlDeployment",
>   
> accessPoint="http://localhost:8080/juddiv3-samples/services/helloworld?wsdl";)
> @WebService(
>   endpointInterface = "org.apache.juddi.samples.HelloWorld",
>   serviceName = "HelloWorld")
> public class HelloWorldImpl implements HelloWorld {
>     public String sayHi(String text) {
>         System.out.println("sayHi called");
>         return "Hello " + text;
>     }
> }
> {code}
> The problem with this kind of registration is that it is still static. The 
> accessPoint should be resolved dynamically at runtime. Otherwise it is not 
> possible to spawn new service instances dynamically and to scale. This in my 
> opinion should be part of the JUDDI features.
> What do you think?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to