How can I test that the ITS is setup right and working?.
How can I test that the ITS is setup right and working?.
At present when calling a CRM transaction (BOR object) via the Nav Bar of the Webclient IC I am getting a message box with the title of 'Message from Webpage' and the content saying 'Object expected'.
I have re-checked the transaction launcher and navigation bar profile setting and these look okay, hence my question regarding the ITS and how we might test that its functional.
Jason
I assume that as I also have a call to a URL (website), which is working fine, then the ITS servicer is also working fine.
That just leads me to know identify why my BOR object is not being called correctly.
Within the Transaction launcher I have the following settings:
Entries
Launch Trans ID: ZZIC1_LT01
Component set: ALL
Technical details
Description: xxxxx
Class name: ZCL_ZZIC1_LT01
Statefull: X
Further Technical details
Transaction type: BOR Transaction
Logical system: CMDCLNT600
BOR Object type: TSTC_UIF
Method name: EXECUTE
Transaction Parameters
Parameter: Object_key
Value: CRMD_BUS2000115
Can anyone see any problems with these entries?.
what's the best way to ensure that 'CRMD_BUS2000115' is a BOR object?. I can run it as a transaction.
Jason
Similar Messages
-
Hello. I would like to write async tcp client and server. I wrote this code but a have a problem, when I call the disconnect method on client or stop method on server. I can't identify that the client or the server is no longer connected.
I thought I will get an exception if the client or the server is not available but this is not happening.
private async void Process()
try
while (true)
var data = await this.Receive();
this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
How can I determine that the client or the server is no longer available?
Server
public class Server
private readonly Dictionary<IPEndPoint, TcpClient> clients = new Dictionary<IPEndPoint, TcpClient>();
private readonly List<CancellationTokenSource> cancellationTokens = new List<CancellationTokenSource>();
private TcpListener tcpListener;
private bool isStarted;
public event Action<string> NewMessage;
public async Task Start(int port)
this.tcpListener = TcpListener.Create(port);
this.tcpListener.Start();
this.isStarted = true;
while (this.isStarted)
var tcpClient = await this.tcpListener.AcceptTcpClientAsync();
var cts = new CancellationTokenSource();
this.cancellationTokens.Add(cts);
await Task.Factory.StartNew(() => this.Process(cts.Token, tcpClient), cts.Token, TaskCreationOptions.LongRunning, TaskScheduler.Default);
public void Stop()
this.isStarted = false;
foreach (var cancellationTokenSource in this.cancellationTokens)
cancellationTokenSource.Cancel();
foreach (var tcpClient in this.clients.Values)
tcpClient.GetStream().Close();
tcpClient.Close();
this.clients.Clear();
public async Task SendMessage(string message, IPEndPoint endPoint)
try
var tcpClient = this.clients[endPoint];
await this.Send(tcpClient.GetStream(), Encoding.ASCII.GetBytes(message));
catch (Exception exception)
private async Task Process(CancellationToken cancellationToken, TcpClient tcpClient)
try
var stream = tcpClient.GetStream();
this.clients.Add((IPEndPoint)tcpClient.Client.RemoteEndPoint, tcpClient);
while (!cancellationToken.IsCancellationRequested)
var data = await this.Receive(stream);
this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
private async Task Send(NetworkStream stream, byte[] buf)
await stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
await stream.WriteAsync(buf, 0, buf.Length);
private async Task<byte[]> Receive(NetworkStream stream)
var lengthBytes = new byte[4];
await stream.ReadAsync(lengthBytes, 0, 4);
var length = BitConverter.ToInt32(lengthBytes, 0);
var buf = new byte[length];
await stream.ReadAsync(buf, 0, buf.Length);
return buf;
Client
public class Client
private TcpClient tcpClient;
private NetworkStream stream;
public event Action<string> NewMessage;
public async void Connect(string host, int port)
try
this.tcpClient = new TcpClient();
await this.tcpClient.ConnectAsync(host, port);
this.stream = this.tcpClient.GetStream();
this.Process();
catch (Exception exception)
public void Disconnect()
try
this.stream.Close();
this.tcpClient.Close();
catch (Exception exception)
public async void SendMessage(string message)
try
await this.Send(Encoding.ASCII.GetBytes(message));
catch (Exception exception)
private async void Process()
try
while (true)
var data = await this.Receive();
this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
private async Task Send(byte[] buf)
await this.stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
await this.stream.WriteAsync(buf, 0, buf.Length);
private async Task<byte[]> Receive()
var lengthBytes = new byte[4];
await this.stream.ReadAsync(lengthBytes, 0, 4);
var length = BitConverter.ToInt32(lengthBytes, 0);
var buf = new byte[length];
await this.stream.ReadAsync(buf, 0, buf.Length);
return buf;Hi,
Have you debug these two applications? Does it go into the catch exception block when you close the client or the server?
According to my test, it will throw an exception when the client or the server is closed, just log the exception message in the catch block and then you'll get it:
private async void Process()
try
while (true)
var data = await this.Receive();
this.NewMessage.Invoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
Console.WriteLine(exception.Message);
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
By the way, I don't know what the SafeInvoke method is, it may be an extension method, right? I used Invoke instead to test it.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
HT201328 How can we test that our phone is unlocked after we restore our iPhone?
How can we test that our phone is unlocked after we restore our iPhone? I don't have access to another sim card at the moment. Only my AT&T sim card.
A sure way to check is to connect the phone to iTunes on your computer and click Restore iPhone (not Restore Backup). If the phone is unlocked near the end of the Restore iTunes will display "Congratulations. Your iPhone is unlocked."
-
How can I make that the cursor of a table ...
Hello,
how can I make that the cursor of a table (on the frontpanel) go to the starting position? I have placed a table that give back the number of the row if I doubleclick a row on the frontpanel, but when I restart the vi the cursor of the table is on this position. If I have many informations in the table and after restarting there are just one or two, I can`t see this information without scrolling to the top of the table. I want that the cursor (that I see) is at the first row. How can I make it?
thankyou
SchwedeHello,
Sorry, I forgot to attach it in the previous post.
Regards,
Paulo
Attachments:
EditPos.vi 16 KB -
I am selling my Mac Mini. I recently purchased OS X Lion. When I restore to factory settings, how can I ensure that the operating system will still be Lion, and not the original operating system, which I believe was Snow Leopard?
If you bought Lion from the App Store, you can't legally or practically transfer it, because it's tied to your Apple ID. Reinstall the original software from the discs that came with the machine.
-
I have photos on my iphone 4 that i'm trying to transfer to iphoto. The problem is when I plug the phone in, it only wants to transfer the new photos, not all. How can I take all the photos off my phone and put them into iphoto? Even if there are duplicates, I'd like to make sure I get all the photos from my phone into iphoto. Thanks
To see all the photos on the phone, including photos that have already been imported into iPhoto, deselect the "Hide Photos Already Imported" checkbox. If the camera contains photos that have already been imported into iPhoto, those photos are hidden by default.
-
HT3576 how can i verify that the network or firewall is not blocking access to port 5223.
how can i verify that the network or firewall is not blocking access to port 5223?
Talk to someone who knows something about networking and/or firewalls on an appropriate forum.
Configuring your network and/or firewall is beyond the scope of this forum, which is devoted to issues using the iPhone. -
How can I test for the bas unit enterd in a control?
How can I to create a polymorphic vi where the user can enter either volume or temperature.
how can Labwiev test for the base unit entered
pseudocode example:
input X
if X.base_unit == m^3 do .......
thanks for any suggestion to resolve or avoid my problem
Solved!
Go to Solution.Hi schaerm,
you have to dig deeper.
An idea is this one:
The red marked word is containing the unit - in a coded way. Somewhere in the LV help you can find the description of this coding (I remember a chapter on memory representations of all LV datatypes...). (There surely is an easier or better way - but the example is done quic&dirty.)
You can also format the number into a string and analyze the unit here...
Message Edited by GerdW on 02-07-2010 07:21 PM
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
How can I do that the background appears through the person who is on the pic
how can I do that the background appears through the person who is on the pic
Hi
just decrease the opacity of the layer on which you have the person -
How can one accept that the only way to sync with OSX 10.9 is through I cloud?
How can one accept that the only way to sync with OSX 10.9 is through I cloud?
One is now obliged to send private information to an external server...Thank you for the link but what a waist of time.
Who is the idiot that decided to drop manual syncing of contacts and calendars?
I am on the point of dropping all APPLE machines!
I am looking to sync without having to worry about security issues, keeping my files and passwords locally on my machines, and not an external server such as a cloud drive.
Do you know if Outlook syncs also over an external server?
Do you know of this solution? http://www.codetwo.com/public-folders/share-windows-files-securely/ -
Using an own function in a select how can i set that the function run once?
Hi
Using an own function in a select how can i set that the function run once, not in every row?
Please help me
Thanks
ViktorSomething like this ?
SQL> select * from dept;
DEPTNO DNAME LOC
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
SQL> create or replace function ret_name (deptnum in number) return varchar2
2 is
3 name varchar2(50);
4 begin
5 select dname into name
6 from dept
7 where deptno=deptnum;
8 return name;
9 exception
10 when no_data_found then
11 return('Not existent deptno');
12* end;
SQL> /
Function created.
SQL> select deptno, decode(rownum,1,ret_name(deptno),null) dname from dept;
DEPTNO DNAME
10 ACCOUNTING
20
30
40
SQL> -
How can i ensure that the time capsule back up all my data?
how can i ensure that the time capsule back up all my data and no any data missed during the back up? becz i was backing up my mac to time capsule for the first time and it takes only 5 hourse for 279GB which is doesnt make sense
any idea, how to ensure that all my data been backed upwell this tells you why you are having issues.. since you have a filevault and unless you are logged on as that user TM has no way to backup the vault.
so that is why the backup is so small.
And you cannot remove the file vault because the disk is too small.. you are in catch 22..
You cannot backup and you cannot remove the vault..
Login as the user who has the file vault and copy the files off the computer to a directory on the TC.. Then just delete the files on the computer.. that will then allow you to remove the file vault.
But never will I ever use file vaults so I am being theoretical .. please read it up yourself.
http://pondini.org/TM/25.html
You are not doing the background reading you need to understand what you are doing..
read the whole of pondini's info.. or at least skim it so you know what is there.
Avoid like the plague file vaults..
When disks go belly up, as they always do.. your files will be lost. Somewhere they need to be stored in the clear.. so why bother .. put better security on the computer and forget vaults. -
How can i indicate that the table columns have different size?
How can i indicate that the table columns have different size?
It is because i have a table that has several columns....but i would like to have the possibility to indicate the size for every column....could somebody help me please?
Thanks,
MaryHi,
don't know as much as I should about JTable, but it seems that using yourTable.getDefaultRenderer() could help you: if I clearly understood the javadoc notes, it returns an object inheriting from JLabel, so you should be able to use setHorizontalAlignment(int align) on it... no time to verify this, but I'd be thankfull if you tell me the results !!!
Regards -
How can I found out the No. of Psocess running and How can I Release them
Dear experts,
How can I found out the No. of Psocess running and How can I Release them.
I have 1GB RAM with oracle 10G. and please tell me How many processes can run with this RAM.>How can I found out the No. of Psocess running
well, that depends on where you are ? if you are on windows then task manager will tell you what all processes are running. if you are on unix then ps -ef will tell you about all the processes running on a particular machine
How can I Release them.
what do you exactly mean by Release ? if you mean "end" that again has 2 scenarios, first that process ends by itself (ie after completing its job), another can be killing the process , that again will depend upon operating system. in windows you can kill a process from task manager itself, in unix you can use kill -9 PID to kill a process.
How many processes can run with this RAM.
loads of other details required before one can answer this question.no of processes in a very simple manner will depend how much memory is available and how much a process is eating.
Sidhu -
i want arabic and engilish keyboard in MacBook Pro with retina display how can i order that ??, i want arabic and engilish keyboard in MacBook Pro with retina display how can i order that ??
If you haven't found an answer yet. I know for a fact that this can be ordered directly from Apple at no extra cost
You can either ask for this when buying a new MBP at a "physical" Apple store, or as in my case in the UK the online Apple store allows such keyboard configuration in addition to 3 other languages like Spanish, German and French
Maybe you are looking for
-
I have a windows desktop computer. Can I install a new hard drive and install ios mavericks on it? In other words, convert my windows desktop to a mac?
-
How do I save the websites I have open in one screen?
I have one screen with several tabs open. Normally when I close the screen, it asks if I want to save and continue. Now it just warns me that I'm about to close a screen with multiple tabs open. How do I go back to having it save the tabs I was in?
-
HT5622 iCloud, old e-mail problem?!
I changed my e-mail on Apple ID a while ago and everything was fine until I updated my iPhone 5 to iOS 7. It keeps asking for my old e-mail (which i permanently deleted) for iCloud and it doesn't accept the current password, ofcourse. How can I remov
-
2 Apple ID's and Sync Music to ITunes Library
I have 2 Apple ID's. On my IPhone I can listen to all music from both ID's. How do I sync ALL of the music from my phone (from the 2 Apple ID's) to my ITunes Library?
-
Mini display is shutting down computer.
I've been using a mini display to HDMI cord for awhile and nothing has been wrong with it until the other day. When I plugged the mini display into the port on my 13 inch MacBook Pro, it just shut down. Does anyone know why?