You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by edwin sch <ed...@gmail.com> on 2013/05/21 20:34:48 UTC

unable to connect with workbench

Hello,
Trying to access my repository using a nightly build of workbench ( tried
16 and 21 may), gives me the error below. I get this error when hitting
"Load Repositories".
I am able to connect using 0.9.0-beta and 0.8.0 . I am using the
webservices binding.
Has something changed in the latest version, or could this be a bug ?

Thanks in advance,
Edwin


> 20:23:49 ERROR hemistry.opencmis.workbench.ClientHelper:
CmisRuntimeException: This service does not provide an endpoint address:
RepositoryService
org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: This
service does not provide an endpoint address: RepositoryService
    at
org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getEndpointUrlFromWsdl(AbstractPortProvider.java:554)
    at
org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.initServiceObject(AbstractPortProvider.java:465)
    at
org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getPortObject(AbstractPortProvider.java:419)
    at
org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getRepositoryServicePort(AbstractPortProvider.java:245)
    at
org.apache.chemistry.opencmis.client.bindings.spi.webservices.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:63)
    at
org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:85)
    at
org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:109)
    at
org.apache.chemistry.opencmis.workbench.model.ClientSession.connect(ClientSession.java:192)
    at
org.apache.chemistry.opencmis.workbench.model.ClientSession.<init>(ClientSession.java:109)
    at
org.apache.chemistry.opencmis.workbench.LoginDialog.createClientSession(LoginDialog.java:285)
    at
org.apache.chemistry.opencmis.workbench.LoginDialog$1.actionPerformed(LoginDialog.java:119)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
> 20:23:49 ERROR hemistry.opencmis.workbench.ClientHelper: Error code: 0

Re: unable to connect with workbench

Posted by edwin sch <ed...@gmail.com>.
Hi Florian,
See the attached wsdl.

Regards,
Edwin


2013/5/23 Florian M�ller <fm...@apache.org>

> Hi Edwin,
>
> Could you open the WSDL in a web browser, save it and and send it?
> We need to see the content of the WSDL for further investigations.
>
>
> - Florian
>
>>
>>>
>

Re: unable to connect with workbench

Posted by Florian Müller <fm...@apache.org>.
 Hi Edwin,

 Your WSDL is slightly different from the original CMIS WSDL. That makes 
 it a bit difficult.
 I need a bit more than this stacktace to track it down. There must be 
 NPE somewhere. Do you have chance to debug that and get the cause of 
 this exception?

 - Florian



