Skip to Content
0
Former Member
Oct 08, 2013 at 03:37 PM

BindingProvider.ENDPOINT_ADDRESS_PROPERTY does not work

150 Views

I am using the following method to get the endpoint url in my DIR API program. However the method retruns the only a '/'. I have downloaded the wsdl in NWDS using Enterprise Repository.

String endpointAddress = (String) context

.get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);

System.out.println(endpointAddress);

Output is "/" only.

.

.

.

.

.

.

Figured out the endpoint in the Java proxy is missing. Not sure why??

I imported the wsdl using service registry...so the end points should have created automatically right??

One more thing that I observed is the for ChangeList service I see four entries in ws navigator:

But when i import the wsdl through service registry, I see only one entry:

In my dir api program I am using the one through wervice registry...am i on the right path...cause i read somehwere that wsdl name ending with 'Ln' means old wsdl and the one with 'Vi' means new.

Please advice.

Attachments

Capture2.JPG (130.6 kB)
Capture1.JPG (114.9 kB)
Capture3.JPG (148.0 kB)