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>