> Hi Florian,
> The original errormessage is gone, but now I get :
>
>> 13:41:16 ERROR hemistry.opencmis.workbench.ClientHelper:
> CmisConnectionException: Cannot initalize Web Services service object
> [RepositoryService]: null
> 
> org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException:
> Cannot initalize Web Services service object [RepositoryService]: 
> null
>     at
> 
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.initServiceObject(AbstractPortProvider.java:496)
>     at
> 
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getPortObject(AbstractPortProvider.java:420)
>     at
> 
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getRepositoryServicePort(AbstractPortProvider.java:246)
>     at
> 
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:63)
>     at
> 
> org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:85)
>     at
> 
> org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:109)
>     at
> 
> org.apache.chemistry.opencmis.workbench.model.ClientSession.connect(ClientSession.java:192)
>     at
> 
> org.apache.chemistry.opencmis.workbench.model.ClientSession.<init>(ClientSession.java:109)
>     at
> 
> org.apache.chemistry.opencmis.workbench.LoginDialog.createClientSession(LoginDialog.java:285)
>     at
> 
> org.apache.chemistry.opencmis.workbench.LoginDialog$1.actionPerformed(LoginDialog.java:119)
>     at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
>     at javax.swing.AbstractButton$Handler.actionPerformed(Unknown 
> Source)
>     at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown 
> Source)
>     at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
>> 13:41:16 ERROR hemistry.opencmis.workbench.ClientHelper: Error code: 
>> 0
>
> Regards,
> Edwin
>
> 2013/5/23 Florian Müller <fm...@apache.org>
>
>> Thanks!
>> I have made a few changes. The client library should now be able to 
>> handle
>> the WSDL you have sent.
>>
>>
>> Cheers,
>>
>> Florian
>>
>>
>>  Maybe you also need the references...see attached
>>>
>>> 2013/5/23 Florian Müller <fmui@apache.org <ma...@apache.org>>
>>>
>>>
>>>     Hi Edwin,
>>>
>>>     Could you open the WSDL in a web browser, save it and and send 
>>> it?
>>>     We need to see the content of the WSDL for further 
>>> investigations.
>>>
>>>
>>>     - Florian
>>>
>>>
>>>         Hi Florian,
>>>         I also tried the url to the wsdl, but I get the same error.
>>>         Fiddler shows
>>>         me only one call to the wsdl.
>>>         In the expert tab I'm using
>>>         
>>> org.apache.chemistry.opencmis.**__binding.spi.type=webservices
>>>
>>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>>> RepositoryService=http://
>>>         <server>/RepositoryService.__**svc?wsdl
>>>
>>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>>> NavigationService=http://
>>>         <server>/NavigationService.__**svc?wsdl
>>>
>>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>>> ObjectService=http://
>>>         <server>/ObjectService.svc?__**wsdl
>>>
>>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>>> VersioningService=http://
>>>         <server>/VersioningService.__**svc?wsdl
>>>
>>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>>> DiscoveryService=http://
>>>         <server>/DiscoveryService.svc?**__wsdl
>>>
>>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>>> MultiFilingService=http://
>>>         <server>/MultiFilingService.__**svc?wsdl
>>>
>>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>>> RelationshipService=http://
>>>         <server>/RelationshipService._**_svc?wsdl
>>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>>> ACLService=http://
>>>         <server>/ACLService.svc?wsdl
>>>
>>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>>> PolicyService=http://
>>>         <server>/PolicyService.svc?__**wsdl
>>>
>>>         Thanks,
>>>         Edwin
>>>
>>>         2013/5/21 Florian Müller <fmui@apache.org 
>>> <mailto:fmui@apache.org
>>> >>
>>>
>>>
>>>             Hi Edwin,
>>>
>>>             The Web Service code has changed and is a bit stricter 
>>> than
>>>             before.
>>>             Could you provide the WSDL of your repository? I'll 
>>> check
>>>             what is going on.
>>>
>>>
>>>             - Florian
>>>
>>>
>>>
>>>               Hello,
>>>
>>>                 Trying to access my repository using a nightly 
>>> build of
>>>                 workbench ( tried
>>>                 16 and 21 may), gives me the error below. I get 
>>> this
>>>                 error when hitting
>>>                 "Load Repositories".
>>>                 I am able to connect using 0.9.0-beta and 0.8.0 . I 
>>> am
>>>                 using the
>>>                 webservices binding.
>>>                 Has something changed in the latest version, or 
>>> could
>>>                 this be a bug ?
>>>
>>>                 Thanks in advance,
>>>                 Edwin
>>>
>>>
>>>                   20:23:49 ERROR
>>>                 hemistry.opencmis.workbench.****__ClientHelper:
>>>
>>>
>>>
>>>                 CmisRuntimeException: This service does not provide 
>>> an
>>>                 endpoint address:
>>>                 RepositoryService
>>>
>>>                 org.apache.chemistry.opencmis.**
>>> __**commons.exceptions.**__**CmisRuntimeException:
>>>
>>>
>>>                 This
>>>                 service does not provide an endpoint address:
>>>                 RepositoryService
>>>                       at
>>>
>>>                 org.apache.chemistry.opencmis.**
>>> __**client.bindings.spi.**__**webservices.**
>>>                 
>>> AbstractPortProvider.**__**getEndpointUrlFromWsdl(**
>>>                 AbstractPortProvider.java:554)
>>>                       at
>>>
>>>                 org.apache.chemistry.opencmis.**
>>> __**client.bindings.spi.**__**webservices.**
>>>
>>>                 AbstractPortProvider.**__**initServiceObject(**__**
>>> AbstractPortProvider.java:465)
>>>                       at
>>>
>>>                 org.apache.chemistry.opencmis.**
>>> __**client.bindings.spi.**__**webservices.**
>>>
>>>                 AbstractPortProvider.**__**getPortObject(**__**
>>> AbstractPortProvider.java:419)
>>>                       at
>>>
>>>                 org.apache.chemistry.opencmis.**
>>> __**client.bindings.spi.**__**webservices.**
>>>                 
>>> AbstractPortProvider.**__**getRepositoryServicePort(**
>>>                 AbstractPortProvider.java:245)
>>>                       at
>>>
>>>                 org.apache.chemistry.opencmis.**
>>> __**client.bindings.spi.**__**webservices.**
>>>                 RepositoryServiceImpl.**__**getRepositoryInfos(**
>>>                 RepositoryServiceImpl.java:63)
>>>                       at
>>>                 org.apache.chemistry.opencmis.**
>>> __**client.bindings.impl.**
>>>                 RepositoryServiceImpl.**__**getRepositoryInfos(**
>>>                 RepositoryServiceImpl.java:85)
>>>                       at
>>>
>>>                 
>>> org.apache.chemistry.opencmis.**__**client.runtime.**__**
>>> SessionFactoryImpl.**
>>>                 getRepositories(**__**SessionFactoryImpl.java:109)
>>>                       at
>>>                 
>>> org.apache.chemistry.opencmis.**__**workbench.model.__**
>>> ClientSession.**
>>>                 connect(ClientSession.java:**_**_192)
>>>                       at
>>>                 
>>> org.apache.chemistry.opencmis.**__**workbench.model.__**
>>> ClientSession.**
>>>                 <init>(ClientSession.java:109)
>>>                       at
>>>                 org.apache.chemistry.opencmis.**
>>> __**workbench.LoginDialog.**
>>>                 createClientSession(**__**LoginDialog.java:285)
>>>                       at
>>>                 org.apache.chemistry.opencmis.**
>>> __**workbench.LoginDialog$1.**
>>>                 actionPerformed(LoginDialog.****__java:119)
>>>                       at
>>>                 javax.swing.AbstractButton.**_**
>>> _fireActionPerformed(Unknown
>>>                 Source)
>>>                       at
>>>                 javax.swing.AbstractButton$**_**
>>> _Handler.actionPerformed(**__**Unknown
>>>                 Source)
>>>                       at
>>>                 javax.swing.**__**DefaultButtonModel.**__**
>>> fireActionPerformed(Unknown
>>>
>>>                 Source)
>>>
>>>                     20:23:49 ERROR
>>>                     hemistry.opencmis.workbench.****__ClientHelper: 
>>> Error
>>>                     code: 0
>>>
>>>
>>>
>>>
>>>
>>>


