<?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 Re: UnsupportedOperationException when invoking a ws in workflow in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/unsupportedoperationexception-when-invoking-a-ws-in-workflow/m-p/38897#M20673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found out a way which is something like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;factory.setServiceClass(ChangePurchaseOrderPortType.class);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;factory.setAddress(wsdlString);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ChangePurchaseOrderPortType service = (ChangePurchaseOrderPortType) factory.create();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Object response = service.changePurchaseOrder((ChangePurchaseOrderRequestType)parameters.getValue(execution));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But this approach is tightly coupled with the operation name. Is there anyother way that you can suggest?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Apr 2011 20:47:52 GMT</pubDate>
    <dc:creator>bluerain</dc:creator>
    <dc:date>2011-04-09T20:47:52Z</dc:date>
    <item>
      <title>UnsupportedOperationException when invoking a ws in workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unsupportedoperationexception-when-invoking-a-ws-in-workflow/m-p/38893#M20669</link>
      <description>I am trying to invoke a webservice (soap 1.2 based) from my workflowand I am getting an error java.lang.UnsupportedOperationException: Only document-style SOAP 1.1 http are supported for auto-selection of endpoint; none were found.at org.apache.cxf.endpoint.ClientImpl.findEndpoint(ClientImpl.java:21</description>
      <pubDate>Wed, 06 Apr 2011 23:52:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unsupportedoperationexception-when-invoking-a-ws-in-workflow/m-p/38893#M20669</guid>
      <dc:creator>bluerain</dc:creator>
      <dc:date>2011-04-06T23:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: UnsupportedOperationException when invoking a ws in workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unsupportedoperationexception-when-invoking-a-ws-in-workflow/m-p/38894#M20670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is your code similar or identical? Have you tried searching on google since it does not seem Activiti related and the real error seems kind of clear.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 06:26:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unsupportedoperationexception-when-invoking-a-ws-in-workflow/m-p/38894#M20670</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-04-07T06:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: UnsupportedOperationException when invoking a ws in workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unsupportedoperationexception-when-invoking-a-ws-in-workflow/m-p/38895#M20671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes it is identical. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and what I think the reason for the error (found on google) is probably the webservice I am trying to invoke is a soap 1.2 compliant and I am using the JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Client client = dcf.createClient(wsdlString);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which is for soap 1.1 compliant…Hence the error !!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So my question is what is activiti way of invoking&amp;nbsp; a soap 1.2 compliant webservice?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 16:50:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unsupportedoperationexception-when-invoking-a-ws-in-workflow/m-p/38895#M20671</guid>
      <dc:creator>bluerain</dc:creator>
      <dc:date>2011-04-07T16:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: UnsupportedOperationException when invoking a ws in workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unsupportedoperationexception-when-invoking-a-ws-in-workflow/m-p/38896#M20672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One of the options is to do it from java like in the example but use the cxf soap 1.2 way… But I think you already figured that out, tried it and failed, right?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 17:00:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unsupportedoperationexception-when-invoking-a-ws-in-workflow/m-p/38896#M20672</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-04-07T17:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: UnsupportedOperationException when invoking a ws in workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unsupportedoperationexception-when-invoking-a-ws-in-workflow/m-p/38897#M20673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found out a way which is something like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;factory.setServiceClass(ChangePurchaseOrderPortType.class);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;factory.setAddress(wsdlString);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ChangePurchaseOrderPortType service = (ChangePurchaseOrderPortType) factory.create();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Object response = service.changePurchaseOrder((ChangePurchaseOrderRequestType)parameters.getValue(execution));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But this approach is tightly coupled with the operation name. Is there anyother way that you can suggest?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Apr 2011 20:47:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unsupportedoperationexception-when-invoking-a-ws-in-workflow/m-p/38897#M20673</guid>
      <dc:creator>bluerain</dc:creator>
      <dc:date>2011-04-09T20:47:52Z</dc:date>
    </item>
  </channel>
</rss>

