cancel
Showing results for 
Search instead for 
Did you mean: 

BindingProvider.ENDPOINT_ADDRESS_PROPERTY does not work

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

fatih_eren
Explorer
0 Kudos

Hello Vicky,

have you resolve the Problem with the BindingProvider?

Since Upgrade the PI Service Package, I have the same Problem.