Re: unable to connect with workbench

Posted by edwin sch <ed...@gmail.com>.
Hi Florian,
The original errormessage is gone, but now I get :

> 13:41:16 ERROR hemistry.opencmis.workbench.ClientHelper:
CmisConnectionException: Cannot initalize Web Services service object
[RepositoryService]: null
org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException:
Cannot initalize Web Services service object [RepositoryService]: null
    at
org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.initServiceObject(AbstractPortProvider.java:496)
    at
org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getPortObject(AbstractPortProvider.java:420)
    at
org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getRepositoryServicePort(AbstractPortProvider.java:246)
    at
org.apache.chemistry.opencmis.client.bindings.spi.webservices.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:63)
    at
org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:85)
    at
org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:109)
    at
org.apache.chemistry.opencmis.workbench.model.ClientSession.connect(ClientSession.java:192)
    at
org.apache.chemistry.opencmis.workbench.model.ClientSession.<init>(ClientSession.java:109)
    at
org.apache.chemistry.opencmis.workbench.LoginDialog.createClientSession(LoginDialog.java:285)
    at
org.apache.chemistry.opencmis.workbench.LoginDialog$1.actionPerformed(LoginDialog.java:119)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> 13:41:16 ERROR hemistry.opencmis.workbench.ClientHelper: Error code: 0

Regards,
Edwin

2013/5/23 Florian Müller <fm...@apache.org>

> Thanks!
> I have made a few changes. The client library should now be able to handle
> the WSDL you have sent.
>
>
> Cheers,
>
> Florian
>
>
>  Maybe you also need the references...see attached
>>
>> 2013/5/23 Florian Müller <fmui@apache.org <ma...@apache.org>>
>>
>>
>>     Hi Edwin,
>>
>>     Could you open the WSDL in a web browser, save it and and send it?
>>     We need to see the content of the WSDL for further investigations.
>>
>>
>>     - Florian
>>
>>
>>         Hi Florian,
>>         I also tried the url to the wsdl, but I get the same error.
>>         Fiddler shows
>>         me only one call to the wsdl.
>>         In the expert tab I'm using
>>         org.apache.chemistry.opencmis.**__binding.spi.type=webservices
>>
>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>> RepositoryService=http://
>>         <server>/RepositoryService.__**svc?wsdl
>>
>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>> NavigationService=http://
>>         <server>/NavigationService.__**svc?wsdl
>>
>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>> ObjectService=http://
>>         <server>/ObjectService.svc?__**wsdl
>>
>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>> VersioningService=http://
>>         <server>/VersioningService.__**svc?wsdl
>>
>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>> DiscoveryService=http://
>>         <server>/DiscoveryService.svc?**__wsdl
>>
>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>> MultiFilingService=http://
>>         <server>/MultiFilingService.__**svc?wsdl
>>
>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>> RelationshipService=http://
>>         <server>/RelationshipService._**_svc?wsdl
>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>> ACLService=http://
>>         <server>/ACLService.svc?wsdl
>>
>>         org.apache.chemistry.opencmis.**__binding.webservices.__**
>> PolicyService=http://
>>         <server>/PolicyService.svc?__**wsdl
>>
>>         Thanks,
>>         Edwin
>>
>>         2013/5/21 Florian Müller <fmui@apache.org <mailto:fmui@apache.org
>> >>
>>
>>
>>             Hi Edwin,
>>
>>             The Web Service code has changed and is a bit stricter than
>>             before.
>>             Could you provide the WSDL of your repository? I'll check
>>             what is going on.
>>
>>
>>             - Florian
>>
>>
>>
>>               Hello,
>>
>>                 Trying to access my repository using a nightly build of
>>                 workbench ( tried
>>                 16 and 21 may), gives me the error below. I get this
>>                 error when hitting
>>                 "Load Repositories".
>>                 I am able to connect using 0.9.0-beta and 0.8.0 . I am
>>                 using the
>>                 webservices binding.
>>                 Has something changed in the latest version, or could
>>                 this be a bug ?
>>
>>                 Thanks in advance,
>>                 Edwin
>>
>>
>>                   20:23:49 ERROR
>>                 hemistry.opencmis.workbench.****__ClientHelper:
>>
>>
>>
>>                 CmisRuntimeException: This service does not provide an
>>                 endpoint address:
>>                 RepositoryService
>>
>>                 org.apache.chemistry.opencmis.**
>> __**commons.exceptions.**__**CmisRuntimeException:
>>
>>
>>                 This
>>                 service does not provide an endpoint address:
>>                 RepositoryService
>>                       at
>>
>>                 org.apache.chemistry.opencmis.**
>> __**client.bindings.spi.**__**webservices.**
>>                 AbstractPortProvider.**__**getEndpointUrlFromWsdl(**
>>                 AbstractPortProvider.java:554)
>>                       at
>>
>>                 org.apache.chemistry.opencmis.**
>> __**client.bindings.spi.**__**webservices.**
>>
>>                 AbstractPortProvider.**__**initServiceObject(**__**
>> AbstractPortProvider.java:465)
>>                       at
>>
>>                 org.apache.chemistry.opencmis.**
>> __**client.bindings.spi.**__**webservices.**
>>
>>                 AbstractPortProvider.**__**getPortObject(**__**
>> AbstractPortProvider.java:419)
>>                       at
>>
>>                 org.apache.chemistry.opencmis.**
>> __**client.bindings.spi.**__**webservices.**
>>                 AbstractPortProvider.**__**getRepositoryServicePort(**
>>                 AbstractPortProvider.java:245)
>>                       at
>>
>>                 org.apache.chemistry.opencmis.**
>> __**client.bindings.spi.**__**webservices.**
>>                 RepositoryServiceImpl.**__**getRepositoryInfos(**
>>                 RepositoryServiceImpl.java:63)
>>                       at
>>                 org.apache.chemistry.opencmis.**
>> __**client.bindings.impl.**
>>                 RepositoryServiceImpl.**__**getRepositoryInfos(**
>>                 RepositoryServiceImpl.java:85)
>>                       at
>>
>>                 org.apache.chemistry.opencmis.**__**client.runtime.**__**
>> SessionFactoryImpl.**
>>                 getRepositories(**__**SessionFactoryImpl.java:109)
>>                       at
>>                 org.apache.chemistry.opencmis.**__**workbench.model.__**
>> ClientSession.**
>>                 connect(ClientSession.java:**_**_192)
>>                       at
>>                 org.apache.chemistry.opencmis.**__**workbench.model.__**
>> ClientSession.**
>>                 <init>(ClientSession.java:109)
>>                       at
>>                 org.apache.chemistry.opencmis.**
>> __**workbench.LoginDialog.**
>>                 createClientSession(**__**LoginDialog.java:285)
>>                       at
>>                 org.apache.chemistry.opencmis.**
>> __**workbench.LoginDialog$1.**
>>                 actionPerformed(LoginDialog.****__java:119)
>>                       at
>>                 javax.swing.AbstractButton.**_**
>> _fireActionPerformed(Unknown
>>                 Source)
>>                       at
>>                 javax.swing.AbstractButton$**_**
>> _Handler.actionPerformed(**__**Unknown
>>                 Source)
>>                       at
>>                 javax.swing.**__**DefaultButtonModel.**__**
>> fireActionPerformed(Unknown
>>
>>                 Source)
>>
>>                     20:23:49 ERROR
>>                     hemistry.opencmis.workbench.****__ClientHelper: Error
>>                     code: 0
>>
>>
>>
>>
>>
>>

