Example of using Message Based Services - Cross group link status
Please, somebody can give me an example of how to Obtain notification of cross-group
Links Established and Lost.
My problem is: I have one BMQ host connected to 5 others BMQ hosts and many messages
exchanged between this hosts and one of my application must know when link is Ok
and when link is not Ok. Based on this information the application will decide what
to do.
Thanks for your help.
Best Regards,
Luis Roberto.
Hey YYY,
I took a look at your code that uses NI-RFSG with your NI-5672 (5610+5442). The original USRP transmit code had to be architected using queues to stream the new samples to the USRP to write each time because there is no onboard memory on the USRP. Since you are using an arb with onboard memory, you don't necessarily have to do this. If you want to keep the queues in the code, you should set up the RFSG portion to look like a streaming application. There is an RFSG example called RFSG Arbitrary Waveform Streaming.vi that is a good place to start to see how the driver is set up. It is a more complex driver than the USRP and has a few extra steps. For example, you need to have a call to niRFSG Initialize.vi, regardless of whether you are doing streaming or not. If you choose to write all of the data to your arb before sending it out, RFSG Arbitrary Waveform Generation.vi is a good place to start.
I'm not entirely sure why your USRP isn't working with the 5672. Can you provide more details? Are you getting an error from the USRP? How do you have the USRP connected to the VSG? Make sure you have an attenuator in the path if you aren't using 2 antennas, it is easy to damage the USRP by putting in too much power. You are using the RFSG soft front panel 1.9, correct? I have used a USRP with RFSG on numerous occasions and not had an issue, so the more details you can provide the easier it will be to troubleshoot.
I don't have the equipment to set up your code and test it out unfortunately. I was going to recommend you post to the RF measurement devices forum, but it looks like you have already done that. Hopefully this information will at least be a starting point to get your system running.
Sarah Y
SDR Product Manager
National Instruments | Ettus Research
Similar Messages
-
Online Chapter on using Web-based Services
Dear All,
I just added a new chapter to my ["Killer Game Programming in Java"|http://fivedots.coe.psu.ac.th/~ad/jg/] website. It's about programming techniques for writing standalone programs that employ Web-based service APIs for searching Google, Amazon, eBay, and Yahoo.
As a test-bed, I've implemented an application which sends a book title to a service, and gets back a PNG image of the book's cover. I've written five versions: one each for Google, Amazon, and eBay, and two aimed at Yahoo.
It's chapter 33 "Using Web Service APIs", located in the "Networking" section, about 2/3 of the way down the page.
Your comments are appreciated.
- Andrew
Edited by: AndrewDavison on Jun 30, 2009 2:39 AMrukbat wrote:
kajbj wrote:
Your comments are appreciated.Please don't post unsolicited announcements in these forums.
Kaj
Yes, I've seen that, but they are old, and I don't want to resurrect them. -
I am using Messages on an iMac, Mountain Lion: Status always grayed out.
I've been using Messages on my iMac and notice that I can never change my status. It is always grayed out. Here is a screenshot. Not sure why I can not change it myself. Thanks.if it's important, I'm using my Optonline.net email account for messages. Thanks
Oh, I see what you mean, now!! That makes sense to me. Thank you for explaining it that way! I really appreciate your time and help, thank you so much!
-
Dying server - error message no service in group....
Hi, please, look at short cut of ULOG file below - Could you help mi to find the
problem? Server was running well without problems for about month and now crasched
3x in an hour...
Do you have any idea why?
Many thanks.
Petr
132912.ps!statserver.131384.1.0: LIBTUX_CAT:743: ERROR: No service '..TMSYSPOST'
in group 'SYSGRP'
132912.ps!statserver.131384.1.0: LIBTUX_CAT:743: ERROR: No service '..TMSYSPOST'
in group 'SYSGRP'
132912.ps!statserver.131384.1.0: Deleting StatServer object
132912.ps!statserver.131384.1.0: Shutting down StatServer
132912.ps!contextserver.104158.1.0: LIBTUX_CAT:743: ERROR: No service '..TMSYSPOST'
in group 'SYSGRP'
132912.ps!contextserver.104158.1.0: LIBTUX_CAT:743: ERROR: No service '..TMSYSPOST'
in group 'SYSGRP'
132912.ps!TMSYSEVT.385141.1.0: LIBTUX_CAT:743: ERROR: No service '..TMSYSPOST'
in group 'SYSGRP'
132912.ps!TMSYSEVT.385141.1.0: LIBTUX_CAT:743: ERROR: No service '..TMSYSPOST'
in group 'SYSGRP'
132912.ps!TMSYSEVT.385141.1.0: CMDTUX_CAT:3010: INFO: TMSYSEVT is exiting
132912.ps!TMUSREVT.57488.1.0: CMDTUX_CAT:3031: INFO: TMUSREVT is exiting
132913.ps!BBL.126304.1.0: LIBTUX_CAT:541: WARN: Server APP1GRP/400 terminated
132913.ps!BBL.126304.1.0: LIBTUX_CAT:550: WARN: Cleaning up restartable server
APP1GRP/400
132913.ps!BBL.126304.1.0: LIBTUX_CAT:541: WARN: Server APP1GRP/401 terminated
132913.ps!BBL.126304.1.0: LIBTUX_CAT:550: WARN: Cleaning up restartable server
APP1GRP/401
132913.ps!cleanupsrv.110475.1.-2: 05-15-2003: Tuxedo Version 7.1
132913.ps!cleanupsrv.110475.1.-2: server APP1GRP/400: CMDTUX_CAT:1074: WARN: Client
process 128763 - dropped message because server and client died, SERVICE=MSK096
132913.ps!cleanupsrv.110475.1.-2: server APP1GRP/400: CMDTUX_CAT:551: INFO: server
removed
132913.ps!cleanupsrv.110475.1.-2: server APP1GRP/401: CMDTUX_CAT:1074: WARN: Client
process 128763 - dropped message because server and client died, SERVICE=MSK541
132913.ps!cleanupsrv.110475.1.-2: server APP1GRP/401: CMDTUX_CAT:1074: WARN: Client
process 128763 - dropped message because server and client died, SERVICE=MSK620
132913.ps!cleanupsrv.110475.1.-2: CMDTUX_CAT:542: ERROR: Cannot find service to
which to forward request
Best regards
Petr
[ULOG.051503]Hi, the problem seem's to be with locked DB object (and not active oracle session).
Now we have no problems any more.
Thanks Petr
"Petr Bulant" <[email protected]> wrote:
>
>
>
Hi, please, look at short cut of ULOG file below - Could you help mi
to find the
problem? Server was running well without problems for about month and
now crasched
3x in an hour...
Do you have any idea why?
Many thanks.
Petr
132912.ps!statserver.131384.1.0: LIBTUX_CAT:743: ERROR: No service '..TMSYSPOST'
in group 'SYSGRP'
132912.ps!statserver.131384.1.0: LIBTUX_CAT:743: ERROR: No service '..TMSYSPOST'
in group 'SYSGRP'
132912.ps!statserver.131384.1.0: Deleting StatServer object
132912.ps!statserver.131384.1.0: Shutting down StatServer
132912.ps!contextserver.104158.1.0: LIBTUX_CAT:743: ERROR: No service
'..TMSYSPOST'
in group 'SYSGRP'
132912.ps!contextserver.104158.1.0: LIBTUX_CAT:743: ERROR: No service
'..TMSYSPOST'
in group 'SYSGRP'
132912.ps!TMSYSEVT.385141.1.0: LIBTUX_CAT:743: ERROR: No service '..TMSYSPOST'
in group 'SYSGRP'
132912.ps!TMSYSEVT.385141.1.0: LIBTUX_CAT:743: ERROR: No service '..TMSYSPOST'
in group 'SYSGRP'
132912.ps!TMSYSEVT.385141.1.0: CMDTUX_CAT:3010: INFO: TMSYSEVT is exiting
132912.ps!TMUSREVT.57488.1.0: CMDTUX_CAT:3031: INFO: TMUSREVT is exiting
132913.ps!BBL.126304.1.0: LIBTUX_CAT:541: WARN: Server APP1GRP/400 terminated
132913.ps!BBL.126304.1.0: LIBTUX_CAT:550: WARN: Cleaning up restartable
server
APP1GRP/400
132913.ps!BBL.126304.1.0: LIBTUX_CAT:541: WARN: Server APP1GRP/401 terminated
132913.ps!BBL.126304.1.0: LIBTUX_CAT:550: WARN: Cleaning up restartable
server
APP1GRP/401
132913.ps!cleanupsrv.110475.1.-2: 05-15-2003: Tuxedo Version 7.1
132913.ps!cleanupsrv.110475.1.-2: server APP1GRP/400: CMDTUX_CAT:1074:
WARN: Client
process 128763 - dropped message because server and client died, SERVICE=MSK096
132913.ps!cleanupsrv.110475.1.-2: server APP1GRP/400: CMDTUX_CAT:551:
INFO: server
removed
132913.ps!cleanupsrv.110475.1.-2: server APP1GRP/401: CMDTUX_CAT:1074:
WARN: Client
process 128763 - dropped message because server and client died, SERVICE=MSK541
132913.ps!cleanupsrv.110475.1.-2: server APP1GRP/401: CMDTUX_CAT:1074:
WARN: Client
process 128763 - dropped message because server and client died, SERVICE=MSK620
132913.ps!cleanupsrv.110475.1.-2: CMDTUX_CAT:542: ERROR: Cannot find
service to
which to forward request
Best regards
Petr -
There are more than 1000 users using query based on sales group and sales ?
Hi all,
for a project activities sales group need to have authorization object? but if they make the object authorized and moved to production, all the other 1000 users gets effected to this changes since they dont have access to it.
Can anyone let me know how to handle this?
let me explain in detail,
there are different markets like india, china, hongkong , south east asia,
for a particular project, only south east asia people needs to have authorization on sales group . but there are 500 users in south east asia, so once changes is moved it will affect the existing users too?
So can anyone advise me how to handle this?
ThanksHI Pooja,
Create roles as per authorization you have to give to users.
Create user groups - for different users depending on the countries where they belong - as you mentioned users belong to India,
China,
Hongknog,
South east asia
Eg, Create 1 role and give auth object for south east asia users. If you want to give particular authorization to 1 user only from among 500 users. create 2 roles with different authorizations and assign accordingly.
Regards,
Chitra -
Using message-style web service by a Microsoft client
Does anyone have a sample Microsoft client using message-style web service? BEA
does not provide one. I found MS client does not receive messages published between
2 calls to method "receive", while the sample Java client ConsumerClient.java
does.
ConsumerClient.java is like:
while(true){
Object result = method.invoke(null);
sleep(20000); // not in sample, added for my test
System.out.println(result);
My VBScript code is like:
Set SC = CreateObject("MSSOAP.SoapClient")
SC.mssoapinit "http://localhost:7001/msg/Receiver/Receiver.wsdl", "", "", ""
While TRUE
Res = SC.receive
WScript.echo "Res = " & Res
Res = ""
' do something that takes 20 seconds
Wend
I added 20 seconds between calls so I can publish a message between 2 calls. I
found the Java client receives the message but the VBScript client doesn't. Has
anyone else observed this?Hi Kevin,
Thanks for your feedback.
Header support is planed for the next major release.
regards,
-manoj
Kevin Jiang wrote:
Hi Manoj,
Can you use SOAP header to pass session id accross instead of HTTP header? MS
SOAP toolkit 2.0 support access to SOAP header.
My app needs to use topic instead of queue. But as I said earlier, I can use MS
XML toolkit to access HTTP header. So I have a work around.
Thanks for all your responses with regard to this question!
Kevin
manoj cheenath <[email protected]> wrote:
Hum! i thought you were not able to receive message at all. now
i understood the problem. yes we are using http header to pass
session id accross, in the case of web service client who wants
to subscribe to JMS topics. I cant think of any other way to do
this. if you have any suggestions, i very much like to hear it.
for your application is it possible to use queues instead of topics?
we do not use http session information in the case of JMS queues.
-manoj
Kevin Jiang wrote:
Hi Manoj,
Your sample code is basically same as mine. It would also lose messagespublished
between calls to "receive" method.
I figured out what's going on. Undocumented by BEA, the web servicesends JMS
session ID in HTTP header along with first message. When client makessubsequent
calls to "receive", this ID must be sent back. I found this by usinga SOAP trace
tool.
Unfortunately, MS SOAP toolkit doesn't support access to HTTP header.So one has
to use MS XML toolkit to use message-style web service, when writingMS clients.
manoj cheenath <[email protected]> wrote:
an example of using message style web services with
ms soap toolkit is attached. let me know if this works
for you.
regards,
-manoj
Kevin Jiang wrote:
Hi Manoj,
I just changed anyType to string and the problem still happens.
Thanks,
Kevin
manoj cheenath <[email protected]> wrote:
I have not tryed message style web services with MS soap toolkit.
I think the problem is because the WSDL for the message style
web service use xsd:anyType as the return type and MS soap is
not able to understand it. can you pls modify the xsd:anyType to
xsd:string (or someother base type) in the WSDL.
SC.mssoapinit can load wsdl stored as a local file. so it should
be easy to make this change.
regards,
-manoj
Kevin Jiang wrote:
Does anyone have a sample Microsoft client using message-style
web
service? BEA
does not provide one. I found MS client does not receive messages
published
between
2 calls to method "receive", while the sample Java client ConsumerClient.java
does.
ConsumerClient.java is like:
while(true){
Object result = method.invoke(null);
sleep(20000); // not in sample, added for my test
System.out.println(result);
My VBScript code is like:
Set SC = CreateObject("MSSOAP.SoapClient")
SC.mssoapinit "http://localhost:7001/msg/Receiver/Receiver.wsdl",
While TRUE
Res = SC.receive
WScript.echo "Res = " & Res
Res = ""
' do something that takes 20 seconds
Wend
I added 20 seconds between calls so I can publish a message between2 calls. I
found the Java client receives the message but the VBScript clientdoesn't. Has
anyone else observed this? -
How to use timestamp based dynamic message selector?
Is it possible with message selector to issue query like statement that
weill fetch any messages that have header timestamp older than "now" + 3 hrs.
In SQL you would say something like:
where timestamp <= sysdate + (180/1440)
Please let ne know.
Thank you,
Edmonhi edmon,
to my knowledge dynamically evalutaed expressions like this are not supported by any of the JMS vendors. messageselectors are in SQL92 format and the only dynamic part in them is the contents of the message properties and headers.
So, you're out of luck with what you want to do (e.g., remove expired messages from a destination when they havent' been consumed within a time threshold??) but i could see two possible solutions:
1) You could use time-to-live (TTL) on the sender side. Messages that are on the destination beyond their TTL would be placed onto a dead message queue (DMQ) from where you could consume them for further processing. DMQ is not a standard-JMS feature but supported by a few vendorrs (e.g., JBoss, ArjunaMS).
2) You could use Message-driven Services (MDS) for more elaborate server-side message processing. MDS has been pioneered by ArjunaMS but is also available with a few other JMS vendors.
Hope that helps!
Kind regards,
Thomas. -
[svn] 3291: Update example to use swfobject.
Revision: 3291
Author: [email protected]
Date: 2008-09-22 08:46:23 -0700 (Mon, 22 Sep 2008)
Log Message:
Update example to use swfobject. Update text of link in app to Download Flex 4. It was Flex 2.
Modified Paths:
flex/sdk/trunk/frameworks/javascript/FABridge/samples/srcview/SourceIndex.xml
flex/sdk/trunk/frameworks/javascript/FABridge/samples/srcview/SourceTree.html
Added Paths:
flex/sdk/trunk/frameworks/javascript/FABridge/samples/srcview/swfobject.js
Removed Paths:
flex/sdk/trunk/frameworks/javascript/FABridge/samples/srcview/AC_OETags.jsHi
please replace this text (which is not records but just text, and therefore we can not query it):
TransactionID ProductID Quantity QuantityOnHand
1 1
2 ? 2
2 1
3 ? 5 = 3+2
3 1
1 ? 6 = 5 + 1
4 1
9 ? 15 = 6 + 9
with a DDL+DML queries to help us help you.
>> DDL+DML are queries to create your relevant table and a query to insert the sample data.
Thanks
[Personal Site] [Blog] [Facebook] -
Service Technican Group is missing
Hi
I am creating Service Quotation/ Order in UI but after saving system is howing error message "Enter service technican group". even there is no field in regarding this in service order/quotation.
Is there any configuration required for this?
regds
MohitHi Mohit,
in CRM 2007, its an assignment block in web UI on overview page itself of service order with name "Parties Involved". make sure that its not hidden or make it visible from personalization.alternatively,in back end its a tab named "Partners" in transaction CRMD_ORDER.
Best Regards,
Vishant -
Location based services with ELM AP?
Hello Experts,
Maybe you have some experience with this stuff? Is it possible to use location based services with Enhanced Local Mode APs?As long as the AP is serving clients it can, once you remove that and set it like in Monitor Mode and use it for a sniffer or spectrum it can't. So as long as your site survey has triangulation and meets the requirement for location base, you should be fine.
Sent from Cisco Technical Support iPhone App -
Polling messages based on priority in BPEL using JMS adapter
Hi All,
Is it possible to poll the messages based on the priority in BPEL using JMS adapter?
I could set the priority for the messages but while polling it is picking the messages in FIFO(First in First out) order. But I want the messages to be picked on priority.Any help is appreciated.Do you only want to pick up messeges with a certain priority? So anything larger than say priority 2?
You can try this: Oracle JCA Adapter for JMS - 11g Release 1 (11.1.1.5.0)
Message SelectorThis field is also optional. It filters messages based on header and property information. The message selector rule is a Boolean expression. If the expression is true, then the message is consumed. If the expression is false, then the message is rejected.For example, you can enter logic, such as:
JMSPriority > 3. Based on this, messages with a priority greater than 3 are consumed; all other messages are rejected.
JMSType = 'car' AND color = 'blue' AND weight > 2500
Country in ('UK', 'US', 'France') -
Does "Messages" in OSX 10.8.2 work cross platform? My daughter has an android phone and I can text with her OK in iOS. However, her texts don't show up on OSX whereas texts from my son, who has an iPhone, work in iOS and OSX.
HI,
The answer is yes and no.
As Barney-15E link says you can get the Messages app to SMS to AIM Buddies. Or rather telephone Numbers as AIM Buddies.
There are limits.
The computer has to be set as if in the United States (System Preferences > Language and Text > Region)
The phone is question has to be on a carrier that supports AIM SMS forwarding which only applies to some US based carriers.
The reason the SMS Messages arriving on the iPhone do not sync is that they are not iMessages (the "No" Part).
I use Messages with the Buddy List Showing.
As a test I have added a made up number as a Buddy and also created a Address Card for it.
So Mousing over the "Buddy" reveal the "Screen Name" which is the phone Number
You have to include the Leading +1 country code as well.
9:32 PM Thursday; March 14, 2013
iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad
"Limit the Logs to the Bits above Binary Images." No, Seriously -
Messaging Service vs WSDL Based service vs Any SOAP service
Hi,
What is the basic difference between these three types of configuration for OSB Proxy? Why can't we use wsdl based or soap based service instead of messaging service? Is there any significance for messaging service?
ThanksEach configuration defines how the Proxy will interface with the consumers. (In other words the input (request format) and output (response format) specifications for the proxy)
Refer http://docs.oracle.com/cd/E17904_01/doc.1111/e15867/configuringandusingservices.htm#i1146533 (The description column gives an understanding on this)
Let us know in case of further questions.
Thanks,
Patrick
It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
https://forums.oracle.com/forums/ann.jspa?annID=893 -
Where is a simple example of using a service callout?
I am using the oracle service bus and am need to obtain the result string from a webservice.
1)
I am using a service callout in one of the stages:
Service Callout to D2L Webservices invoking getOrgRole
Configure Payload Document is checked
Request Document Variable: $body
Response Document Variable: $body
SOAP Request Header:
SOAP Response Header:
Request Action Assign $body/enterprise/person/sourcedid/id/text() to variable inData
Response Action:
2) I need to configure the payload so $body/enterprise/person/sourcedid/id/text() is passed to the Request Document Variable. How do I do that?
3) what do I use to get the retrun string from the webservice?
4) I am getting a BEA-382500 error.
<con:reason>
OSB Service Callout action received SOAP Fault response
</con:reason>
<con:details>
<con1:ReceivedFaultDetail xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
<con1:faultcode xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Client</con1:faultcode>
<con1:faultstring>Cannot find dispatch method for {}</con1:faultstring>
5) where is a simple example of calling a webservice from a message flow in oracle service bus?3) what do I use to get the retrun string from the webservice?If the web service call is successful, the response is stored in the context variable *$body*
4) I am getting a BEA-382500 error.
<con:reason>
OSB Service Callout action received SOAP Fault response
</con:reason>
<con:details>
<con1:ReceivedFaultDetail xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
<con1:faultcode xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Client</con1:faultcode>
<con1:faultstring> Cannot find dispatch method for {} </con1:faultstring>Looks like there is a problem in the operation you are trying to invoke via the business service. Also please verify the exact message going out of the wire to the Backend Webservice.
Are yo able to invoke the backend service directly from soapUI or similar tool? If yes, you can enable tracing on the Business service and capture the request sent out from OSB and compare the same with the one that works in soapUI. This should lead you to the exact issue.
5) where is a simple example of calling a webservice from a message flow in oracle service bus?Please refer to http://www.oracle.com/technetwork/middleware/service-bus/osbsamples-085201.html for the samples.
Hope this helps.
Thanks,
Patrick -
We are using CF 7.01 and have been successful in consuming
web services in the past. We are unsuccessful however in consuming
a web service where the client says is using a message-based (aka
document style) web service. We are entering thier system but we
error out in our attempt to access thier web service.
In the cfcomponent I have even tried using style="document"
but we are still erroring out. The nature of the error message at
our end shows:
-- start of error message...
Message: Could not generate stub objects for web service
invocation.
Detail: Name:
https://integrationdev.peopleclick.com/soap/echo. WSDL:
https://integrationdev.peopleclick.com/soap/echo. WSDLException (at
/SOAP-ENV:Envelope): faultCode=INVALID_WSDL: Expected element '{
http://schemas.xmlsoap.org/wsdl/}definitions'.:
It is recommended that you use a web browser to retrieve and
examine the requested WSDL document for correctness. If the
requested WSDL document can't be retrieved or it is dynamically
generated, it is likely that the target web service has programming
errors.
-- ...end of error message.
The message insinuates a WSDL problem. I understand
message-based web services don't use a WSDL. Must I remove
something from our standard RPC-based web service configuration?
Thanks in advance.
Devhi all,
UPDATE:
i have some how managed to handle my error at both REQUEST MESSAGE peoplecode and at HANDLER peoplecode. Tested the webservice using SOAPUI tool. After passing all inputs required, the customer is not created and i am getting a blank response message which should contain the SETID and CUST_ID as response. Please help me out whether i am missing any Key part in creating a CUSTOMER. Note, i haven't written any Peoplecode for creation and i am also not aware how to do the same or where to write the logic for it.
Kindly bare with me and do help me out as i m struck with it for long. Thanks in advance
Maybe you are looking for
-
Filter expression producing different results after upgrade to 11.1.1.7
Hello, We recently did an upgrade and noticed that on a number of reports where we're using the FILTER expression that the numbers are very inflated. Where we are not using the FILTER expression the numbers are as expected. In the example below we ra
-
Report viewer web part, show different report everyday (rotate .rdl files)
We have a report viewer web part on sharepoint site (intranet), which is working fine and showing the report (.rdl file). We want to show different report everyday by looping through a list of 4 or 5 important reports (from sharepoint document libra
-
My Ipod touch displays white lines across my entire screen. I've turned it on and off and it still hasn't cleared up.HELP!?!
-
New Adobe Premiere CC 2014 release update
Does anyone know when the next update for Adobe Premiere CC 2014.1 release might be days, weeks or months?
-
Hi, In my code I have a while loop that may or may not take more than x secs to run. Once the while loop has been running for x secs I would to provide a series of commands. Therefore, I need some sort of counter. Will Tick Count help me with this? I