TCP/IP Receive Handler Properties of TCP/IP Handler
I want to change the Use Blocking Sockets property of TCP Receive Handler but I am getting the following error in the screenshot:
Did anyone face the above error ?
I am using codeplex TCP/IP 2010 adapter.
Prakash
Hi Prakash,
With this adapter, this issue of error while changing the adapter handler properties is not jkust for "Use Blocking Sockets" but also to any other properties. Have just tried to update the other properties in adapter handler? I have it now and
I am getting the same error as your but while changing the values of any of the properties. Not just for the properties of Receive Handler but also for send handler. It’s for all the handler properties.
I think the issue is with the setup package. Its missing some of the dependant assemblies. One option I can suggestion is to rebuild the code and do the adapter deployment manually (or simply try by GACing all the dependant assemblies to start with)
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.
Similar Messages
-
Is it possible to change the the FILE Receive Handler from 32 bit to 64 bit of the running application? Because I receive a File which is extremely large in size, it is taking so many days to receive the File from the receive location. I wanted to change
the FILE adapter with 64 bit receive handler, since it is production I am concerned to stop the application and change the handler. Does it affect the process.Hello,
All components of BizTalk works on streaming concept. As per your requirement you are not using any internal feature of BizTalk for message processing. Then you have to think for other solution as you are just using custom pipeline for file transfer. If
you are planning to implement any pipeline for handling large file, it is always good to go with streaming concept rather than reading the data.
Yes you will get some performance boost by using 64 bit host, which does have a slight performance overhead. As you are using 64-bit OS and BizTalk it is advisable to use 64-bit host instances for better performance. But there can be limitations with some
adapters and components (like FTP, BAM) and only run on 32-bit, in this case you can go for 32-bit host instance.
You can test the transferring of file using passthourgh pipeline. I think so you will be able to transfer file in hr rather than few day. As you are only transferring the file BizTalk will read only chunk of data at a time. But the only drawback to
it you are going to publish message in BizTalk. And BizTalk is not built for file transfer.
http://social.technet.microsoft.com/wiki/contents/articles/30763.streaming-concept-in-biztalk-part1.aspx -
Axis adapter receiver handle fault message
Hi
We have a Sync interface which makes a Proxy call from ECC to PI 7.3 and then PI makes Soap(Axis) Sync call to Web sevice. We are having issues when handling SOAP 1.2 fault message.
Below is the actual fault response from Webserver:
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Header/>
<env:Body>
<env:Fault>
<env:Code>
<env:Value>env:Receiver</env:Value>
</env:Code>
<env:Reason>
<env:Text xml:lang="en">FaultMsg</env:Text>
</env:Reason>
<env:Detail>
<ns2:servicefault xmlns:ns2="https://hostname.de/webservice/0400-0005">
</ns2:servicefault>
</env:Detail>
</env:Fault>
</env:Body>
</env:Envelope>
But PI receives this response like system error:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Inbound Message
-->
- <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: FaultMsg</SAP:AdditionalText>
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I checked this way http://scn.sap.com/thread/1675917 but it doesn't fit for Axis adapter.
Please let me for any clues how to handle this fault response.
Regards, DzmitryHi,
I'm working with Dzmitry on the issue since last week. After analyzing the implementation and checking some SAP notes I came to the following conclusion:
According to note 856597 the fault behavior of axis adapter is as follows:
" A: The receiver adapter expects a SOAP message as response. For
synchrnous calls, a successful response should be returned with
HTTP 200. In this case, the content of the SOAP body will be
returned to the caller as the response payload. When some error
occurs, the SOAP message may contain the SOAP fault element. In
this case, when the fault detail element is not empty, its
content will be returned as the fault payload in an application
error message. For others, a system error message will be
returned to the caller."
The example shows a SOAP 1.1 fault message with a "detail" node being mapped to an application fault.
As we are using SOAP 1.2 the namespace as well as structure of the fault defers. I assume that the module responsible for the transformation from AXIS message to XI message within the module chain does not recognize the detail node on out soap 1.2 fault.
Therefore the solution would be to insert a custom AXIS handler before com.sap.aii.axis.xi.XI30OutboundHandle mapping the soap 1.2 fault to a soap 1.1 fault.
Is there something like a short how to on how to implement Axis handler and how to deploy it. Sap help only says to package it into sda file....
Thanks a lot in advance!!!
BR,
Eugen -
JDBC Receiver : Handling NULL return from SELECT query
Hi All,
I have a Proxy <-> XI <-> JDBC synchronous scenario. I have designed my message mapping to perform a select query using JDBC receiver adapter. The request message mapping structure at the JDBC end is as follows.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Matmvmt_Jdbc_Request xmlns:ns0="http://esag.com/xi/bat/MatMovementRead">
<StatementSelect>
<Tablename action="SELECT">
<Table>MM_DATA</Table>
<access>
<SEQNO/>
<MATERIAL/>
<UOM/>
<SOLDQTY/>
<SAPUPD/>
</access>
<key compareOperation="EQ">
<SAPUPD>N</SAPUPD>
</key>
</Tablename>
</StatementSelect>
</ns0:MT_Matmvmt_Jdbc_Request>
The scenario works fine when there are records matching the select condition, but when there are no records matching the select condition (i.e. if there are no record with value SAPUPD = 'N' ) then my response message is returning the empty message strucuture as given below.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Matmvmt_Jdbc_Request_response xmlns:ns0="http://esag.com/xi/bat/MatMovementRead">
<StatementSelect_response/>
</ns0:MT_Matmvmt_Jdbc_Request_response>
My requirement is that if there are no records matching the select condition then my response message should look like below.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Matmvmt_Jdbc_Request_response xmlns:ns0="http://esag.com/xi/bat/MatMovementRead">
<StatementSelect_response>
<row>
<SEQNO/>
<MATERIAL/>
<UOM/>
<SOLDQTY/>
<SAPUPD/>
</row>
</StatementSelect_response>
</ns0:MT_Matmvmt_Jdbc_Request_response>
Note : I have made the occurence of the request and response message elements as miniccurs = 0 and maxoccurs = 1.
Any inputs in this regard will be highly appreciated.
Regards,
SandeepHi Sandeep,
you can not expect structure like <?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Matmvmt_Jdbc_Request_response xmlns:ns0="http://esag.com/xi/bat/MatMovementRead">
<StatementSelect_response>
<row>
<SEQNO/>
<MATERIAL/>
<UOM/>
<SOLDQTY/>
<SAPUPD/>
</row>
</StatementSelect_response>
</ns0:MT_Matmvmt_Jdbc_Request_response>
if there is no data in table. The response which you are geting is standard format which you can not change. Instead you map this response with mapwithdefault node function while mapping to target to make the response mapping success, even though there is no data in response message.
thanks,
madhu -
Unable to enable receive location
Hi I received these 3 errors in my application log
The receive location "ResendReceiveLocation" with URL "SQL://SQL/BAMPrimaryImport/" is shutting down. Details:"The receive adapter on this receive location is not supported on 64-bit host instances. Please make sure
that the receive adapter is associated with a 32-bit only handler. ".
The receive location "BatchControlMessageRecvLoc" with URL "SQL://SQL/BizTalkMgmtDb/" is shutting down. Details:"The receive adapter on this receive location is not supported on 64-bit host instances. Please make sure that the receive
adapter is associated with a 32-bit only handler. ".
The Messaging Engine failed to add a receive location "Rec_Loc" with URL "C:\IN\*.*" to the adapter "FILE". Reason: "File transport does not have read/write privileges for receive location "C:\IN\". ".
ChristianeI added new send and receive handler to sql and wcf custom adapters and pointed them to the BiztalkServer 32 bit host/host instance and it worked.
Now I still have the receive location errors for one of my applications
The receive location "Rec_Loc" with URL "C:\IN\*.*" is shutting down. Details:"The Messaging Engine failed while notifying an adapter of its configuration. ".
The Messaging Engine failed to add a receive location "Rec_Loc" with URL "C:\IN\*.*" to the adapter "FILE". Reason: "File transport does not have read/write privileges for receive location "C:\IN\". ".
File transport does not have read/write privileges for receive location "C:\IN\".
Do I need to give the host instance user ?
Christiane -
Applescript active chat message received twice
I have an Applescript handler attached to Messages, and in the script I have defined actions in the "active chat message received" handler.
However, whenever a message is received in an active chat, the "active chat message received" handler is launched twice.
Does anybody know why this happens and how it can be avoided?
Many thanks!It's fake. Ignore it.
And if it were me, I'd tell the sender to leave you off any future silly broadcast messages.
Or delete that contact.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
hi,
while doing HU02 getting error " ILN for plant 2000 not found"
actually after production order with ref to packing instruction we received handling units next level with ref to handling units we
are doing handling units kindly provide any document related to this process. this two steps doing before GR only
thanks in advance
ChanduHi,
Yes you are right, the above requirement shall be addressed by using Handling units.
Please refer the below link for more info
http://wiki.scn.sap.com/wiki/display/ERPSCM/HU+Creation+on+HU+Managed+Storage+Location
If you are going to receive the materials in Pallets (i.e. with Packaging) then better follow the Inbound Delivery route.
As per std. SAP process, when you receive the material with pallets in a HU Storage location system will automatically create an inb.delivery.
Refer the below thread
http://scn.sap.com/thread/1630703
Materials with Pallets you can receive in HU location and others you can receive in a different SLoc. After Unpacking, you can automatically move the materials to a different (SLoc) where 311 mov. will be posted automatically.
Thanks,
Ram -
Windows Update Error code 80072ee2
I am running Windows 7 Home Premium 64 bit and I keep getting the error code 80072ee2 Windows could not search for Updates. I know there are several other posts but none of them are helping me. I have tried the steps from microsoft but nothing worked. Please
help.
I am seriously thinking about going back to XP
Dell Inspirion 580
OS: Windows 7 Home Premium 64-bit
2.67 GHz
Intel (R) Core (TM)i5 CPUHi MowGreen,
I'm sure you have guessed by the log pasted below, that the MS Safety Scanner did not find anything to correct on my computer.
I believe the first line is the version information you were requesting be included in the log. Your help has been Mowst appreciated.
Thanks, ZG
9/6/2012
21:10:28:519
1124
1984
Report
WER Report sent: 7.6.7600.256 0x80246008 5F64A8C3-B42C-48F7-9925-0429E9C548D2 Download 101 Unmanaged
9/6/2012
21:10:28:550
1124
1984
Report
CWERReporter::HandleEvents - WER report upload completed with status 0x8
9/6/2012
21:10:28:550
1124
1984
Report
WER Report sent: 7.6.7600.256 0x80246008 6C35C3C6-E8A6-4C26-AD5A-2B12C6097919 Download 101 Unmanaged
9/6/2012
21:10:28:550
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:28:566
1124
1b70
AU
>>## RESUMED ## AU: Download update [UpdateId = {CC0ADE33-EC3B-4D16-A281-338396F58DCB}]
9/6/2012
21:10:28:566
1124
1b70
AU
# WARNING: Download failed, error = 0x80246008
9/6/2012
21:10:28:566
1124
1984
Report
CWERReporter::HandleEvents - WER report upload completed with status 0x8
9/6/2012
21:10:28:566
1124
1984
Report
WER Report sent: 7.6.7600.256 0x80246008 024F10D4-B471-422D-B393-39456CBA18D8 Download 101 Unmanaged
9/6/2012
21:10:28:582
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:28:582
1124
1b70
AU
Currently showing Progress UX client - so not launching any other client
9/6/2012
21:10:28:597
1124
1984
Report
CWERReporter::HandleEvents - WER report upload completed with status 0x8
9/6/2012
21:10:28:597
1124
1984
Report
WER Report sent: 7.6.7600.256 0x80246008 A114A5E9-DB76-43EF-8430-0A556240C6E9 Download 101 Unmanaged
9/6/2012
21:10:28:597
1124
1984
Report
CWERReporter finishing event handling. (00000000)
9/6/2012
21:10:28:613
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:28:613
1124
1b70
AU
>>## RESUMED ## AU: Download update [UpdateId = {41F7683B-E86D-4181-8A0E-D54B8072E290}]
9/6/2012
21:10:28:613
1124
1b70
AU
# WARNING: Download failed, error = 0x80246008
9/6/2012
21:10:28:613
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:28:628
1124
1b70
AU
Currently showing Progress UX client - so not launching any other client
9/6/2012
21:10:28:644
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:28:675
1124
1b70
AU
>>## RESUMED ## AU: Download update [UpdateId = {145FE545-BF00-427A-B87C-9C554830CE50}]
9/6/2012
21:10:28:675
1124
1b70
AU
# WARNING: Download failed, error = 0x80246008
9/6/2012
21:10:28:691
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:28:691
1124
1b70
AU
Currently showing Progress UX client - so not launching any other client
9/6/2012
21:10:28:691
1124
1984
Report
CWERReporter finishing event handling. (00000000)
9/6/2012
21:10:28:738
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:28:753
1124
1b70
AU
>>## RESUMED ## AU: Download update [UpdateId = {AFDCB546-0D0D-48E7-BD0C-EDAE3E15573D}]
9/6/2012
21:10:28:753
1124
1b70
AU
# WARNING: Download failed, error = 0x80246008
9/6/2012
21:10:28:769
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:28:769
1124
1b70
AU
Currently showing Progress UX client - so not launching any other client
9/6/2012
21:10:28:800
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:28:816
1124
1b70
AU
>>## RESUMED ## AU: Download update [UpdateId = {BCBB3F8F-80B6-4B04-84B5-4D28B1E5DCC6}]
9/6/2012
21:10:28:816
1124
1b70
AU
# WARNING: Download failed, error = 0x80246008
9/6/2012
21:10:28:816
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:28:816
1124
1b70
AU
Currently showing Progress UX client - so not launching any other client
9/6/2012
21:10:28:847
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:28:894
1124
1b70
AU
>>## RESUMED ## AU: Download update [UpdateId = {FA090999-3B89-4DD1-82B2-6E16B0841E24}]
9/6/2012
21:10:28:894
1124
1b70
AU
# WARNING: Download failed, error = 0x80246008
9/6/2012
21:10:28:909
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:28:909
1124
1b70
AU
Currently showing Progress UX client - so not launching any other client
9/6/2012
21:10:28:925
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:28:956
1124
1b70
AU
>>## RESUMED ## AU: Download update [UpdateId = {1A56B5AF-C1B0-4D82-BF13-296BAB975FA5}]
9/6/2012
21:10:28:956
1124
1b70
AU
# WARNING: Download failed, error = 0x80246008
9/6/2012
21:10:28:956
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:28:972
1124
1b70
AU
Currently showing Progress UX client - so not launching any other client
9/6/2012
21:10:29:018
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:29:050
1124
1b70
AU
>>## RESUMED ## AU: Download update [UpdateId = {5F64A8C3-B42C-48F7-9925-0429E9C548D2}]
9/6/2012
21:10:29:050
1124
1b70
AU
# WARNING: Download failed, error = 0x80246008
9/6/2012
21:10:29:065
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:29:065
1124
1b70
AU
Currently showing Progress UX client - so not launching any other client
9/6/2012
21:10:29:065
1124
1984
Report
CWERReporter finishing event handling. (00000000)
9/6/2012
21:10:29:065
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:29:112
1124
1b70
AU
>>## RESUMED ## AU: Download update [UpdateId = {6C35C3C6-E8A6-4C26-AD5A-2B12C6097919}]
9/6/2012
21:10:29:112
1124
1b70
AU
# WARNING: Download failed, error = 0x80246008
9/6/2012
21:10:29:128
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:29:128
1124
1b70
AU
Currently showing Progress UX client - so not launching any other client
9/6/2012
21:10:29:143
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:29:174
1124
1b70
AU
>>## RESUMED ## AU: Download update [UpdateId = {024F10D4-B471-422D-B393-39456CBA18D8}]
9/6/2012
21:10:29:174
1124
1b70
AU
# WARNING: Download failed, error = 0x80246008
9/6/2012
21:10:29:190
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:29:190
1124
1b70
AU
Currently showing Progress UX client - so not launching any other client
9/6/2012
21:10:29:190
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:29:206
1124
1b70
AU
>>## RESUMED ## AU: Download update [UpdateId = {A114A5E9-DB76-43EF-8430-0A556240C6E9}]
9/6/2012
21:10:29:206
1124
1b70
AU
# WARNING: Download failed, error = 0x80246008
9/6/2012
21:10:29:206
1124
1b70
AU
AU checked download status and it changed: Downloading is paused
9/6/2012
21:10:29:206
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:29:206
1124
1b70
AU
Currently showing Progress UX client - so not launching any other client
9/6/2012
21:10:29:221
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:30:173
1124
478
AU
BeginInteractiveInstall invoked for Install
9/6/2012
21:10:30:173
1124
478
AU
Auto-approved 0 update(s) for install (for Ux), installType=0
9/6/2012
21:10:30:173
1124
478
AU
WARNING: BeginInteractiveInstall failed, error = 0x8024000C
9/6/2012
21:10:30:641
1124
181c
AU
AU received handle event
9/6/2012
21:10:30:641
1124
181c
AU
No featured updates notifications to show
9/6/2012
21:10:30:641
1124
181c
AU
UpdateDownloadProperties: 1 download(s) are still in progress.
9/6/2012
21:10:30:641
1124
181c
AU
WARNING: Failed to change download properties of call, error = 0x80070057
9/6/2012
21:10:30:641
1124
181c
AU
Triggering Offline detection (non-interactive)
9/6/2012
21:10:30:641
1124
181c
AU
AU setting pending client directive to 'Install Complete Ux'
9/6/2012
21:10:30:641
1124
181c
AU
WARNING: Pending directive, 'Install Complete Ux', is not applicable
9/6/2012
21:10:30:641
1124
181c
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:30:641
1124
181c
AU
9/6/2012
21:10:30:641
1124
181c
AU
## START ## AU: Search for updates
9/6/2012
21:10:30:641
1124
181c
AU
9/6/2012
21:10:30:672
1124
181c
AU
<<## SUBMITTED ## AU: Search for updates [CallId = {20F11704-E4BA-4C5C-AEC5-50B82EF637A5}]
9/6/2012
21:10:30:672
1124
1984
Agent
9/6/2012
21:10:30:672
1124
1984
Agent
** START ** Agent: Finding updates [CallerId = AutomaticUpdates]
9/6/2012
21:10:30:672
1124
1984
Agent
9/6/2012
21:10:30:672
1124
1984
Agent
* Online = No; Ignore download priority = No
9/6/2012
21:10:30:672
1124
1984
Agent
* Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation' or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and
DeploymentAction='Uninstallation' and RebootRequired=1"
9/6/2012
21:10:30:672
1124
1984
Agent
* ServiceID = {7971F918-A847-4430-9279-4A52D1EFE18D} Third party service
9/6/2012
21:10:30:672
1124
1984
Agent
* Search Scope = {Machine}
9/6/2012
21:10:35:891
1124
181c
AU
No pending client directive
9/6/2012
21:10:40:984
1124
1984
Agent
WARNING: Failed to evaluate Installed rule, updateId = {818701AF-1182-45C2-BD1E-17068AD171D6}.101, hr = 80242013
9/6/2012
21:10:42:748
1124
1984
Agent
* Added update {1BDDBE8D-16EF-4E1D-A8EB-826691A014F6}.101 to search result
9/6/2012
21:10:42:748
1124
1984
Agent
* Added update {3F08EED3-8FC3-4253-8FA9-F301430C4B24}.101 to search result
9/6/2012
21:10:42:748
1124
1984
Agent
Update {7EBDB020-BD62-4790-AF2B-DFB52E42F91F}.104 is pruned out due to potential supersedence
9/6/2012
21:10:42:748
1124
1984
Agent
* Added update {D5FD720E-0F2C-4363-AA87-6AD4A6D11B0E}.105 to search result
9/6/2012
21:10:42:748
1124
1984
Agent
Update {E2B689E4-DF53-4FCF-BBA7-F4174F30D763}.105 is pruned out due to potential supersedence
9/6/2012
21:10:42:748
1124
1984
Agent
* Added update {FA090999-3B89-4DD1-82B2-6E16B0841E24}.107 to search result
9/6/2012
21:10:42:748
1124
1984
Agent
* Added update {BCBB3F8F-80B6-4B04-84B5-4D28B1E5DCC6}.107 to search result
9/6/2012
21:10:42:748
1124
1984
Agent
* Added update {6C35C3C6-E8A6-4C26-AD5A-2B12C6097919}.104 to search result
9/6/2012
21:10:42:748
1124
1984
Agent
Update {71F60E65-AC13-4EA3-8651-AE4E72188DB2}.100 is pruned out due to potential supersedence
9/6/2012
21:10:42:748
1124
1984
Agent
* Added update {41F7683B-E86D-4181-8A0E-D54B8072E290}.100 to search result
9/6/2012
21:10:42:748
1124
1984
Agent
* Added update {C7C2C625-E811-43B2-A6F6-29A86848B7BD}.100 to search result
9/6/2012
21:10:42:748
1124
1984
Agent
* Added update {AFDCB546-0D0D-48E7-BD0C-EDAE3E15573D}.101 to search result
9/6/2012
21:10:42:748
1124
1984
Agent
* Added update {145FE545-BF00-427A-B87C-9C554830CE50}.102 to search result
9/6/2012
21:10:42:749
1124
1984
Agent
* Added update {6252C914-64DF-49CE-8EBF-8CD3C6B3E0D9}.101 to search result
9/6/2012
21:10:42:749
1124
1984
Agent
* Added update {B4413613-7062-4F6B-A1E4-7A957409A51F}.101 to search result
9/6/2012
21:10:42:749
1124
1984
Agent
* Added update {A114A5E9-DB76-43EF-8430-0A556240C6E9}.100 to search result
9/6/2012
21:10:42:749
1124
1984
Agent
* Added update {024F10D4-B471-422D-B393-39456CBA18D8}.100 to search result
9/6/2012
21:10:42:749
1124
1984
Agent
* Added update {5F64A8C3-B42C-48F7-9925-0429E9C548D2}.100 to search result
9/6/2012
21:10:42:749
1124
1984
Agent
* Added update {CC0ADE33-EC3B-4D16-A281-338396F58DCB}.101 to search result
9/6/2012
21:10:42:749
1124
1984
Agent
* Added update {8FF20708-AEEF-4F79-B3C1-23905E105D41}.100 to search result
9/6/2012
21:10:42:749
1124
1984
Agent
* Added update {1A56B5AF-C1B0-4D82-BF13-296BAB975FA5}.101 to search result
9/6/2012
21:10:42:749
1124
1984
Agent
* Found 18 updates and 74 categories in search; evaluated appl. rules of 1103 out of 1964 deployed entities
9/6/2012
21:10:42:780
1124
1984
Agent
9/6/2012
21:10:42:780
1124
1984
Agent
** END ** Agent: Finding updates [CallerId = AutomaticUpdates]
9/6/2012
21:10:42:780
1124
1984
Agent
9/6/2012
21:10:42:807
1124
1b70
AU
>>## RESUMED ## AU: Search for updates [CallId = {20F11704-E4BA-4C5C-AEC5-50B82EF637A5}]
9/6/2012
21:10:42:807
1124
1984
Report
CWERReporter finishing event handling. (00000000)
9/6/2012
21:10:42:807
1124
1b70
AU
# 18 updates detected
9/6/2012
21:10:42:808
1124
1b70
AU
9/6/2012
21:10:42:808
1124
1b70
AU
## END ## AU: Search for updates [CallId = {20F11704-E4BA-4C5C-AEC5-50B82EF637A5}]
9/6/2012
21:10:42:808
1124
1b70
AU
9/6/2012
21:10:42:808
1124
1b70
AU
No featured updates notifications to show
9/6/2012
21:10:42:809
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:42:812
1124
1b70
AU
Successfully wrote event for AU health state:0
9/6/2012
21:10:42:815
1124
18c0
AU
Getting featured update notifications. fIncludeDismissed = true
9/6/2012
21:10:42:815
1124
18c0
AU
No featured updates available.
9/6/2012
21:10:47:808
1124
1984
Report
CWERReporter finishing event handling. (00000000) -
Error when using 64-bit host in send port
Guys,
I am trying out a simple message routing scenario. I have created a send pipeline and have used the MIME/SMIME component in the encoding stage of the pipeline. My application has a receive and a send port with receive port configured to receive *.xml documents
and is using XMLReceive pipeline. My send port uses the pipeline I have explained above and contains a filter to BTS.ReceivePortName=="[receive port in the application]". The send port is also configured to use a certificate. The send handler is the 64-bit
BizTalk host. When I drop a message in the receive port, message in the send port gets suspended with error "Retrieving the COM class factory for component with CLSID {254B4003-2AA7-4C82-BB2E-18BA7F22DCD2} failed due to the following error: 80040154
Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
" However when I use a 32-bit host message on the send port gets encrypted as I expect. Has anyone faced this issue before and found a solution? BTW I am using BTS 2010 on 64-bit machinehttp://msdn.microsoft.com/en-us/library/aa559177(BTS.10).aspx
This occurs because the MIME pipeline component is not supported in a 64-bit host instance. To resolve this, the host associated with the send and receive handler for the file adapter must be configured as a 32-bit only host. For more information on this
see How to Modify Host Properties. If you already have a 32-bit only host configured on the system and want to use it see Configuring the File Adapter for instructions on configuring the host(s) associated to the file adapter’s send and receive handler.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP -
BizTalk 2009 SQL WCF Adapter Losing Messages? AKA TypedPolling Not Working
Can anybody help me with this amazingly frustrating issue? Firstly, the basiscs. I'm using BizTalk 2009 Standard Edition hosted on Windows Server 2008
Standard (64 bit). The BizTalk databases are stored on a seperate server, running SQL Server 2008 on Windows Server 2008 Enterprise (64 bit).
I have configured a WCF SQL adapter to poll (using TypedPolling) a SQL 2008 database which in turn activates a relatively simple orchestration. The problem
is that the orchestration does not get executed at the specified polling intervals. I have several other similar polling adapters in my application that work
as expected. Generally it will run correctly once or twice after enabling/disabling the receive location or restarting the host instance. But after that it
is completely erratic. If I have it set to run every hour (3600 secs), it might complete succssfully once or twice a day at seemingly random times. On other
days it might run seven or eight times during a day.
I've spent heaps of time reading blogs and changing various settings on my receive location and have really run out of ideas. I've profiled SQL Server and it
seems that the WCF SQL adapter does hit the database at each polling period as specified, using both the polledDataAvailableStatement and the
pollingStatement. Data is always returned by these queries (a small amount - around 30 records), but they just don't seem to get to the message box. No
errors are ever reported in the Event Log.
I use a stored procedure for determining if data is available and for returning data. They are both effectively the same statement, one returns a count
whilst the other returns the data. The queries are using cross server joins as you can see below. Although I do no updates, it seems that I have to run the
receive location with AmbientTransactions turned on. Turning them off just results in a SQL Timeout exception. I don't understand why this is and would be
grateful if someone could explain.
Data Available (contained in a stored proc):
SELECT COUNT(*)
FROM [LMNZLSQL002\AX].[LMNZ_AX_LIVE].[dbo].[CRM_CUSTTRANS_ITG] WITH (NOLOCK)
WHERE (TRANSTYPE = 8 OR TRANSTYPE = 13)
AND SETTLEAMOUNTCUR > 0
AND CUSTFEEINVOICETRANSACTION30005 IS NOT NULL
AND CUSTFEEINVOICETRANSACTION30005 <> ''
AND CUSTFEEINVOICETRANSACTION30005 IN
SELECT F.FeeId
FROM [dbo].[Fees] F WITH (NOLOCK)
WHERE F.FeeStatus = 3 --Unpaid
AND F.Payer IS NOT NULL
Select Data (contained in a stored proc):
SELECT ACCOUNTNUM, CUSTFEEINVOICETRANSACTION30005, AMOUNTCUR, SETTLEAMOUNTCUR
FROM [LMNZLSQL002\AX].[LMNZ_AX_LIVE].[dbo].[CRM_CUSTTRANS_ITG] WITH (NOLOCK)
WHERE (TRANSTYPE = 8 OR TRANSTYPE = 13)
AND SETTLEAMOUNTCUR > 0
AND CUSTFEEINVOICETRANSACTION30005 IS NOT NULL
AND CUSTFEEINVOICETRANSACTION30005 <> ''
AND CUSTFEEINVOICETRANSACTION30005 IN
SELECT F.FeeId
FROM [dbo].[Fees] F WITH (NOLOCK)
WHERE F.FeeStatus = 3 --Unpaid
AND F.Payer IS NOT NULL
ORDER BY ACCOUNTNUM,CUSTFEEINVOICETRANSACTION30005
At one time I suspected that the issue may be related to database locking. So, as you can see, I've added NOLOCK locking hints to rule this out. I'm also
using a Service Behaviour (SqlAdapterInboundTransactionBehaviour) declaring a transaction level of ReadUncommitted. Obviousy I'd like to move away from the
possibility of dirty reads. Also, I've checked the SQL activity monitors when I expect the process to run and can see no locks holding it up. Also, I can
freely execute the stored procedures from SQL Management Studio at these times.
I'm not too experienced at monitoring BizTalk, but I wondered if some kind of throttling was occuring. So I've moved the receive location (and the
orchestration that doesn't always get initiated) to its own host instance and have done some monitoring via the performance counters in perfmon. I haven't
spotted any thottling going on, but maybe I wasn't looking at the correct counters (mainly used the Message Agent items).
Here's a summary of the receive location properties:
Transport: WCF-Custom
Receive Handler: AXPaymentsToFeesEngine (this host instance only hosts this receive location and the orchestration it should be activating).
Receive pipeline: XmlReceive
General tab:
EndpointAddress: mssql://lmnzlsql003/CRM/FeesEngine?InboundId=PaidInAXUnpaidInFeesEngine
Endpoint Identity - all default values
Binding Tab:
Binding Type: sqlBinding
allowIdentityInsert: False
batchSize: 20
chunkSize: 4194304
enableBizTalkCompatibilityMode: True
enablePerformanceCounters: False
encrypt: False
inboundOperationType: TypedPolling
maxConnectionPoolSize: 100
notificationStatement: Not specified
notifyListenersOnStart: True
polledDataAvailableStatement: EXEC [dbo].[bts_PollForAXFeePaymentsNotPresentInFeesEngine_IsDataAvailable]
polledIntervalInSeconds: 3600
pollingStatement: EXEC [dbo].[bts_GetFeesMarkedUnpaidThatHaveBeenPaidInAX]
pollWhileDataFound: False
UseAmbientTransaction: True
useDatabaseNameInXsdNamespace: False
workstationId: Not specified
xmlStoredProcedureRootNodeName: Not specified
xmlStoredProcedureRootNodeNamespace: Not specified
All timeouts: 5 mins.
Behaviour Tab
ServiceBehaviour - sqlAdapterInboundTransactionBehaviour, ReadUncommitted, timeout mins
Other Tab:
Credentials: None
Preserve message order: False
Mesages Tab:
Inbound BizTalk message body: Body
Error handling: All disabled
Thanks in advance,
MarkThanks everyone for your input on this. None of the suggestions actually seemed to solve our specific issue, and we ended up raising a support call with Microsoft. They got us to use some tracing tools that are not publically available and it turns out that
there was a problem with the underlying WCF commnications channel, which was not visible via the usual windows event logs. They suggested a solution that, although very counter-intuitive, seems to have resolved our problem; set the ReceiveTimeout property
of the receive adapter to <!-- /* Font Definitions */ @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:宋体; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 680460288 22 0 262145
0;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-alt:"Calisto MT"; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face
{font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-alt:"Arial Rounded MT Bold"; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face {font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 680460288 22 0 262145 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes;
mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman","serif"; mso-fareast-font-family:SimSun; mso-fareast-language:ZH-CN;} .MsoChpDefault {mso-style-type:export-only;
mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.WordSection1
{page:WordSection1;} -->
24.20:31:23.6470000 and restart the service host.
Here's the underlying exception:
<!-- /* Font Definitions */ @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:宋体; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 680460288 22 0 262145 0;} @font-face {font-family:"Cambria
Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-alt:"Calisto MT"; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15
5 2 2 2 4 3 2 4; mso-font-alt:"Arial Rounded MT Bold"; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face {font-family:"\@SimSun"; panose-1:2 1 6
0 3 1 1 1 1 1; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 680460288 22 0 262145 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:"";
margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman","serif"; mso-fareast-font-family:SimSun; mso-fareast-language:ZH-CN;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes;
font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.WordSection1 {page:WordSection1;}
-->
[0]1E2C.21C4::07/07/2010-4:52:25.804 [CSharp]:[Wcf] BtsErrorHandler.HandleError called with Exception: System.ServiceModel.CommunicationObjectAbortedException:
The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it has been Aborted.
at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrImmutable()
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open()
at System.ServiceModel.Dispatcher.ChannelHandler.InitializeServiceChannel(ServiceChannel channel)
at System.ServiceModel.Dispatcher.ChannelHandler.GetSessionChannel(Message message, EndpointDispatcher& endpoint, Boolean& addressMatched)
at System.ServiceModel.Dispatcher.ChannelHandler.EnsureChannelAndEndpoint(RequestContext request)
at System.ServiceModel.Dispatcher.ChannelHandler.TryRetrievingInstanceContext(RequestContext request). -
IPhone (SDK 6): AudioQueue still wonky-can't play mp3
I have an mp3 streaming app up and running (sortof).
Initially I set things up in "VBR" mode, which requires supplying packet descriptions for each frame supplied to the queue. That worked (??). Mostly. I was getting some dropouts and other flaky behaviour, but it gave me something to demo.
Note that this is a CBR stream. So then I set up things to handle CBR, which is much simpler.
So I have a call similar to this:
status=AudioQueueEnqueueBuffer(inAQ, inCompleteAQBuffer,0, NULL);
This does not work. My connectLoop is as follows taken from the audio queue example code:
do
loopError=CFRunLoopRunInMode(kCFRunLoopDefaultMode,0.25,false);
}while(!m_myInfo.mDone);
When working, my audio callback routine is regularly called when the queue is ready for more data. When it is not working using the CBR approach the callback is NEVER called. It is as if somewhere along the line it gets gummed up, or is not initialized properly, even though the CBR method is less involved so should be harder to make mistakes.
Is there any gotcha here that is easy to overlook? The format data is retrieved from a call to to AudioFileGetProperty(), also per the example. So in theory, that should be all I need.
Any ideas?Hi, here is what I have got so far with regards to streaming and playing an MP3..
I hope it helps some people, and I hope some people can help me!
First, I define a custom data structure to hold stuff throughout..
typedef struct {
AudioFileStreamID audioFileStream;
AudioStreamBasicDescription mDataFormat;
AudioQueueRef mQueue;
CFReadStream readStream;
UInt32 mNumPackets;
AudioStreamPacketDescription *mPacketDescs;
} CustomData;
CustomData customData;
I also set up an AudioQueue with a callback..
AudioQueueNewOutput(&customData.mDataFormat,
AudioOutputCallBack,
&customData,
NULL,
kCFRunLoopCommonModes,
0,
&customData.mQueue);
I set up an AudioFileStream..
AudioFileStreamOpen(0,
audioFileStream_Properties,
audioFileStream_Packets,
kAudioFileMP3Type,
&customData.audioFileStream);
..this has call back functions attached when the AudioFileStream receives either stream properties or stream packets..
I then open a data stream to a URL of an MP3 stream..
NSURL *url = [NSURL URLWithString:@"http://mp3stream.com"];
CFHTTPMessageRef message = CFHTTPMessageCreateRequest(kCFAllocatorDefault,
CFSTR("GET"),
(CFURLRef)url,
kCFHTTPVersion1_1);
customData.readStream = CFReadStreamCreateForHTTPRequest(kCFAllocatorDefault, message);
CFOptionFlags events = kCFStreamEventHasBytesAvailable | kCFStreamEventErrorOccured | kCFStreamEventEndEncountered;
CFStreamClientContext dataStreamContext = {0, self, NULL, NULL, NULL};
if (CFReadStreamSetClient(customData.readStream, events, readStreamEventCallBack, &dataStreamContext)) {
CFReadStreamScheduleWithRunLoop(customData.readStream, CFRunLoopGetCurrent(), kCFRunLoopCommonModes);
CFReadStreamOpen(customData.readStream);
..this opens a CFReadStream with a call back function that is called on bytes available events, error events and end events..
void readStreamEventCallBack(CFReadStreamRef stream, CFStreamEventType eventType, void *clientcallBackInfo) {
switch(eventType) {
case kCFStreamEventHasBytesAvailable:
UInt8 buf[4096];
CFIndex bytesRead = CFReadStreamRead(stream, buf, 4096);
if (bytesRead > 0) {
AudioFileStreamParseBytes(customData.audioFileStream, bytesRead, buf, 0);
case kCFStreamEventErrorOccurred:
//do stuff
break;
case kCFStreamEventEndOccurred:
//do stuff
break;
So when the CFReadStream reads some bytes it passes them to the AudioFileStream which will in turn call its callback functions when it receives stream properties or stream packets..
In audioFileStream_Properties I attempt to get the dataFormat of the stream..
void audioFileStream_Properties (void *inClientData,
AudioFileStreamID inAudioFileStream,
AudioFileStreamPropertyID inPropertyID,
UInt32 *ioFlags) {
if (inPropertyID == kAudioFileStreamProperty_DataFormat) {
UInt32 size;
AudioFileStreamGetPropertyInfo(inAudioFileStream, inPropertyID, &size, nil)
AudioFileStreamGetProperty(inAudioFileStream, inPropertyID, &size, &customData.mDataFormat);
Most of these function calls return an OSStatus which should be checked for error (!= 0) but I have left them out for now..
Then the AudioFileStream packets..
void audioFileStream_Packets (void *inClientData,
UInt32 inNumberBytes,
UInt32 inNumberPackets,
const void *inInputData,
AudioStreamPacketDescription *inPacketDescs) {
customData.mNumPackets = inNumberPackets;
customData.mPacketDescs = inPacketDescs;
AudioQueueBufferRef outBuffer;
AudioQueueAllocateBuffer(customData.mQueue, inNumberBytes, &outBuffer);
AudioOutputCallBack(&customData, customData.mQueue, outBuffer);
..here I try and allocate the stream packets into the an AudioQueueBuffer and force that buffer into the AudioQueue callback..
static void AudioOutputCallBack(void *inCustomData,
AudioQueueRef outAQ,
AudioQueueBufferRef) {
CustomData *customData = (CustomData*)inCustomData;
AudioQueueEnqueueBuffer(customData->mQueue, outBuffer, (customData->mPacketDescs ? customData->mNumPackets : 0), playState->mPacketDescs);
..Now, I would hope this would be queuing buffers up ready to play! However,
AudioQueueEnqueueBuffer returns error 1718449215 - I am not sure what this means, I am led to believe it might be a dataFormat error
Hope everyone call follow!
Adam
null -
Security procesing failed(actions mismatch) while invkng secure web-service
Hi,
This mail is to seek help from our Java community in a issue that we are currently facing with web service we have written in the application
that I am currently working on. An early response in this is highly appreciated.
I have implemented Java client to invoke the secure web-service(Signing and Encryption of SOAP Request). I am using the classes WSSecEncrypt & WSSecSignature for signing and encrypt the request.
I did the signing and encryption for the SOAP request, invoked the Web-service. The server side received the request and sent the encrypted response. But I am getting an error in the client side while receiving the encrypted response.
Client side :
1) sign the SOAP reuqest with client private key
2) Encrypt the request with server side public key
3) invoke the web-service ( request sent to server and server sent the response) but getting error while reading the encrypted the response.
Server side :
1) receive the request
2) decrypt the request, process the request
3) encrypth the response and send to client
I am getting the below exception exactly at below line (while getting encrypted response) and I have pasted the java client code below
SOAPEnvelope resEnvelope = call.invoke(msg);
Exception message :
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: security processing failed (actions mismatch)
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:apsp9097
security processing failed (actions mismatch)
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1774)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:727)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:1870)
at CallSecWS.main(CallSecWS.java:118)
Java Code :
Properties clinetProps = new Properties();
MessageContext msgContext = null;
System.setProperty("javax.xml.soap.MessageFactory", "org.apache.axis.soap.MessageFactoryImpl");
FileInputStream fis = new FileInputStream("C:\\crypto.properties");
clinetProps.load(fis);
Crypto ClientCrypto = CryptoFactory.getInstance(clinetProps);
//Creating Messaging Object
InputStream inStream = new ByteArrayInputStream(soapMsg.getBytes());
Message axisMsg = new Message(inStream);
axisMsg.setMessageContext(msgContext);
//creating envelople based on Message
SOAPEnvelope envelope = axisMsg.getSOAPEnvelope();
// Encrypting an signing the SOAP request
WSSecEncrypt encrypt = new WSSecEncrypt();
WSSecSignature sign = new WSSecSignature();
// Set the encryption and signging details
encrypt.setUserInfo("serverpublickey");
String strProvateKey = clinetProps.getProperty("org.apache.ws.security.crypto.merlin.keystore.alias");
String password = clinetProps.getProperty("org.apache.ws.security.crypto.merlin.keystore.password");
sign.setUserInfo(strProvateKey,password);
// Creating the header
Document doc = envelope.getAsDocument();
WSSecHeader secHeader = new WSSecHeader();
secHeader.insertSecurityHeader(doc);
// Dcoument ment signed and encrypted
Document encryptedDoc = encrypt.build(doc, ClientCrypto, secHeader);
System.out.println("After Encryption....");
Document encryptedSignedDoc = sign.build(encryptedDoc, ClientCrypto, secHeader);
Message msg = (Message) toSOAPMessage(encryptedSignedDoc);
System.out.println(msg.getSOAPPartAsString() );
// Encryption and signing done and invoking the secure web-service
String endpoint = "http://sys.ws.com/services/SecureService";
Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress( new java.net.URL(endpoint) );
call.setOperationStyle(org.apache.axis.constants.Style.MESSAGE);
// Sender handler
WSDoAllSender send = new WSDoAllSender();
send.setOption( WSHandlerConstants.SIG_PROP_FILE , "crypto.properties" );
send.setOption( WSHandlerConstants.SIG_KEY_ID, "DirectReference" );
send.setOption( WSHandlerConstants.ACTION, WSHandlerConstants.ENCRYPT +" " + WSHandlerConstants.SIGNATURE );
send.setOption( WSHandlerConstants.USER, "PrivateKey" );
send.setOption( WSHandlerConstants.ENCRYPTION_USER, "serverpublickey");
send.setOption( WSHandlerConstants.PW_CALLBACK_CLASS,com.client.B2BCallBack.class.getName() );
// Receiver handler
WSDoAllReceiver recv = new WSDoAllReceiver();
recv.setOption( WSHandlerConstants.ACTION, WSHandlerConstants.SIGNATURE+ " " + WSHandlerConstants.ENCRYPT );
recv.setOption( WSHandlerConstants.SIG_PROP_FILE, "crypto.properties" );
recv.setOption( WSHandlerConstants.SIG_KEY_ID, "DirectReference" );
recv.setOption( WSHandlerConstants.PW_CALLBACK_CLASS,com.client.B2BCallBack.class.getName() );
recv.setOption( WSHandlerConstants.ENCRYPTION_USER ,"serverpublickey");
// Setting the handlers
call.setClientHandlers(send, recv);
System.out.println("Set the all parameters");
// Invoking the web-service.
SOAPEnvelope resEnvelope = call.invoke(msg);
public static SOAPMessage toSOAPMessage(Document doc) throws Exception
Canonicalizer c14n = Canonicalizer.getInstance(Canonicalizer.ALGO_ID_C14N_WITH_COMMENTS);
byte[] canonicalMessage = c14n.canonicalizeSubtree(doc);
ByteArrayInputStream in = new ByteArrayInputStream(canonicalMessage);
MessageFactory factory = MessageFactory.newInstance();
return factory.createMessage(null, in);
Thanks
J Ashok
Edited by: 846090 on Mar 21, 2011 11:34 AMHi,
This mail is to seek help from our Java community in a issue that we are currently facing with web service we have written in the application
that I am currently working on. An early response in this is highly appreciated.
I have implemented Java client to invoke the secure web-service(Signing and Encryption of SOAP Request). I am using the classes WSSecEncrypt & WSSecSignature for signing and encrypt the request.
I did the signing and encryption for the SOAP request, invoked the Web-service. The server side received the request and sent the encrypted response. But I am getting an error in the client side while receiving the encrypted response.
Client side :
1) sign the SOAP reuqest with client private key
2) Encrypt the request with server side public key
3) invoke the web-service ( request sent to server and server sent the response) but getting error while reading the encrypted the response.
Server side :
1) receive the request
2) decrypt the request, process the request
3) encrypth the response and send to client
I am getting the below exception exactly at below line (while getting encrypted response) and I have pasted the java client code below
SOAPEnvelope resEnvelope = call.invoke(msg);
Exception message :
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: security processing failed (actions mismatch)
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:apsp9097
security processing failed (actions mismatch)
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1774)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:727)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:1870)
at CallSecWS.main(CallSecWS.java:118)
Java Code :
Properties clinetProps = new Properties();
MessageContext msgContext = null;
System.setProperty("javax.xml.soap.MessageFactory", "org.apache.axis.soap.MessageFactoryImpl");
FileInputStream fis = new FileInputStream("C:\\crypto.properties");
clinetProps.load(fis);
Crypto ClientCrypto = CryptoFactory.getInstance(clinetProps);
//Creating Messaging Object
InputStream inStream = new ByteArrayInputStream(soapMsg.getBytes());
Message axisMsg = new Message(inStream);
axisMsg.setMessageContext(msgContext);
//creating envelople based on Message
SOAPEnvelope envelope = axisMsg.getSOAPEnvelope();
// Encrypting an signing the SOAP request
WSSecEncrypt encrypt = new WSSecEncrypt();
WSSecSignature sign = new WSSecSignature();
// Set the encryption and signging details
encrypt.setUserInfo("serverpublickey");
String strProvateKey = clinetProps.getProperty("org.apache.ws.security.crypto.merlin.keystore.alias");
String password = clinetProps.getProperty("org.apache.ws.security.crypto.merlin.keystore.password");
sign.setUserInfo(strProvateKey,password);
// Creating the header
Document doc = envelope.getAsDocument();
WSSecHeader secHeader = new WSSecHeader();
secHeader.insertSecurityHeader(doc);
// Dcoument ment signed and encrypted
Document encryptedDoc = encrypt.build(doc, ClientCrypto, secHeader);
System.out.println("After Encryption....");
Document encryptedSignedDoc = sign.build(encryptedDoc, ClientCrypto, secHeader);
Message msg = (Message) toSOAPMessage(encryptedSignedDoc);
System.out.println(msg.getSOAPPartAsString() );
// Encryption and signing done and invoking the secure web-service
String endpoint = "http://sys.ws.com/services/SecureService";
Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress( new java.net.URL(endpoint) );
call.setOperationStyle(org.apache.axis.constants.Style.MESSAGE);
// Sender handler
WSDoAllSender send = new WSDoAllSender();
send.setOption( WSHandlerConstants.SIG_PROP_FILE , "crypto.properties" );
send.setOption( WSHandlerConstants.SIG_KEY_ID, "DirectReference" );
send.setOption( WSHandlerConstants.ACTION, WSHandlerConstants.ENCRYPT +" " + WSHandlerConstants.SIGNATURE );
send.setOption( WSHandlerConstants.USER, "PrivateKey" );
send.setOption( WSHandlerConstants.ENCRYPTION_USER, "serverpublickey");
send.setOption( WSHandlerConstants.PW_CALLBACK_CLASS,com.client.B2BCallBack.class.getName() );
// Receiver handler
WSDoAllReceiver recv = new WSDoAllReceiver();
recv.setOption( WSHandlerConstants.ACTION, WSHandlerConstants.SIGNATURE+ " " + WSHandlerConstants.ENCRYPT );
recv.setOption( WSHandlerConstants.SIG_PROP_FILE, "crypto.properties" );
recv.setOption( WSHandlerConstants.SIG_KEY_ID, "DirectReference" );
recv.setOption( WSHandlerConstants.PW_CALLBACK_CLASS,com.client.B2BCallBack.class.getName() );
recv.setOption( WSHandlerConstants.ENCRYPTION_USER ,"serverpublickey");
// Setting the handlers
call.setClientHandlers(send, recv);
System.out.println("Set the all parameters");
// Invoking the web-service.
SOAPEnvelope resEnvelope = call.invoke(msg);
public static SOAPMessage toSOAPMessage(Document doc) throws Exception
Canonicalizer c14n = Canonicalizer.getInstance(Canonicalizer.ALGO_ID_C14N_WITH_COMMENTS);
byte[] canonicalMessage = c14n.canonicalizeSubtree(doc);
ByteArrayInputStream in = new ByteArrayInputStream(canonicalMessage);
MessageFactory factory = MessageFactory.newInstance();
return factory.createMessage(null, in);
Thanks
J Ashok
Edited by: 846090 on Mar 21, 2011 11:34 AM -
Cannot send email from Exchange 2007 to Exchange 2013
Hello Anyone,
Anyone can help? I've prepare MS Exchange 2013 already, for Migration MS Exchange 2007 and I got the issue.
My issue is I can't send email from Exchange 2007 to Exchagen 2013, but for Exchange 2013 can send email to Exchange 2007,
is my issue only internal email for external email both Exchange server is working fine.
Regards,
EakkasakThanks for your reply, when I send email from Exchange 2007 to Exchange 2013 I'm get the error message below.
Delivery is delayed to these recipients or distribution lists:
Eakkasak Buajan
Subject:
This message has not yet been delivered. Microsoft Exchange will continue to try delivering the message on your behalf.
Delivery of this message will be attempted until 8/29/2014 8:30:29 PM (GMT+07:00) Bangkok, Hanoi, Jakarta. Microsoft Exchange will notify you if the message can't be delivered by that time."
I'm already tick "Exchange server Authentication" in the Default Receive connector properties of Exchange 2013"
I'm restart services and restart all Exchange Server but doesn't work.
Thanks,
Eakkasak
Sent by Microsoft Exchange Server 2007 -
Dell Latitude E6520 fails to boot after Windows Updates
Hello,
I have a Dell Latitude E6520 that is not starting up after Windows updates. It installs updates and requests a reboot, after which it blue screens at the splash logo and reboots again. This goes on indefinitely. The only way to repair it is to boot from
a recovery disk and run:
dism /image:D:\ /cleanup-image /revertpendingactions
This is after running dism /image:D:\ /get-packages and noticing that several updates are still in an "Install_Pending" state. These are the kb's that are pending:
kb2982378
kb2978742
kb2977629
kb2976897
kb2973112
kb2972211
There were other updates, but those showed as installed. I would post the WindowsUpdate.Log, but I do not see a button to attach a file and the log is very long. Here is what I think is relevant towards the end of the log:
2014-09-18 10:52:04:214
496 540
AU Install complete for all calls, reboot needed
2014-09-18 10:52:04:216
496 540
AU Successfully wrote event for AU health state:0
2014-09-18 10:52:04:623
496 8a4
AU UpdateDownloadProperties: 0 download(s) are still in progress.
2014-09-18 10:52:04:623
496 8a4
AU Triggering Offline detection (non-interactive)
2014-09-18 10:52:04:623
496 8a4
AU AU setting pending client directive to 'Reboot Pending'
2014-09-18 10:52:04:623
496 8a4
AU Changing existing AU client directive from 'Progress Ux' to 'Reboot Pending', session id = 0x1
2014-09-18 10:52:04:625
496 8a4
AU Successfully wrote event for AU health state:0
2014-09-18 10:52:04:625
496 1668
AU #############
2014-09-18 10:52:04:625
496 1668
AU ## START ## AU: Search for updates
2014-09-18 10:52:04:625
496 1668
AU #########
2014-09-18 10:52:04:626
496 1668
AU <<## SUBMITTED ## AU: Search for updates [CallId = {7C1069F1-2D57-421E-A378-38DE401BF9F1}]
2014-09-18 10:52:04:626
496 166c
Agent *************
2014-09-18 10:52:04:626
496 166c
Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates]
2014-09-18 10:52:04:626
496 166c
Agent *********
2014-09-18 10:52:04:626
496 166c
Agent * Online = No; Ignore download priority = No
2014-09-18 10:52:04:626
496 166c
Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation' or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0
and DeploymentAction='Uninstallation' and RebootRequired=1"
2014-09-18 10:52:04:626
496 166c
Agent * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed
2014-09-18 10:52:04:626
496 166c
Agent * Search Scope = {Machine}
2014-09-18 10:52:05:210
496 166c
Handler Using CBS interface ICbsSession7
2014-09-18 10:52:07:170
496 166c
Handler Using CBS interface ICbsSession7
2014-09-18 10:52:09:475
496 166c
Handler Using CBS interface ICbsSession7
2014-09-18 10:52:09:569
496 166c
Handler Using CBS interface ICbsSession7
2014-09-18 10:52:11:590
496 166c
Handler Using CBS interface ICbsSession7
2014-09-18 10:52:14:999
496 166c
Handler Using CBS interface ICbsSession7
2014-09-18 10:52:16:887
496 166c
Handler Using CBS interface ICbsSession7
2014-09-18 10:52:18:753
496 166c
Handler Using CBS interface ICbsSession7
2014-09-18 10:52:19:623
496 1668
Misc WARNING: IsSessionNonstandardUI: session 65536 is an unknown session type 0; treating it as a standard session
2014-09-18 10:52:20:673
496 166c
Handler Using CBS interface ICbsSession7
2014-09-18 10:52:22:573
496 166c
Handler Using CBS interface ICbsSession7
2014-09-18 10:52:22:773
496 166c
Handler Using CBS interface ICbsSession7
2014-09-18 10:52:24:464
496 166c
Handler Using CBS interface ICbsSession7
2014-09-18 10:52:24:651
496 1668
AU AU received handle event
2014-09-18 10:52:26:366
496 166c
Handler Using CBS interface ICbsSession7
2014-09-18 10:52:27:520
496 1668
Shutdwn user declined update at shutdown
2014-09-18 10:52:27:520
496 1668
AU Successfully wrote event for AU health state:0
2014-09-18 10:52:27:520
496 1668
AU AU initiates service shutdown
2014-09-18 10:52:27:520
496 1668
AU ########### AU: Uninitializing Automatic Updates ###########
2014-09-18 10:52:28:206
496 166c
Agent * WARNING: Exit code = 0x8024000B
2014-09-18 10:52:28:206
496 166c
Agent *********
2014-09-18 10:52:28:206
496 166c
Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates]
2014-09-18 10:52:28:206
496 166c
Agent *************
2014-09-18 10:52:28:206
496 166c
Agent WARNING: WU client failed Searching for update with error 0x8024000b
2014-09-18 10:52:28:253
496 1668
Report REPORT EVENT: {62FF14E3-DDBE-4DDC-BE90-12B98EC74605}
2014-09-18 10:52:04:216-0600 1
193 102
{00000000-0000-0000-0000-000000000000}
0 0 AutomaticUpdates
Success Content Install
Restart Required: To complete the installation of the following updates, the computer must be restarted. Until this computer has been restarted, Windows cannot search for or download new updates: - Security Update for Windows 7 for x64-based Systems
(KB2982378) - Security Update for Microsoft .NET Framework 3.5.1 on Windows 7 and Windows Server 2008 R2 SP1 for x64-based Systems (KB2973112) - Security Update for Windows 7 for x64-based Systems (KB2976897) - Security Update for Windows 7 for x64-based Systems
(KB2918614) - Cumulative Security Update for Internet Explorer 9 for Windows 7 for x64-based Systems (KB2977629) - Security Update for Microsoft .NET Framework 3.5.1 on Windows 7 and Windows Server 2008 R2 SP1 for x64-based Systems (KB2972211) - Security Update
for Microsoft .NET Framework 3.5.1 on Windows 7 and Windows Server 2008 R2 SP1 for x64-based Systems (KB2937610) - Security Update for Microsoft .NET Framework 3.5.1 on Windows 7 and Windows Server 2008 R2 SP1 for x64-based Systems (KB2894844) - Security Update
for Windows 7 for x64-based Systems (KB2978742)
2014-09-18 10:52:28:253
496 1668
Report CWERReporter finishing event handling. (00000000)
2014-09-18 10:52:28:253
496 1668
Report CWERReporter finishing event handling. (00000000)
2014-09-18 10:52:28:425
496 1668
Service *********
2014-09-18 10:52:28:425
496 1668
Service ** END ** Service: Service exit [Exit code = 0x240001]
2014-09-18 10:52:28:425
496 1668
Service *************
Please let me know if there is a better way of attaching the log to this post and thank you in advance for any help.Hi ChristianBoman,
We could use the OneDrive to upload the log and then paste the shared link here. For more information, please refer to the following article.
http://windows.microsoft.com/en-us/onedrive/share-file-folder
for the update error 0x8024000b, please refer to the following article.
http://windows.microsoft.com/en-us/windows/windows-update-error-8024000b#1TC=windows-7
Please take the following steps:
1. Run the Windows Update Troubleshooter.
2. Click the Start button , type Run in the search box, and then, in the results list, click Run.
3. Copy the following text, and then paste it into the Run text box:
Cmd /c ren %systemroot%\System32\Spupdsvc.exe Spupdsvc.old
4. Click OK.
Best regards,
Fangzhou CHEN
Fangzhou CHEN
TechNet Community Support -
I have one thread that is doing TCPIP Aquisition into a Global variable defined in Teststand. And I have another thread that it supose to read it. All are in the same sequence and execution. The problem is that the aquisition thread got a lot of bytes, while the processing thread is reading always only a few. Do you know what the problem could be?
I will attach also some pictures just to be maybe more clear...
Attachments:
Implementation_pictures.zip 368 KBI wasn't looking at your Sequence, I was looking at Receive_HDL_Block.JPG. What is that VI doing (the one with number 3 on the icon and Size_in_bytes as an input) ?
Where in teststand are you doing any checking?
I don't really understand your sequence.
You have a sequence (running in a new thread) (why), following by another called Receiver Handler (also running in a new thread) then two more sequences which seem to do some with transmitting something (also running as new threads). You are only waiting on one of these threads (the Receiver Handler). There does seem to be any loops in TestStand, you dont seem to be bothered about the other threads that you have running. What happens when this test sequence finally does stop, what is stopping the Threads that you have running.
Your pictures dont really seem to fit in with your Test Sequence, such as where does Test_005.vi fit into everything
The whole thing is a bit of a nightmare.
Maybe your best bet would be to scrap the lot and start again. Only this time have a better understanding of what you what to achieve, what would be best to put into Teststand and what to put into labview. Whether you really need all those new threads running.
Sorry to be so blunt.
Regards
Ray Farmer
Regards
Ray Farmer
Maybe you are looking for
-
Why is it taking so long to process my order for the new IMac?
why is it taking so long
-
I have an older PB15 with a UJ-816 burner, 2x max read and write. In the last 2 years, I've burned about 500 disks with variable results. Most of them have been TDK. These usually work fine except that on some spindles I get errors and have to burn a
-
We are experiencing a minor problem with hyperlink colors, specifically "visited" hyperlinks. The color is not changing. I have checked the browser and the settings are set to colors for the visited and unvisited links. Is this setting controlled any
-
Lenovo N 500 - Keeping The Computer On/Turning It Off
I have a Lenovo N 500 laptop. I keep it on during the night while I'm sleeping. Is this a good idea or should I turn it off when I'm not using it??
-
How do I get flash player on iPad.
How do I get flash player on iPad?