Skip to Content
avatar image
Former Member

BindingProvider.ENDPOINT_ADDRESS_PROPERTY does not work

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.

Capture2.JPG (130.6 kB)
Capture1.JPG (114.9 kB)
Capture3.JPG (148.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 14, 2015 at 09:29 AM

    Hello Vicky,

    have you resolve the Problem with the BindingProvider?

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

    Add comment
    10|10000 characters needed characters exceeded