Hello all,
I am having an issue with Open CMIS Client 0.5.0 running on a Glassfish 3.1
Application server.
It occurs when I am instantiating the Session object.
Here is my code :
SessionFactory f = SessionFactoryImpl.newInstance();
Map<String, String> params = new HashMap<String, String>();
params.put(SessionParameter.USER, USERNAME);
params.put(SessionParameter.PASSWORD, PASSWORD);
params.put(SessionParameter.WEBSERVICES_ACL_SERVICE, URL_SOAP+
"ACLService?wsdl");
params.put(SessionParameter.WEBSERVICES_DISCOVERY_SERVICE, URL_SOAP+
"DiscoveryService?wsdl");
params.put(SessionParameter.WEBSERVICES_MULTIFILING_SERVICE, URL_SOAP+
"MultiFilingService?wsdl");
params.put(SessionParameter.WEBSERVICES_NAVIGATION_SERVICE, URL_SOAP+
"NavigationService?wsdl");
params.put(SessionParameter.WEBSERVICES_OBJECT_SERVICE, URL_SOAP+
"ObjectService?wsdl");
params.put(SessionParameter.WEBSERVICES_POLICY_SERVICE, URL_SOAP+
"PolicyService?wsdl");
params.put(SessionParameter.WEBSERVICES_RELATIONSHIP_SERVICE, URL_SOAP+
"RelationshipService?wsdl");
params.put(SessionParameter.WEBSERVICES_REPOSITORY_SERVICE, URL_SOAP+
"RepositoryService?wsdl");
params.put(SessionParameter.WEBSERVICES_VERSIONING_SERVICE, URL_SOAP+
"VersioningService?wsdl");
params.put(SessionParameter.BINDING_TYPE,BindingType.WEBSERVICES.value());
params.put(SessionParameter.CLIENT_COMPRESSION,"true"););
params.put(SessionParameter.REPOSITORY_ID, REPOSITORY_ID);
session = f.createSession(params);
The exception :
Caused by: javax.xml.ws.soap.SOAPFaultException: Couldn't find MIME boundary:
--uuid:231c3661-6deb-494d-975d-24b88548fa4b
at
com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:193)
at
com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:126)
at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:123)
at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:144)
The same code works just fine from a standard java main or when I am using
OpenCMIS 0.4.0 on the same Glassfish server.
Tech details :
Alfresco 3.4d community
Glassfish 3.1
Java 1.6
Open CMIS Client 0.5.0
Any thought on this ?
I am switching back to 0.4.0 until the issue is resolved.
Regards,
Christophe