Re: unable to connect with workbench

Posted by Florian Müller <fm...@apache.org>.
Thanks!
I have made a few changes. The client library should now be able to 
handle the WSDL you have sent.


Cheers,

Florian


> Maybe you also need the references...see attached
>
> 2013/5/23 Florian Müller <fmui@apache.org <ma...@apache.org>>
>
>     Hi Edwin,
>
>     Could you open the WSDL in a web browser, save it and and send it?
>     We need to see the content of the WSDL for further investigations.
>
>
>     - Florian
>
>
>         Hi Florian,
>         I also tried the url to the wsdl, but I get the same error.
>         Fiddler shows
>         me only one call to the wsdl.
>         In the expert tab I'm using
>         org.apache.chemistry.opencmis.__binding.spi.type=webservices
>
>         org.apache.chemistry.opencmis.__binding.webservices.__RepositoryService=http://
>         <server>/RepositoryService.__svc?wsdl
>
>         org.apache.chemistry.opencmis.__binding.webservices.__NavigationService=http://
>         <server>/NavigationService.__svc?wsdl
>
>         org.apache.chemistry.opencmis.__binding.webservices.__ObjectService=http://
>         <server>/ObjectService.svc?__wsdl
>
>         org.apache.chemistry.opencmis.__binding.webservices.__VersioningService=http://
>         <server>/VersioningService.__svc?wsdl
>
>         org.apache.chemistry.opencmis.__binding.webservices.__DiscoveryService=http://
>         <server>/DiscoveryService.svc?__wsdl
>
>         org.apache.chemistry.opencmis.__binding.webservices.__MultiFilingService=http://
>         <server>/MultiFilingService.__svc?wsdl
>
>         org.apache.chemistry.opencmis.__binding.webservices.__RelationshipService=http://
>         <server>/RelationshipService.__svc?wsdl
>         org.apache.chemistry.opencmis.__binding.webservices.__ACLService=http://
>         <server>/ACLService.svc?wsdl
>
>         org.apache.chemistry.opencmis.__binding.webservices.__PolicyService=http://
>         <server>/PolicyService.svc?__wsdl
>
>         Thanks,
>         Edwin
>
>         2013/5/21 Florian Müller <fmui@apache.org <ma...@apache.org>>
>
>             Hi Edwin,
>
>             The Web Service code has changed and is a bit stricter than
>             before.
>             Could you provide the WSDL of your repository? I'll check
>             what is going on.
>
>
>             - Florian
>
>
>
>               Hello,
>
>                 Trying to access my repository using a nightly build of
>                 workbench ( tried
>                 16 and 21 may), gives me the error below. I get this
>                 error when hitting
>                 "Load Repositories".
>                 I am able to connect using 0.9.0-beta and 0.8.0 . I am
>                 using the
>                 webservices binding.
>                 Has something changed in the latest version, or could
>                 this be a bug ?
>
>                 Thanks in advance,
>                 Edwin
>
>
>                   20:23:49 ERROR
>                 hemistry.opencmis.workbench.**__ClientHelper:
>
>
>                 CmisRuntimeException: This service does not provide an
>                 endpoint address:
>                 RepositoryService
>
>                 org.apache.chemistry.opencmis.__**commons.exceptions.**__CmisRuntimeException:
>
>                 This
>                 service does not provide an endpoint address:
>                 RepositoryService
>                       at
>
>                 org.apache.chemistry.opencmis.__**client.bindings.spi.**__webservices.**
>                 AbstractPortProvider.**__getEndpointUrlFromWsdl(**
>                 AbstractPortProvider.java:554)
>                       at
>
>                 org.apache.chemistry.opencmis.__**client.bindings.spi.**__webservices.**
>
>                 AbstractPortProvider.**__initServiceObject(**__AbstractPortProvider.java:465)
>                       at
>
>                 org.apache.chemistry.opencmis.__**client.bindings.spi.**__webservices.**
>
>                 AbstractPortProvider.**__getPortObject(**__AbstractPortProvider.java:419)
>                       at
>
>                 org.apache.chemistry.opencmis.__**client.bindings.spi.**__webservices.**
>                 AbstractPortProvider.**__getRepositoryServicePort(**
>                 AbstractPortProvider.java:245)
>                       at
>
>                 org.apache.chemistry.opencmis.__**client.bindings.spi.**__webservices.**
>                 RepositoryServiceImpl.**__getRepositoryInfos(**
>                 RepositoryServiceImpl.java:63)
>                       at
>                 org.apache.chemistry.opencmis.__**client.bindings.impl.**
>                 RepositoryServiceImpl.**__getRepositoryInfos(**
>                 RepositoryServiceImpl.java:85)
>                       at
>
>                 org.apache.chemistry.opencmis.__**client.runtime.**__SessionFactoryImpl.**
>                 getRepositories(**__SessionFactoryImpl.java:109)
>                       at
>                 org.apache.chemistry.opencmis.__**workbench.model.__ClientSession.**
>                 connect(ClientSession.java:**__192)
>                       at
>                 org.apache.chemistry.opencmis.__**workbench.model.__ClientSession.**
>                 <init>(ClientSession.java:109)
>                       at
>                 org.apache.chemistry.opencmis.__**workbench.LoginDialog.**
>                 createClientSession(**__LoginDialog.java:285)
>                       at
>                 org.apache.chemistry.opencmis.__**workbench.LoginDialog$1.**
>                 actionPerformed(LoginDialog.**__java:119)
>                       at
>                 javax.swing.AbstractButton.**__fireActionPerformed(Unknown
>                 Source)
>                       at
>                 javax.swing.AbstractButton$**__Handler.actionPerformed(**__Unknown
>                 Source)
>                       at
>                 javax.swing.**__DefaultButtonModel.**__fireActionPerformed(Unknown
>                 Source)
>
>                     20:23:49 ERROR
>                     hemistry.opencmis.workbench.**__ClientHelper: Error
>                     code: 0
>
>
>
>
>

