<?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 Web Service Integration Error in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/web-service-integration-error/m-p/231160#M184290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am integrationg my Application through Web service sapproach. The Alfresco server is on remote location.&amp;nbsp; I am able to create the session with Alfresco server, where I got the Authentication ticket as well. Now I suppose we have to use this ticket in each sub sequent calls to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco wsdls, in soap header. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the SOAP Header which I am using….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="&lt;/SPAN&gt;&lt;A href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow noopener noreferrer"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN&gt;" xmlns:ns="&lt;/SPAN&gt;&lt;A href="http://www.cmis.org/2008/05" rel="nofollow noopener noreferrer"&gt;http://www.cmis.org/2008/05&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;soapenv:Header&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;wsse&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://connect.hyland.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;ecurity xmlns:wsse="&lt;/SPAN&gt;&lt;A href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" rel="nofollow noopener noreferrer"&gt;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&lt;/A&gt;&lt;SPAN&gt;" mustUnderstand="1"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;wsu:Timestamp xmlns:wsu="&lt;/SPAN&gt;&lt;A href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" rel="nofollow noopener noreferrer"&gt;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;wsu:Created&amp;gt;2009-01-20T17:05:10.609Z&amp;lt;/wsu:Created&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;wsu:Expires&amp;gt;2010-01-20T20:05:22.609Z&amp;lt;/wsu:Expires&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/wsu:Timestamp&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;wsse:UsernameToken xmlns:wsu="&lt;/SPAN&gt;&lt;A href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" rel="nofollow noopener noreferrer"&gt;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;wsse:Username&amp;gt;admin&amp;lt;/wsse:Username&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;wsse&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;assword Type="&lt;/SPAN&gt;&lt;A href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText" rel="nofollow noopener noreferrer"&gt;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;TICKET_ce8e4b6190e652ecbe46af4ba11c3a3f977f1cb7&amp;lt;/wsse&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;assword&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/wsse:UsernameToken&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/wsse&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://connect.hyland.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;ecurity&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/soapenv:Header&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I am calling method "GetStores" from the WSDL : repository-service.wsdl.&amp;nbsp; However I am getting an exception as "Error processing WSDL document:&amp;nbsp; java.lang.NullPointerException". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly let me know the cause for this exception and resolution of the same.Also correct me if I am doing anyting wrong.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One more question is, how do we get the timestamp ? I used timestamp from the forum only.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a great time !!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Nov 2009 10:56:22 GMT</pubDate>
    <dc:creator>pal1984</dc:creator>
    <dc:date>2009-11-06T10:56:22Z</dc:date>
    <item>
      <title>Web Service Integration Error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-service-integration-error/m-p/231160#M184290</link>
      <description>Hi All,I am integrationg my Application through Web service sapproach. The Alfresco server is on remote location.&amp;nbsp; I am able to create the session with Alfresco server, where I got the Authentication ticket as well. Now I suppose we have to use this ticket in each sub sequent calls to Alfresco wsdls</description>
      <pubDate>Fri, 06 Nov 2009 10:56:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-service-integration-error/m-p/231160#M184290</guid>
      <dc:creator>pal1984</dc:creator>
      <dc:date>2009-11-06T10:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service Integration Error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-service-integration-error/m-p/231161#M184291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anyone who can reply to this post?&amp;nbsp; I am very new to Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please appreciate your quick help !!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2009 07:49:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-service-integration-error/m-p/231161#M184291</guid>
      <dc:creator>pal1984</dc:creator>
      <dc:date>2009-11-10T07:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service Integration Error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-service-integration-error/m-p/231162#M184292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Pal1984,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is there a reason why you don't use the alfresco web service library? You don't need to care about headers or whatever, just write code like &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ticket = authenticationService.authenticate("username", "password")&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Quite forward, ain't it? &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 09:47:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-service-integration-error/m-p/231162#M184292</guid>
      <dc:creator>tim-erwin</dc:creator>
      <dc:date>2009-11-11T09:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service Integration Error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-service-integration-error/m-p/231163#M184293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Tim-Erwin ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply. Actually I tried using the webservices APIs directly, but there is some compatibility issues with the tool-teamworks which is calling these API, does not recognise the outputs given by these APIs. But when I am calling through WSDL that tool makes it easy to map the input/output parameters. Hence that is the approach. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The WSDls are discovered by teamoworks, but suppose if I call simple getStores() method, I get below error which is related to some parsing, I do not underatnd why this is coming.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error processing WSDL document:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;WSDLException (at /wsdl:definitions/wsdl:types/schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at '/alfresco/wsdl/headers.xsd', relative to '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow noopener noreferrer"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;INSTALLED_SERVER&amp;gt;:8080/alfresco//wsdl/repository-service.wsdl'.: no content-type: java.net.UnknownServiceException: no content-type&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any suggestions?&amp;nbsp;&amp;nbsp; What are the exact steps to consume Alfresco web services?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 12:19:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-service-integration-error/m-p/231163#M184293</guid>
      <dc:creator>pal1984</dc:creator>
      <dc:date>2009-11-11T12:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Web Service Integration Error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-service-integration-error/m-p/231164#M184294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To be honest, I have no idea how to talk with Alfresco in SOAP directly, sorry. Can't you convert the web service types like result sets and so to what you need? Good luck…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 13:30:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-service-integration-error/m-p/231164#M184294</guid>
      <dc:creator>tim-erwin</dc:creator>
      <dc:date>2009-11-11T13:30:59Z</dc:date>
    </item>
  </channel>
</rss>

