Solved

Can't invoke any methods from multiple-port webservices

Hi,

We need to invoke FileNet CMIS webservices. As seen in the wsdl, it has multiple port bindings, but when we specify the wsdl in a web service call (or in an interface call), we get methods from only the first port binding which DiscoveryService is. It do not lists the methods from the subsequent port bindings.

Here is an excerpt from the wsdl:

  1. <service name="DiscoveryService">
  2. <port name="DiscoveryServicePort" binding="cmisw:DiscoveryServicePortBinding">
  3. <soap:address location="http://.../cmis/DiscoveryService"/>;
  4. </port>
  5. </service>
  6. <service name="MultiFilingService">
  7. <port name="MultiFilingServicePort" binding="cmisw:MultiFilingServicePortBinding">
  8. <soap:address location="http://.../cmis/MultiFilingService"/>;
  9. </port>
  10. </service>
  11. <service name="NavigationService">
  12. <port name="NavigationServicePort" binding="cmisw:NavigationServicePortBinding">
  13. <soap:address location="http://.../cmis/NavigationService"/>;
  14. </port>
  15. </service>
  16. <service name="ObjectService">
  17. <port name="ObjectServicePort" binding="cmisw:ObjectServicePortBinding">
  18. <soap:address location="http://.../cmis/ObjectService"/>;
  19. </port>
  20. </service>
  21. <service name="PolicyService">
  22. <port name="PolicyServicePort" binding="cmisw:PolicyServicePortBinding">
  23. <soap:address location="http://.../cmis/PolicyService"/>;
  24. </port>
  25. </service>
  26. <service name="RelationshipService">
  27. <port name="RelationshipServicePort" binding="cmisw:RelationshipServicePortBinding">
  28. <soap:address location="http://.../cmis/RelationshipService"/>;
  29. </port>
  30. </service>
  31. <service name="RepositoryService">
  32. <port name="RepositoryServicePort" binding="cmisw:RepositoryServicePortBinding">
  33. <soap:address location="http://.../cmis/RepositoryService"/>;
  34. </port>
  35. </service>
  36. <service name="VersioningService">
  37. <port name="VersioningServicePort" binding="cmisw:VersioningServicePortBinding">
  38. <soap:address location="http://.../cmis/VersioningService"/>;
  39. </port>
  40. </service>
  41. <service name="ACLService">
  42. <port name="ACLServicePort" binding="cmisw:ACLServicePortBinding">
  43. <soap:address location="http://.../cmis/ACLService"/>;
  44. </port>
  45. </service>

And there is the two methods found by Bizagi int the attached pic.

How to solve this problem? How could we call methods from the subsequent port bindings?

Thanks,

Laszlo

Comments (4)

photo
1

Setting the Port Name property of the interface has no effect. It lists the methods always from the first port of the web-service.

Any ideas?

photo
1

Dear Laszlo,

It is possible using our latest 11 version. Check the following image:

09b39dfced80f13ea0e57495932432c5

In case that you are using 10 version, you require to create a component library to support it.

Best Regards

photo
1

Hi Juan,

That's nice! Unfortunately I'm using Java and for the latest version there is no JEE pack yet. Looking forward to it.

Anyway thanks for your answer!

Laszlo

photo
1

Dear Laszlo,

We do not have a release date yet. We recommend to work under 11 version which supports JEE projects.

Regards

photo