Re: unable to connect with workbench

Posted by edwin sch <ed...@gmail.com>.
Maybe you also need the references...see attached

2013/5/23 Florian M�ller <fm...@apache.org>

> Hi Edwin,
>
> Could you open the WSDL in a web browser, save it and and send it?
> We need to see the content of the WSDL for further investigations.
>
>
> - Florian
>
>
>  Hi Florian,
>> I also tried the url to the wsdl, but I get the same error. Fiddler shows
>> me only one call to the wsdl.
>> In the expert tab I'm using
>> org.apache.chemistry.opencmis.**binding.spi.type=webservices
>>
>> org.apache.chemistry.opencmis.**binding.webservices.**
>> RepositoryService=http://
>> <server>/RepositoryService.**svc?wsdl
>>
>> org.apache.chemistry.opencmis.**binding.webservices.**
>> NavigationService=http://
>> <server>/NavigationService.**svc?wsdl
>>
>> org.apache.chemistry.opencmis.**binding.webservices.**
>> ObjectService=http://
>> <server>/ObjectService.svc?**wsdl
>>
>> org.apache.chemistry.opencmis.**binding.webservices.**
>> VersioningService=http://
>> <server>/VersioningService.**svc?wsdl
>>
>> org.apache.chemistry.opencmis.**binding.webservices.**
>> DiscoveryService=http://
>> <server>/DiscoveryService.svc?**wsdl
>>
>> org.apache.chemistry.opencmis.**binding.webservices.**
>> MultiFilingService=http://
>> <server>/MultiFilingService.**svc?wsdl
>>
>> org.apache.chemistry.opencmis.**binding.webservices.**
>> RelationshipService=http://
>> <server>/RelationshipService.**svc?wsdl
>> org.apache.chemistry.opencmis.**binding.webservices.**ACLService=http://
>> <server>/ACLService.svc?wsdl
>>
>> org.apache.chemistry.opencmis.**binding.webservices.**
>> PolicyService=http://
>> <server>/PolicyService.svc?**wsdl
>>
>> Thanks,
>> Edwin
>>
>> 2013/5/21 Florian M�ller <fm...@apache.org>
>>
>>  Hi Edwin,
>>>
>>> The Web Service code has changed and is a bit stricter than before.
>>> Could you provide the WSDL of your repository? I'll check what is going
>>> on.
>>>
>>>
>>> - Florian
>>>
>>>
>>>
>>>  Hello,
>>>
>>>> Trying to access my repository using a nightly build of workbench (
>>>> tried
>>>> 16 and 21 may), gives me the error below. I get this error when hitting
>>>> "Load Repositories".
>>>> I am able to connect using 0.9.0-beta and 0.8.0 . I am using the
>>>> webservices binding.
>>>> Has something changed in the latest version, or could this be a bug ?
>>>>
>>>> Thanks in advance,
>>>> Edwin
>>>>
>>>>
>>>>  20:23:49 ERROR hemistry.opencmis.workbench.****ClientHelper:
>>>>
>>>>
>>>>>  CmisRuntimeException: This service does not provide an endpoint
>>>> address:
>>>> RepositoryService
>>>>
>>>> org.apache.chemistry.opencmis.****commons.exceptions.****
>>>> CmisRuntimeException:
>>>>
>>>> This
>>>> service does not provide an endpoint address: RepositoryService
>>>>      at
>>>>
>>>> org.apache.chemistry.opencmis.****client.bindings.spi.****
>>>> webservices.**
>>>> AbstractPortProvider.****getEndpointUrlFromWsdl(**
>>>> AbstractPortProvider.java:554)
>>>>      at
>>>>
>>>> org.apache.chemistry.opencmis.****client.bindings.spi.****
>>>> webservices.**
>>>>
>>>> AbstractPortProvider.****initServiceObject(****
>>>> AbstractPortProvider.java:465)
>>>>      at
>>>>
>>>> org.apache.chemistry.opencmis.****client.bindings.spi.****
>>>> webservices.**
>>>>
>>>> AbstractPortProvider.****getPortObject(****
>>>> AbstractPortProvider.java:419)
>>>>      at
>>>>
>>>> org.apache.chemistry.opencmis.****client.bindings.spi.****
>>>> webservices.**
>>>> AbstractPortProvider.****getRepositoryServicePort(**
>>>> AbstractPortProvider.java:245)
>>>>      at
>>>>
>>>> org.apache.chemistry.opencmis.****client.bindings.spi.****
>>>> webservices.**
>>>> RepositoryServiceImpl.****getRepositoryInfos(**
>>>> RepositoryServiceImpl.java:63)
>>>>      at
>>>> org.apache.chemistry.opencmis.****client.bindings.impl.**
>>>> RepositoryServiceImpl.****getRepositoryInfos(**
>>>> RepositoryServiceImpl.java:85)
>>>>      at
>>>>
>>>> org.apache.chemistry.opencmis.****client.runtime.****
>>>> SessionFactoryImpl.**
>>>> getRepositories(****SessionFactoryImpl.java:109)
>>>>      at
>>>> org.apache.chemistry.opencmis.****workbench.model.**ClientSession.**
>>>> connect(ClientSession.java:****192)
>>>>      at
>>>> org.apache.chemistry.opencmis.****workbench.model.**ClientSession.**
>>>> <init>(ClientSession.java:109)
>>>>      at
>>>> org.apache.chemistry.opencmis.****workbench.LoginDialog.**
>>>> createClientSession(****LoginDialog.java:285)
>>>>      at
>>>> org.apache.chemistry.opencmis.****workbench.LoginDialog$1.**
>>>> actionPerformed(LoginDialog.****java:119)
>>>>      at javax.swing.AbstractButton.****fireActionPerformed(Unknown
>>>> Source)
>>>>      at javax.swing.AbstractButton$****Handler.actionPerformed(****
>>>> Unknown
>>>> Source)
>>>>      at javax.swing.****DefaultButtonModel.****
>>>> fireActionPerformed(Unknown
>>>> Source)
>>>>
>>>>  20:23:49 ERROR hemistry.opencmis.workbench.****ClientHelper: Error
>>>>> code: 0
>>>>>
>>>>>
>>>>
>>>>
>

