<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Compiliation problem with my program accessing Alfresco. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/compiliation-problem-with-my-program-accessing-alfresco/m-p/147693#M103090</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to experiment with alfresco, and I was trying to access it from a java program using the web services api…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not very familiar with web services, but by looking at the sample code, I wrote a small program to start with and i'm ending up with a wierd compilation error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The code and compilation error are below, someone please guide me in the right direction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;import org.alfresco.webservice.authentication.AuthenticationResult;&lt;BR /&gt;import org.alfresco.webservice.authentication.AuthenticationServiceLocator;&lt;BR /&gt;import org.alfresco.webservice.authentication.AuthenticationServiceSoapBindingStub;&lt;BR /&gt;&lt;BR /&gt;public class Query &lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public static void main(String[] args) throws Exception&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AuthenticationServiceSoapBindingStub authenticationService = &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (AuthenticationServiceSoapBindingStub) new&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AuthenticationServiceLocator().getAuthenticationService();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AuthenticationResult result = authenticationService.startSession("admin", "admin");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;String ticket = result.getTicket();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The compilation error is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;The type javax.xml.rpc.ServiceException cannot be resolved. It is indirectly referenced from required .class files&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Query.main(Query.java:10)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Nov 2007 18:18:26 GMT</pubDate>
    <dc:creator>fantastic_ray</dc:creator>
    <dc:date>2007-11-25T18:18:26Z</dc:date>
    <item>
      <title>Compiliation problem with my program accessing Alfresco.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/compiliation-problem-with-my-program-accessing-alfresco/m-p/147693#M103090</link>
      <description>Hi guys,I'm trying to experiment with alfresco, and I was trying to access it from a java program using the web services api…I'm not very familiar with web services, but by looking at the sample code, I wrote a small program to start with and i'm ending up with a wierd compilation error. The code an</description>
      <pubDate>Sun, 25 Nov 2007 18:18:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/compiliation-problem-with-my-program-accessing-alfresco/m-p/147693#M103090</guid>
      <dc:creator>fantastic_ray</dc:creator>
      <dc:date>2007-11-25T18:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Compiliation problem with my program accessing Alfresco.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/compiliation-problem-with-my-program-accessing-alfresco/m-p/147694#M103091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also, I have downloaded the Alfresco SDK, but I cant find the SDK AlfrescoEmbedded and SDK AlfrescoRemote Projects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Alfresco wiki says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are two projects of particular importance:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SDK AlfrescoEmbedded - this project provides references to the libraries required for Alfresco Embedded use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDK AlfrescoRemote - this project provides references to the libraries required for Alfresco Remote use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Each of the sample projects depends on one of the above. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone please tell me where I can find these 2 projects?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Nov 2007 18:40:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/compiliation-problem-with-my-program-accessing-alfresco/m-p/147694#M103091</guid>
      <dc:creator>fantastic_ray</dc:creator>
      <dc:date>2007-11-25T18:40:43Z</dc:date>
    </item>
  </channel>
</rss>

