Closed GoogleCodeExporter closed 8 years ago
The BPM container in which the method is executed is configured using
CARSAuthentication.
When I log the request that is done by the file poller it is:
<SOAP:Envelope
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header
xmlns="http://schemas.cordys.com/General/1.0/">
<receiver>
<component
xmlns="http://schemas.cordys.com/General/1.0/">cn=BPM - AZR Messaging,cn=soap nodes,o=system,cn=cordys,cn=development,o=gen.cms.local</component>
</receiver>
<sender>
<component
xmlns="http://schemas.cordys.com/General/1.0/">com.cordys.coe.ac.fileconnector.FileConnector Connector</component>
<reply-to
xmlns="http://schemas.cordys.com/General/1.0/">socket://cvzlact003.gen.cms.local:15067/</reply-to>
<user
xmlns="http://schemas.cordys.com/General/1.0/">cn=rvdkimmenade,cn=authenticated users,cn=cordys,cn=development,o=gen.cms.local</user>
</sender>
</header>
<i18n:international
xmlns:i18n="http://www.w3.org/2005/09/ws-i18n">
<locale
xmlns="http://www.w3.org/2005/09/ws-i18n">en-US</locale>
</i18n:international>
</SOAP:Header>
<SOAP:Body
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SendMessage
xmlns="http://www.zorgregistratie.nl/azr/schema/AZRMessagingService/v1">
<Metadata
xmlns="http://www.zorgregistratie.nl/azr/CDM/Metadata/v1">
<MessageID/>
<MessageName/>
<MessageType>AW317</MessageType>
<MessageVersion>3.0</MessageVersion>
<ConversationID/>
<RefMessageID/>
<MessageDescription/>
<Sender/>
<Receiver/>
<SentDate/>
</Metadata>
<Data>
<Message/>
</Data>
</SendMessage>
</SOAP:Body>
</SOAP:Envelope>
When I execute this within soapUI i get the result:
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="http://schemas.cordys.com/General/1.0/">
<sender>
<reply-to>cn=Business Process Management - AZR Messaging,cn=BPM - AZR Messaging,cn=soap nodes,o=system,cn=cordys,cn=development,o=gen.cms.local</reply-to>
<organizationalContext/>
<component>cn=BPM - AZR Messaging,cn=soap nodes,o=system,cn=cordys,cn=development,o=gen.cms.local</component>
</sender>
<receiver>
<component>cn=webgateway,cn=cordys,cn=development,o=gen.cms.local</component>
<sent-to>socket://host:15553/</sent-to>
</receiver>
<msg-id>00505699-0070-11e0-fd3b-33e83f539704</msg-id>
<license>License has expired since 10 day(s)</license>
</header>
</SOAP:Header>
<SOAP:Body>
<SOAP:Fault>
<faultcode xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/">ns0:Client</faultcode>
<faultstring xml:lang="en-US">Anonymous access is denied for the method 'SendMessage'.</faultstring>
<faultactor>http://www.zorgregistratie.nl/azr/AZRMessagingService/v1</faultactor>
<detail>
<cordys:FaultDetails xmlns:cordys="http://schemas.cordys.com/General/1.0/">
<cordys:LocalizableMessage>
<cordys:MessageCode>Cordys.ESBServer.Messages.anonymousAccessDenied</cordys:MessageCode>
<cordys:Insertion>SendMessage</cordys:Insertion>
</cordys:LocalizableMessage>
</cordys:FaultDetails>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
In this case no WS-Security header is added, so I think this is the problem.
Original comment by rvdkimme...@gmail.com
on 28 Sep 2011 at 1:59
The problem is solved by using the COBOC for executing the BPM directly.
Original comment by rvdkimme...@gmail.com
on 29 Sep 2011 at 8:13
The Poller configuration was not correct. After making changes to poller
configuration with
http://code.google.com/p/cordysfilecon/source/browse/tags/1.2.20/docs/external/s
amples/poller-config.xml as reference, the problem is solved.
Original comment by srkrish...@cordys.com
on 29 Sep 2011 at 8:58
Hi,
I have a similar problem, how do I pass the file path from the poller to my BPM
as input.
<configuration
xmlns:FCDP="http://schemas.cordys.com/coe/FileConnector/Poller/1.0">
<folder>
<name>BPM</name>
<location>C:/BPM</location>
<filter>*.txt</filter>
<track-time>10</track-time>
<trigger>
<method>RequestProcess</method>
<namespace>http://schemas.cordys.com/1.0/coboc</namespace>
<organization>o=interop,cn=cordys,cn=defaultInst,o=DEV1.sandbox.local</organization>
<user>cn=SYSTEM,cn=organizational users,o=interop,cn=cordys,cn=defaultInst,o=DEV1.sandbox.local</user>
<move-file>false</move-file>
<parameters>
<type>definition</type>
<receiver>org/nsfas/sbux/DirectoryPoller</receiver>
<message>
<InputMessage FCDP:element- data="filepath"/>
</message>
<source></source>
</parameters>
</trigger>
</folder>
</configuration>
Original comment by THULANI...@gmail.com
on 2 Jul 2013 at 6:39
Original issue reported on code.google.com by
rvdkimme...@gmail.com
on 28 Sep 2011 at 12:49