Re: unable to connect with workbench

Posted by Florian Müller <fm...@apache.org>.
 Hi Edwin,

 Could you open the WSDL in a web browser, save it and and send it?
 We need to see the content of the WSDL for further investigations.


 - Florian


> Hi Florian,
> I also tried the url to the wsdl, but I get the same error. Fiddler 
> shows
> me only one call to the wsdl.
> In the expert tab I'm using
> org.apache.chemistry.opencmis.binding.spi.type=webservices
> 
> org.apache.chemistry.opencmis.binding.webservices.RepositoryService=http://
> <server>/RepositoryService.svc?wsdl
> 
> org.apache.chemistry.opencmis.binding.webservices.NavigationService=http://
> <server>/NavigationService.svc?wsdl
> 
> org.apache.chemistry.opencmis.binding.webservices.ObjectService=http://
> <server>/ObjectService.svc?wsdl
> 
> org.apache.chemistry.opencmis.binding.webservices.VersioningService=http://
> <server>/VersioningService.svc?wsdl
> 
> org.apache.chemistry.opencmis.binding.webservices.DiscoveryService=http://
> <server>/DiscoveryService.svc?wsdl
> 
> org.apache.chemistry.opencmis.binding.webservices.MultiFilingService=http://
> <server>/MultiFilingService.svc?wsdl
> 
> org.apache.chemistry.opencmis.binding.webservices.RelationshipService=http://
> <server>/RelationshipService.svc?wsdl
> org.apache.chemistry.opencmis.binding.webservices.ACLService=http://
> <server>/ACLService.svc?wsdl
> 
> org.apache.chemistry.opencmis.binding.webservices.PolicyService=http://
> <server>/PolicyService.svc?wsdl
>
> Thanks,
> Edwin
>
> 2013/5/21 Florian Müller <fm...@apache.org>
>
>> Hi Edwin,
>>
>> The Web Service code has changed and is a bit stricter than before.
>> Could you provide the WSDL of your repository? I'll check what is 
>> going on.
>>
>>
>> - Florian
>>
>>
>>
>>  Hello,
>>> Trying to access my repository using a nightly build of workbench ( 
>>> tried
>>> 16 and 21 may), gives me the error below. I get this error when 
>>> hitting
>>> "Load Repositories".
>>> I am able to connect using 0.9.0-beta and 0.8.0 . I am using the
>>> webservices binding.
>>> Has something changed in the latest version, or could this be a bug 
>>> ?
>>>
>>> Thanks in advance,
>>> Edwin
>>>
>>>
>>>  20:23:49 ERROR hemistry.opencmis.workbench.**ClientHelper:
>>>>
>>> CmisRuntimeException: This service does not provide an endpoint 
>>> address:
>>> RepositoryService
>>> 
>>> org.apache.chemistry.opencmis.**commons.exceptions.**CmisRuntimeException:
>>> This
>>> service does not provide an endpoint address: RepositoryService
>>>      at
>>> 
>>> org.apache.chemistry.opencmis.**client.bindings.spi.**webservices.**
>>> AbstractPortProvider.**getEndpointUrlFromWsdl(**
>>> AbstractPortProvider.java:554)
>>>      at
>>> 
>>> org.apache.chemistry.opencmis.**client.bindings.spi.**webservices.**
>>> 
>>> AbstractPortProvider.**initServiceObject(**AbstractPortProvider.java:465)
>>>      at
>>> 
>>> org.apache.chemistry.opencmis.**client.bindings.spi.**webservices.**
>>> 
>>> AbstractPortProvider.**getPortObject(**AbstractPortProvider.java:419)
>>>      at
>>> 
>>> org.apache.chemistry.opencmis.**client.bindings.spi.**webservices.**
>>> AbstractPortProvider.**getRepositoryServicePort(**
>>> AbstractPortProvider.java:245)
>>>      at
>>> 
>>> org.apache.chemistry.opencmis.**client.bindings.spi.**webservices.**
>>> RepositoryServiceImpl.**getRepositoryInfos(**
>>> RepositoryServiceImpl.java:63)
>>>      at
>>> org.apache.chemistry.opencmis.**client.bindings.impl.**
>>> RepositoryServiceImpl.**getRepositoryInfos(**
>>> RepositoryServiceImpl.java:85)
>>>      at
>>> 
>>> org.apache.chemistry.opencmis.**client.runtime.**SessionFactoryImpl.**
>>> getRepositories(**SessionFactoryImpl.java:109)
>>>      at
>>> org.apache.chemistry.opencmis.**workbench.model.ClientSession.**
>>> connect(ClientSession.java:**192)
>>>      at
>>> org.apache.chemistry.opencmis.**workbench.model.ClientSession.**
>>> <init>(ClientSession.java:109)
>>>      at
>>> org.apache.chemistry.opencmis.**workbench.LoginDialog.**
>>> createClientSession(**LoginDialog.java:285)
>>>      at
>>> org.apache.chemistry.opencmis.**workbench.LoginDialog$1.**
>>> actionPerformed(LoginDialog.**java:119)
>>>      at javax.swing.AbstractButton.**fireActionPerformed(Unknown 
>>> Source)
>>>      at 
>>> javax.swing.AbstractButton$**Handler.actionPerformed(**Unknown
>>> Source)
>>>      at 
>>> javax.swing.**DefaultButtonModel.**fireActionPerformed(Unknown
>>> Source)
>>>
>>>> 20:23:49 ERROR hemistry.opencmis.workbench.**ClientHelper: Error 
>>>> code: 0
>>>>
>>>
>>>


