HI Edgar,
Please keep using the mailing list; you will reach a larger user group
that can help, and that way other people will benefit later from it to
when they run into the same issue.
Check out the simple-publish example:
http://svn.apache.org/repos/asf/juddi/trunk/juddi-examples/simple-publish/src/main/java/org/apache/juddi/example/publish/SimplePublish.java
This section:
// Add binding templates, etc...
BindingTemplate myBindingTemplate = new
BindingTemplate();
AccessPoint accessPoint = new AccessPoint();
accessPoint.setUseType(AccessPointType.WSDL_DEPLOYMENT.toString());
accessPoint.setValue("http://example.org/services/myservice?wsdl");
myBindingTemplate.setAccessPoint(accessPoint);
BindingTemplates myBindingTemplates = new
BindingTemplates();
myBindingTemplates.getBindingTemplate().add(myBindingTemplate);
myService.setBindingTemplates(myBindingTemplates);
I hope this is what you are looking for.
Also check out the simple-browse example for the reverse.
These example will be part of the bundle in the next release:
http://svn.apache.org/repos/asf/juddi/trunk/juddi-examples/
--Kurt
On 3/8/13 11:51 AM, Edgar Orduña wrote:
Hi Kurt
Do you know where can i get the URL of the WSDL or how can i get?
Do you have any example code?
thanks