Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
adicionou 4 caracteres ao conteúdo
Fonte Link
Icaro Martins
  • 4,3mil
  • 14
  • 24
  • 35

Boa tarde ,

Alguem sabe como criar uma procedure do SQL Server para executar um Webservice do fluig ?

http://SERVIDOR/webdesk/ECMWorkflowEngineService?wsdl'

http://SERVIDOR/webdesk/ECMWorkflowEngineService?wsdl' e o XML

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.workflow.ecm.technology.totvs.com/"> soapenv:Header/ soapenv:Body <ws:simpleStartProcess> usuario senha 1 processo GERADO VIA WS ? ? ? ? ? ? cid:702686015833 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? codigoProduto "Item" </ws:simpleStartProcess> </soapenv:Body> </soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.workflow.ecm.technology.totvs.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:simpleStartProcess>
         <username>usuario</username>
         <password>senha</password>
         <companyId>1</companyId>
         <processId>processo</processId>
         <comments>GERADO VIA WS</comments>
         <attachments>
            <!--Zero or more repetitions:-->
            <item>
               <attachmentSequence>?</attachmentSequence>
               <!--Zero or more repetitions:-->
               <attachments>
                  <!--Optional:-->
                  <attach>?</attach>
                  <!--Optional:-->
                  <descriptor>?</descriptor>
                  <!--Optional:-->
                  <editing>?</editing>
                  <!--Optional:-->
                  <fileName>?</fileName>
                  <!--Optional:-->
                  <fileSelected/>
                  <fileSize>?</fileSize>
                  <!--Optional:-->
                  <filecontent>cid:702686015833</filecontent>
                  <!--Optional:-->
                  <fullPatch>?</fullPatch>
                  <!--Optional:-->
                  <iconPath>?</iconPath>
                  <!--Optional:-->
                  <mobile>?</mobile>
                  <!--Optional:-->
                  <pathName>?</pathName>
                  <!--Optional:-->
                  <principal>?</principal>
               </attachments>
               <!--Optional:-->
               <colleagueId>?</colleagueId>
               <!--Optional:-->
               <colleagueName>?</colleagueName>
               <companyId>?</companyId>
               <!--Optional:-->
               <crc>?</crc>
               <!--Optional:-->
               <createDate>?</createDate>
               <!--Optional:-->
               <createDateTimestamp>?</createDateTimestamp>
               <!--Optional:-->
               <deleted>?</deleted>
               <!--Optional:-->
               <description>?</description>
               <!--Optional:-->
               <documentId>?</documentId>
               <!--Optional:-->
               <documentType>?</documentType>
               <!--Optional:-->
               <fileName>?</fileName>
               <!--Optional:-->
               <newAttach>?</newAttach>
               <!--Optional:-->
               <originalMovementSequence>?</originalMovementSequence>
               <!--Optional:-->
               <permission>?</permission>
               <processInstanceId>?</processInstanceId>
               <size>?</size>
               <!--Optional:-->
               <version>?</version>
            </item>
         </attachments>
         <cardData>
            <!--Zero or more repetitions:-->
            <item>
               <!--Zero or more repetitions:-->
               <item>codigoProduto</item>
               <item>"Item"</item>
            </item>
         </cardData>
      </ws:simpleStartProcess>
   </soapenv:Body>
</soapenv:Envelope>

Boa tarde ,

Alguem sabe como criar uma procedure do SQL Server para executar um Webservice do fluig ?

http://SERVIDOR/webdesk/ECMWorkflowEngineService?wsdl' e o XML

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.workflow.ecm.technology.totvs.com/"> soapenv:Header/ soapenv:Body <ws:simpleStartProcess> usuario senha 1 processo GERADO VIA WS ? ? ? ? ? ? cid:702686015833 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? codigoProduto "Item" </ws:simpleStartProcess> </soapenv:Body> </soapenv:Envelope>

Alguem sabe como criar uma procedure do SQL Server para executar um Webservice do fluig ?

http://SERVIDOR/webdesk/ECMWorkflowEngineService?wsdl'

e o XML

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.workflow.ecm.technology.totvs.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:simpleStartProcess>
         <username>usuario</username>
         <password>senha</password>
         <companyId>1</companyId>
         <processId>processo</processId>
         <comments>GERADO VIA WS</comments>
         <attachments>
            <!--Zero or more repetitions:-->
            <item>
               <attachmentSequence>?</attachmentSequence>
               <!--Zero or more repetitions:-->
               <attachments>
                  <!--Optional:-->
                  <attach>?</attach>
                  <!--Optional:-->
                  <descriptor>?</descriptor>
                  <!--Optional:-->
                  <editing>?</editing>
                  <!--Optional:-->
                  <fileName>?</fileName>
                  <!--Optional:-->
                  <fileSelected/>
                  <fileSize>?</fileSize>
                  <!--Optional:-->
                  <filecontent>cid:702686015833</filecontent>
                  <!--Optional:-->
                  <fullPatch>?</fullPatch>
                  <!--Optional:-->
                  <iconPath>?</iconPath>
                  <!--Optional:-->
                  <mobile>?</mobile>
                  <!--Optional:-->
                  <pathName>?</pathName>
                  <!--Optional:-->
                  <principal>?</principal>
               </attachments>
               <!--Optional:-->
               <colleagueId>?</colleagueId>
               <!--Optional:-->
               <colleagueName>?</colleagueName>
               <companyId>?</companyId>
               <!--Optional:-->
               <crc>?</crc>
               <!--Optional:-->
               <createDate>?</createDate>
               <!--Optional:-->
               <createDateTimestamp>?</createDateTimestamp>
               <!--Optional:-->
               <deleted>?</deleted>
               <!--Optional:-->
               <description>?</description>
               <!--Optional:-->
               <documentId>?</documentId>
               <!--Optional:-->
               <documentType>?</documentType>
               <!--Optional:-->
               <fileName>?</fileName>
               <!--Optional:-->
               <newAttach>?</newAttach>
               <!--Optional:-->
               <originalMovementSequence>?</originalMovementSequence>
               <!--Optional:-->
               <permission>?</permission>
               <processInstanceId>?</processInstanceId>
               <size>?</size>
               <!--Optional:-->
               <version>?</version>
            </item>
         </attachments>
         <cardData>
            <!--Zero or more repetitions:-->
            <item>
               <!--Zero or more repetitions:-->
               <item>codigoProduto</item>
               <item>"Item"</item>
            </item>
         </cardData>
      </ws:simpleStartProcess>
   </soapenv:Body>
</soapenv:Envelope>
Fonte Link

Como executar um Webservice WSDL a partir de uma Stored Procedure do SQL Server

Boa tarde ,

Alguem sabe como criar uma procedure do SQL Server para executar um Webservice do fluig ?

A idéia é criar um processo a partir da execução da Procedure

Lí sobre as Ole Automation Stored Procedures do SQL Server mas estou com dúvidas sobre como devo monta-las pois preciso passar a URL

http://SERVIDOR/webdesk/ECMWorkflowEngineService?wsdl' e o XML

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.workflow.ecm.technology.totvs.com/"> soapenv:Header/ soapenv:Body <ws:simpleStartProcess> usuario senha 1 processo GERADO VIA WS ? ? ? ? ? ? cid:702686015833 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? codigoProduto "Item" </ws:simpleStartProcess> </soapenv:Body> </soapenv:Envelope>

Alguem tem ideia de como fazer isso ?