Re: unable to connect with workbench

Posted by edwin sch <ed...@gmail.com>.
Hi Florian,
I also tried the url to the wsdl, but I get the same error. Fiddler shows
me only one call to the wsdl.
In the expert tab I'm using
org.apache.chemistry.opencmis.binding.spi.type=webservices
org.apache.chemistry.opencmis.binding.webservices.RepositoryService=http://
<server>/RepositoryService.svc?wsdl
org.apache.chemistry.opencmis.binding.webservices.NavigationService=http://
<server>/NavigationService.svc?wsdl
org.apache.chemistry.opencmis.binding.webservices.ObjectService=http://
<server>/ObjectService.svc?wsdl
org.apache.chemistry.opencmis.binding.webservices.VersioningService=http://
<server>/VersioningService.svc?wsdl
org.apache.chemistry.opencmis.binding.webservices.DiscoveryService=http://
<server>/DiscoveryService.svc?wsdl
org.apache.chemistry.opencmis.binding.webservices.MultiFilingService=http://
<server>/MultiFilingService.svc?wsdl
org.apache.chemistry.opencmis.binding.webservices.RelationshipService=http://
<server>/RelationshipService.svc?wsdl
org.apache.chemistry.opencmis.binding.webservices.ACLService=http://
<server>/ACLService.svc?wsdl
org.apache.chemistry.opencmis.binding.webservices.PolicyService=http://
<server>/PolicyService.svc?wsdl

