chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <f...@apache.org>
Subject Re: unable to connect with workbench
Date Fri, 24 May 2013 14:02:33 GMT
 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 <fmui@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 <mailto:fmui@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
>>>
>>>
>>>
>>>
>>>
>>>


Mime
View raw message