Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
v0.5
-
None
Description
We are trying to register a service with binding information. We could not succeed to include binding information to the service.
The service is registered but there is no binding information within the service.
I am using tcpmon to observe the messages and the request message does not include binding information.
So I think this must be a bug related with JAXR or Scout.
This is the code part adding Service Binding:
Service service = businessLifeCycleManager.createService("Fly Away Airline Reservation Service");
service.setDescription(businessLifeCycleManager.createInternationalString("Flight Reservation Service"));
// Create serviceBinding
ServiceBinding serviceBinding = businessLifeCycleManager.createServiceBinding();
serviceBinding.setDescription(businessLifeCycleManager.
createInternationalString("Information for airline reservation service access"));
//Turn validation of URI off
serviceBinding.setValidateURI(false);
serviceBinding.setAccessURI("http://www.airlinetravel.com:8080/services.reservations.html ");
// Add the serviceBinding to the service
service.addServiceBinding(serviceBinding);
I think this bug is related with `getBusinessServiceFromJAXRService` method of `org.apache.ws.scout.util.ScoutJaxrUddiHelper` class.
It does not add the servicebindings to BusinessService
Regards,
Osman