Thanks,
Edwin

2013/5/21 Florian Müller <fm...@apache.org>

> Hi Edwin,
>
> The Web Service code has changed and is a bit stricter than before.
> Could you provide the WSDL of your repository? I'll check what is going on.
>
>
> - Florian
>
>
>
>  Hello,
>> Trying to access my repository using a nightly build of workbench ( tried
>> 16 and 21 may), gives me the error below. I get this error when hitting
>> "Load Repositories".
>> I am able to connect using 0.9.0-beta and 0.8.0 . I am using the
>> webservices binding.
>> Has something changed in the latest version, or could this be a bug ?
>>
>> Thanks in advance,
>> Edwin
>>
>>
>>  20:23:49 ERROR hemistry.opencmis.workbench.**ClientHelper:
>>>
>> CmisRuntimeException: This service does not provide an endpoint address:
>> RepositoryService
>> org.apache.chemistry.opencmis.**commons.exceptions.**CmisRuntimeException:
>> This
>> service does not provide an endpoint address: RepositoryService
>>      at
>> org.apache.chemistry.opencmis.**client.bindings.spi.**webservices.**
>> AbstractPortProvider.**getEndpointUrlFromWsdl(**
>> AbstractPortProvider.java:554)
>>      at
>> org.apache.chemistry.opencmis.**client.bindings.spi.**webservices.**
>> AbstractPortProvider.**initServiceObject(**AbstractPortProvider.java:465)
>>      at
>> org.apache.chemistry.opencmis.**client.bindings.spi.**webservices.**
>> AbstractPortProvider.**getPortObject(**AbstractPortProvider.java:419)
>>      at
>> org.apache.chemistry.opencmis.**client.bindings.spi.**webservices.**
>> AbstractPortProvider.**getRepositoryServicePort(**
>> AbstractPortProvider.java:245)
>>      at
>> org.apache.chemistry.opencmis.**client.bindings.spi.**webservices.**
>> RepositoryServiceImpl.**getRepositoryInfos(**
>> RepositoryServiceImpl.java:63)
>>      at
>> org.apache.chemistry.opencmis.**client.bindings.impl.**
>> RepositoryServiceImpl.**getRepositoryInfos(**
>> RepositoryServiceImpl.java:85)
>>      at
>> org.apache.chemistry.opencmis.**client.runtime.**SessionFactoryImpl.**
>> getRepositories(**SessionFactoryImpl.java:109)
>>      at
>> org.apache.chemistry.opencmis.**workbench.model.ClientSession.**
>> connect(ClientSession.java:**192)
>>      at
>> org.apache.chemistry.opencmis.**workbench.model.ClientSession.**
>> <init>(ClientSession.java:109)
>>      at
>> org.apache.chemistry.opencmis.**workbench.LoginDialog.**
>> createClientSession(**LoginDialog.java:285)
>>      at
>> org.apache.chemistry.opencmis.**workbench.LoginDialog$1.**
>> actionPerformed(LoginDialog.**java:119)
>>      at javax.swing.AbstractButton.**fireActionPerformed(Unknown Source)
>>      at javax.swing.AbstractButton$**Handler.actionPerformed(**Unknown
>> Source)
>>      at javax.swing.**DefaultButtonModel.**fireActionPerformed(Unknown
>> Source)
>>
>>> 20:23:49 ERROR hemistry.opencmis.workbench.**ClientHelper: Error code: 0
>>>
>>
>>

Re: unable to connect with workbench

Posted by Florian Müller <fm...@apache.org>.
Hi Edwin,

The Web Service code has changed and is a bit stricter than before.
Could you provide the WSDL of your repository? I'll check what is going on.


- Florian


> Hello,
> Trying to access my repository using a nightly build of workbench ( tried
> 16 and 21 may), gives me the error below. I get this error when hitting
> "Load Repositories".
> I am able to connect using 0.9.0-beta and 0.8.0 . I am using the
> webservices binding.
> Has something changed in the latest version, or could this be a bug ?
>
> Thanks in advance,
> Edwin
>
>
>> 20:23:49 ERROR hemistry.opencmis.workbench.ClientHelper:
> CmisRuntimeException: This service does not provide an endpoint address:
> RepositoryService
> org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: This
> service does not provide an endpoint address: RepositoryService
>      at
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getEndpointUrlFromWsdl(AbstractPortProvider.java:554)
>      at
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.initServiceObject(AbstractPortProvider.java:465)
>      at
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getPortObject(AbstractPortProvider.java:419)
>      at
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getRepositoryServicePort(AbstractPortProvider.java:245)
>      at
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:63)
>      at
> org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:85)
>      at
> org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:109)
>      at
> org.apache.chemistry.opencmis.workbench.model.ClientSession.connect(ClientSession.java:192)
>      at
> org.apache.chemistry.opencmis.workbench.model.ClientSession.<init>(ClientSession.java:109)
>      at
> org.apache.chemistry.opencmis.workbench.LoginDialog.createClientSession(LoginDialog.java:285)
>      at
> org.apache.chemistry.opencmis.workbench.LoginDialog$1.actionPerformed(LoginDialog.java:119)
>      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
>      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
>      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
>> 20:23:49 ERROR hemistry.opencmis.workbench.ClientHelper: Error code: 0
>