Help with a 6RD Basic config!
Hi there,
I am trying to start a basic setup to demonstrate 6RD and I am in trouble for a few hours. I just found an excellent pdf on this site and I tried to use it to start something using the same config but I did not have any success for the ulimated "ping" test !
I am using a very simple and basci setup using a:
CE ------ IP Router --------BR
This is my relevant config for the CE :
interface Loopback0
ip address 10.0.0.10 255.255.255.255
interface Tunnel0
no ip address
no ip redirects
ipv6 address 2001:DB80:A0A:100::/128
ipv6 rip fred enable
tunnel source Loopback0
tunnel mode ipv6ip 6rd
tunnel 6rd ipv4 prefix-len 16
tunnel 6rd prefix 2001:DB80::/32
tunnel 6rd br 10.0.0.1
ipv6 route 2001:DB80::/32 Tunnel0
And at the BR I got the following relevant info:
interface Tunnel0
no ip address
no ip redirects
tunnel source Loopback0
tunnel mode ipv6ip 6rd
tunnel 6rd ipv4 prefix-len 16
tunnel 6rd prefix 2001:DB80::/32
This is my version:
P1R3#sh ver
Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 15.1(3)T2, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2011 by Cisco Systems, Inc.
Compiled Wed 10-Aug-11 03:46 by prod_rel_team
More info about tunnels and intf:
P1R3#sh tunn 6rd
Interface Tunnel0:
Tunnel Source: 10.0.0.10
6RD: Operational, V6 Prefix: 2001:DB80::/32
V4 Prefix, Length: 16, Value: 10.0.0.0
V4 Suffix, Length: 0, Value: 0.0.0.0
Border Relay address: 10.0.0.1
General Prefix: 2001:DB80:A::/48
P1R3#sh ipv6int tu0
^
% Invalid input detected at '^' marker.
P1R3#sh ipv6i nt tu0
^
% Invalid input detected at '^' marker.
P1R3#sh ipv6i nt tu0
*Oct 30 22:06:13.266: Tunnel0 count tx, adding 20 encap bytes
P1R3#sh ipv6 int tu0
Tunnel0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::A00:A
No Virtual link-local address(es):
Global unicast address(es):
2001:DB80:A0A:100::, subnet is 2001:DB80:A0A:100::/128
Joined group address(es):
FF02::1
FF02::2
FF02::9
FF02::1:FF00:0
FF02::1:FF00:A
MTU is 1480 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ICMP unreachables are sent
Post_Encap features: Tunnel 6RD
ND DAD is not supported
ND reachable time is 30000 milliseconds (using 30000)
Hosts use stateless autoconfig for addresses.
P1R3#
1R3#
*Oct 30 22:08:40.146: Tunnel0 count tx, adding 20 encap bytes
P1R3#show ipv6 route
IPv6 Routing Table - default - 5 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
D - EIGRP, EX - EIGRP external, ND - Neighbor Discovery
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
C 2001:DB8:BAD:F00D::/64 [0/0]
via FastEthernet0/0, directly connected
L 2001:DB8:BAD:F00D::1/128 [0/0]
via FastEthernet0/0, receive
S 2001:DB80::/32 [1/0]
via Tunnel0, directly connected
LC 2001:DB80:A0A:100::/128 [0/0]
via Tunnel0, receive
L FF00::/8 [0/0]
via Null0, receive
P1R3#
*Oct 30 22:09:07.226: Tunnel0 count tx, adding 20 encap bytes
P1R3#
P1R2#show ipv6 route
IPv6 Routing Table - default - 5 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
D - EIGRP, EX - EIGRP external, ND - Neighbor Discovery
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
LC 2001:DB8:CAFE:1::1:2/128 [0/0]
via Loopback0, receive
C 2001:DB80:6400:FECA::/64 [0/0]
via Loopback99, directly connected
L 2001:DB80:6400:FECA:CACA::1/128 [0/0]
via Loopback99, receive
LC 2020:1:1:1::1/128 [0/0]
via Loopback99, receive
L FF00::/8 [0/0]
via Null0, receive
P1R2#
Sending on one side:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2020:1:1:1::1, timeout is 2 seconds:
Packet sent with a source address of 2001:DB8:BAD:F00D::1
*Oct 30 22:12:28.318: Tunnel0 count tx, adding 20 encap bytes
*Oct 30 22:12:28.958: ICMPv6: Sent echo request, Src=2001:DB8:BAD:F00D::1, Dst=2020:1:1:1::1.
*Oct 30 22:12:30.958: ICMPv6: Sent echo request, Src=2001:DB8:BAD:F00D::1, Dst=2020:1:1:1::1.
*Oct 30 22:12:32.958: ICMPv6: Sent echo request, Src=2001:DB8:BAD:F00D::1, Dst=2020:1:1:1::1.
*Oct 30 22:12:34.958: ICMPv6: Sent echo request, Src=2001:DB8:BAD:F00D::1, Dst=2020:1:1:1::1.
*Oct 30 22:12:36.958: ICMPv6: Sent echo request, Src=2001:DB8:BAD:F00D::1, Dst=2020:1:1:1::1.
Success rate is 0 percent (0/5)
P1R3#
Does not show up on the other side:
Invalid input detected at '^' marker.
P1R2#deb ipv6 icmp
ICMP Packet debugging is on
P1R2#
Any idea of something missing or wrong ?
Setups can be accessed remotely...
TIA
Fred
thank you harold!
actually I did this lab after a few nights and days with almost no sleep to prepare a nice new training I have developped from an existing CISCO training
The first sessions are for you (cisco) ;-) and I wanted it to be perfect...
I was sure to have done some BIG mistakes that I would have discover after a good night sleep ;-)
The first session is currently running this week.
I am going to try again tonight so maybe I will show this to my students tomorrow
http://www.fastlaneus.com/course/fl-ipv6spse
Similar Messages
-
Hi guys, i have a project to do and Ive chosen hangman. Ive already made the main program , but i need help with the GUI. I havent been taught about GUI in school, so all i know is what i could understand from a book and what ive read on the internet..
First , heres the code of my basic Hangman class:
import java.io.*;
import java.util.Random;
public class Hangman
public void maingame()throws IOException
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String movies[]={"THE BOURNE ULTIMATUM","TRANSFORMERS","RUSH HOUR 3","THE INSIDE MAN","THE SIMPSONS MOVIE","THE LORD OF THE RINGS","DIE HARD 4.0"};
Random rand = new Random();
char current[]=(movies[rand.nextInt(movies.length)]).toCharArray(); //Convert a random string from movies array into a char array
char actual[]=new char[current.length]; //Store current state of guessed movie
for (int i=0;i<actual.length;i++)
if (isVowel(Character.toUpperCase(current))==true)
actual[i]=current[i];
else if (isSpecialChar(Character.toUpperCase(current[i]))==true)
actual[i]=current[i];
else if (current[i]==' ')
actual[i]='/';
else
actual[i]='_';
String hangman = "HANGMAN";
int turnsleft=7;
StringBuffer guessed=new StringBuffer();
while (turnsleft!=0)
System.out.println("\n\t\t\t\t"+hangman.substring(0,turnsleft)+"\n");
print(actual);
System.out.println("\nEnter your guess");
String inp = br.readLine();
if (inp.length()>1)
System.out.println("You may only enter one character");
else
char guess = inp.charAt(0); //Convert the entered string to char
if ( (hasBeenGuessed(guess,guessed)) == true )
System.out.println("You have already guessed that\nYou have "+turnsleft+" turns left");
else if (guess >= '0' && guess <= '9')
System.out.println("You cannot guess digits.All digits in a movie will will be filled in automatically");
else
guessed.append(guess);
if (isVowel(guess)!=true)
if (isCorrect(guess,turnsleft,current,actual)==true)
if (hasWon(actual,current)==true)
System.out.println();
print(actual);
System.out.println("\nCongratulations!You won!");
System.exit(0);
else
System.out.println("\nCorrect Guess!\nYou have "+turnsleft+" turns left\n");
else
turnsleft--;
System.out.println("Wrong Guess!\nYou have "+turnsleft+" turns left\n");
else if (isVowel(guess)==true)
System.out.println("You cannot guess vowels\nYou have "+turnsleft+" turns left\n");
else
System.out.println("You have already guessed that\nYou have "+turnsleft+" turns left\n");
print(actual);
if (turnsleft==0)
System.out.println("\nYou lose!\nThe movie was: ");
print(current);
System.exit(0);
private boolean isCorrect(char guess,int turnsleft,char current[],char actual[])
int flag=0;
for (int i=0;i<current.length;i++)
if ( Character.toUpperCase(current[i])==Character.toUpperCase(guess) && actual[i]!=guess ) //Check if guess is correct, and make sure it has not already been entered
actual[i]=guess;
flag=1;
else if (Character.toUpperCase(current[i])!=Character.toUpperCase(guess) && i==current.length-1 && flag==0)
return false;
if (flag!=0)
return true;
else
return false;
private boolean hasWon(char actual[],char current[])
char actualspc[]=new char[actual.length];
for (int i=0;i<actual.length;i++)
if (actual[i]=='/')
actualspc[i]=' ';
else
actualspc[i]=actual[i];
for (int i=0;i<actual.length;i++)
if ((Character.toUpperCase(current[i]))==(Character.toUpperCase(actualspc[i])) && i==actual.length-1)
return true;
else if ((Character.toUpperCase(current[i]))==(Character.toUpperCase(actualspc[i])) && i!=actual.length-1)
continue;
else
return false;
return false;
private void print(char arr[])
for (int i=0;i<arr.length;i++)
System.out.print(Character.toUpperCase(arr[i])+" ");
private boolean isVowel(char a)
if (a=='a' || a=='A' || a=='e' || a=='E' || a=='i' || a=='I' || a=='o' || a=='O' || a=='u' || a=='U')
return true;
else
return false;
private boolean isSpecialChar(char a)
//if (a>='a' && a<='z')
//return false;
//else if (a>='A' && a<='z')
//return false;
//else if (a==' ')
//return false;
//else if (a>='0' && a<='9')
//return true;
if (isLetter(a)==true)
return false;
else if (isWhiteSpace(a)==true)
return false;
else if (isDigit(a)==true)
return true;
else
return true;
private boolean hasBeenGuessed(char a,StringBuffer guessed)
for (int i=0;i<guessed.length();i++)
if ( Character.toUpperCase(guessed.charAt(i)) == Character.toUpperCase(a))
return true;
return false;
My first 2 questions are here:
a - Why does isLetter not work, it says cannot resolve symbol - method isLetter(char)... Im guessing even isDigit and isWhiteSpace wont work, so why? If i cant use them ill have to use the commented code, its kind of unprofessional..
b- Isnt there any way i can compare chars ignoring cases besides converting both to one case, like im doing now?
Heres the new HangmanGUI class i made, it doesnt necessarily have to be a different class in the final outcome, but i would prefer it if it can.. Ive made what i can figure out.. Ive commented about what i need to do.
Keep in mind i cant use Applets, only Frame/JFrame
import java.awt.*;
import javax.swing.*;
public class HangmanGUI extends JFrame implements ActionListener
Button newGame = new Button("New Game");
Button entGuess = new Button("Submit Guess");
Button giveUp = new Button("Give Up");
TextField input = new TextField("",1);
Label hangman = new Label("HANGMAN");
JPanel play = new JPanel();
JPanel hang = new Jpanel();
GridLayout playLayout = new GridLayout(2,4);
public HangmanGUI()
play.setLayout(playLayout);
play.add(hangman+"\n");
play.add(newGame);
play.add(giveUp);
play.add(input);
play.add(entGuess);
hang.add(hangman);
getContentPane().add(play);
getContentPane().add(hang);
public void ActionPerformed(ActionEvent act)
Object src = act.getSource();
if (src==newGame)
main(); //Calling main to restart program - will that work?
//if (src==entGuess)
//Need to submit the guess, while input is not empty to Hangman class
//if (src==giveUp)
//Need to go into the losing part of Hangman class
}As you can see i need help with:
a - How to complete the other ifs
b - How to really use the data of my Hangman class in this class and combine the GUI and backend to make a nice GUI Hangman app
c - btw, right now if i try to compile HangmanGUI it highlights the implements ActionListener line and says cannot resolve symbol - class ActionListener..
Any help would be greatly appreciatedThanks for the explanation pete...
Anyways, i started implementing my code within abillconsl's code, and im trying to assign a label to a char array using .toString(); but instead of whats in the char array i get [C@<numbers and digits> ..
Whats wrong?
[code]
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.Random;
public class HangEmHighGUI extends JFrame implements ActionListener
private Button newGame,
entGuess,
giveUp;
private TextField input;
private Label hangman,
movie;
private JPanel play,
hang;
private GridLayout playLayout;
private FlowLayout labelLayout;
private Container container; // To avoid extra meth calls
String movies[]={"THE/BOURNE/ULTIMATUM","TRANSFORMERS","RUSH HOUR 3","THE INSIDE MAN","THE SIMPSONS MOVIE","THE LORD OF THE RINGS","DIE HARD 4.0"};
Random rand = new Random();
char current[]=(movies[rand.nextInt(movies.length)]).toCharArray(); //Convert a random string from movies array into a char array
char actual[]=new char[current.length]; //Store current state of guessed movie
public HangEmHighGUI()
setUp();
container = this.getContentPane();
play = new JPanel();
hang = new JPanel();
playLayout = new GridLayout(1, 3, 5, 5); // rows, cols, space, space
labelLayout = new FlowLayout(FlowLayout.CENTER);
newGame = new Button("New Game");
entGuess = new Button("Submit Guess");
giveUp = new Button("Give Up");
input = new TextField("",1);
hangman = new Label("HANGMAN");
movie = new Label(actual.toString());
hang.setLayout(labelLayout);
play.setLayout(playLayout);
play.add(newGame);
play.add(giveUp);
play.add(entGuess);
hang.add(hangman);
hang.add(movie);
container.add(hang,BorderLayout.NORTH);
container.add(input,BorderLayout.CENTER);
container.add(play,BorderLayout.SOUTH);
pack();
setVisible(true);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
public void actionPerformed(ActionEvent act)
Object src = act.getSource();
if (src==newGame)
main(new String[] {""}); //Calling main to restart program, this does not work without parameters, is there some other way to restart?
if (src==entGuess)
if (input.getText()=="")
setUp();
//if (src==giveUp)
//Need to go into the losing part of Hangman class
public static void main(String args[])
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
new HangEmHighGUI();
private void setUp()
for (int i=0;i<actual.length;i++)
if (isVowel(Character.toUpperCase(current)))
actual[i]=current[i];
else if (isSpecialChar(Character.toUpperCase(current[i])))
actual[i]=current[i];
else if (Character.isWhitespace(current[i]))
actual[i]='/';
else
actual[i]='_';
private boolean isVowel(char a)
if (Character.toUpperCase(a)=='A' || Character.toUpperCase(a)=='E' || Character.toUpperCase(a)=='I' || Character.toUpperCase(a)=='O' || Character.toUpperCase(a)=='U')
return true;
else
return false;
private boolean isSpecialChar(char a)
if (Character.isLetter(a))
return false;
else if (Character.isDigit(a))
return true;
else if (Character.isWhitespace(a))
return false;
else
return true;
private boolean isCorrect(char guess,int turnsleft,char current[],char actual[])
int flag=0;
for (int i=0;i<current.length;i++)
if ( Character.toUpperCase(current[i])==Character.toUpperCase(guess) && actual[i]!=guess ) //Check if guess is correct, and make sure it has not already been entered
actual[i]=guess;
flag=1;
else if (Character.toUpperCase(current[i])!=Character.toUpperCase(guess) && i==current.length-1 && flag==0)
return false;
if (flag!=0)
return true;
else
return false;
private boolean hasWon(char actual[],char current[])
char actualspc[]=new char[actual.length];
for (int i=0;i<actual.length;i++)
if (actual[i]=='/')
actualspc[i]=' ';
else
actualspc[i]=actual[i];
for (int i=0;i<actual.length;i++)
if ((Character.toUpperCase(current[i]))==(Character.toUpperCase(actualspc[i])) && i==actual.length-1)
return true;
else if ((Character.toUpperCase(current[i]))==(Character.toUpperCase(actualspc[i])) && i!=actual.length-1)
continue;
else
return false;
return false;
private void print(char arr[])
for (int i=0;i<arr.length;i++)
System.out.print(Character.toUpperCase(arr[i])+" ");
private boolean hasBeenGuessed(char a,StringBuffer guessed)
for (int i=0;i<guessed.length();i++)
if ( Character.toUpperCase(guessed.charAt(i)) == Character.toUpperCase(a))
return true;
return false;
Note that the majority of the code has been taken from my old hangman class, i havent adapted it to the GUI yet, so ignore all of that stuff. -
Help with Acrobat X Pro Config Error
Hello, I'm looking for some assistance with Config Error 130:11 on Acrobat X Pro running on Windows 7.
The message reads:
A problem has occured with the licensing of this product. Restart your computer and re-launch the product.
Error: 130:11
I'm using the subscription service for CS6.
Help appreciated!
KieranHi Sandeep,
Thanks for your response.
Acrobat Reader had been installed on the machine, but not an earlier version of Acrobat - it's a new machine, but I installed CS5 Design Standard before subscribing to CS6.
Since my CS5 software was an upgrade (as was CS4 - I had been asked to re-enter the CS4 serial number), I think the Acrobat software was never fully installed prior to the CS6 download.
The permissions for SLStore were:
System & Administrator - Full Control
Creator Owner - Special
Users - Read & Execute
Users - Speical
The permissions for Adobe PCD & caps were:
Administrator - Full Control
Everyone - Read
When the Adobe PCD & caps folders were moved to the Desktop & the Acrobat X Pro re-launched, I received an Error: 6 response:
Please uninstall and reinstall the product. If this problem still occurs, please contact Adobe technical support... etc
I assume this is my next step?
Many thanks,
Kieran -
Help with Hiss Removal / Basic Audio Problems
Hey guys. I have a Panasonic HDC-TM700 with an attached Azden High-performance (SMX-10) Stereo Condenser Microphone. I use it to record a person talking about 6 feet away in small room. However the audio always sounds horrible on playback. By horrible I mean there is always a loud hiss, and they sound so flat. Since I have to do this on a weekly basis now I am hoping somebody here can give me some pointers on how to fix these issues. I assume it a fairly issue fix in Adobe Audition CS 5.5 (which I have). I start my production in Premiere Pro CS5.5 and then export the audio to Adobe Audition for editing. My problem is ive never been a sound guy so I really don’t understand what all the filters and settings do (in Premiere or Audition). I was able to “capture the noise” and have Auditon “remove it”. That does an ok job of removing the hiss… but then the already flat voice left over, sounds very tinny.
So is there any advice or direction you can give me on what settings to use or apply to get audition to make the audio sound better? Or is there anywhere (for beginners) to learn how to use the settings? I think my problem is that I don’t understand the basics of audio like what EQ or a compressor does, and how the settings effect things. But everything I read is so technical and it just confuses me more.
Or are there any other microphones (under $200.00) anybody could suggest that would be able to be added to this camera that could get me better audio for my situation?
I would really appreciate any advice, or a point in the right direction. Thanks guys.I'm afraid my answer isn't going to make you happy. A microphone mounted on a camera six feet away from a speaker isn't ever going to give you the results you're after. Audition may be able to help a little but the real trick is to get the mic much closer to the speaker, especially in a small room which is going to sound hollow and boomy. Effectively what you're asking is like "if I shoot on a wide angle lens, how can I zoom into a closeup in editing without losing resolution". Sound is just as unforgiving. When I was working as a sound guy for video, the trick was always to get the mic in as close as possible without getting into shot--even with a thousand dollar mic, I couldn't just stand by the camera and get good results--well, at least not without a long fish pole!
How you do this is going to depend on the details of your shoot. You might try a shotgun mic on a fishpole boom--the cheapest shotgun I know is the Rode NTG2 but this with a fishpole will blow your $200 budget. (There's also the NTG1 but this needs phantom power and I'll assume you can't provide that.
Or, in a static situation, there are various clip on lavalier mics you could try--Sennheiser do at least one within your budget (or used to--haven't checked lately) that can be powered with a little button battery.
Either way, though, the trick is to get the mic much closer to the subject.
For material you already have, the only suggestion I have is to do your hiss reduction in several small steps rather than trying to do it all at once. This should result in the remaining voice sounding less "processed" but it's still not the same as getting the recording right to start with. -
Help with Applescript: very basic functions
Hi guys, my first post. I'd very much like to switch from Excel to Numbers but not until I find an Applescript replacement for my stuff.
I wrote basic Excel Applescript just fine but I'm tearing my hair out just to perform simple scripts in Numbers!!!
Basically I need to do:
PART 1: Import External Data
- I think I got this covered, using a GUI copy script via the "System Events" application
- but since you guys are the experts: how do I make this process 'invisible'? i.e. each time the script runs, a Safari window appears. I don't want that to happen.
tell application "Safari"
activate
open location "http://www.whatever.htm"
end tell
tell application "System Events"
tell process "Safari"
keystroke "a" using command down
keystroke "c" using command down
end tell
end tell
PART 2: Paste It Into Numbers
- How hard can it be, right? Apparently I have the mental IQ of Gump I need Numbers to:
- clear data from an existing pre-defined/named table
- paste the data (from clipboard) onto this table (paste starting on cell A1), using the "Paste and Match Style" function
- hide certain columns <-- I realize if Numbers paste onto a table with hidden columns, it treats them as non-existent i.e. won't paste the same. Therefore I suppose before the paste script I'd need an unhide script
... and that's it!!
Help please I really hate Excel but can't move on till I figure this out... it's crucial to my livelihood.
Thank you all in advance!There is no paste function in the Numbers AppleScript's dictionary.
We may mimic it as I did during one year and a half with Numbers '08.
Go to my iDisk:
<http://idisk.me.com/koenigyvan-Public?view=web>
open the folder "For_iWork:iWork '08:for_Numbers:"
and download one of the items whose name starts with "paste".
This use of GUI scripting is interesting because it creates automatically rows/columns when required.
One draw back is the resulting font.
Yvan KOENIG (from FRANCE samedi 17 janvier 2009 21:12:52) -
Help With wscompile On A config.xml
Hello,
I'm a newbie to Jax-rpc, so please bear with I'm having
difficulties compiling this config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<service name="GetTenQService"
targetNamespace="http://localhost/getTenQ.wsdl"
typeNamespace="http://localhost/getTenQ/types"
packageName="getTenQ">
<interface name="getTenQ.JaxRpcGetTenqI"
servantName="getTenQ.JaxRpcGetTenqImpl"/>
</service>
</configuration>
I tried running >wscompile.sh -gen:both -keep -d classout -model wscmodel.xml.gz config.xml
and I'm seeing the following error message:
error: RmiModeler error: java.lang.ClassNotFoundException: getTenQ$JaxRpcGetTenqI
What am I doing wrong? Any info would be appreciated.
A.
P.S Where are the docs for coding the config.xml
and jaxrpc-ri.xml?Thanks for the reply. I was already specifying the
-cp or -classpath. Turns out when using either
option they need to be the first arg passed to
wscompile -
Help with setting up basic web service
Hi guys-
I am just getting started with Flex and I am looking to
create a really simple app that uses the XigniteQuotes web service
http://www.xignite.com/xQuotes.asmx).
I know I have to authenticate myself with my email and I have been
looking for some tutorials online but they all seem a little too
advanced for me or they are for Flex Builder 1 (I'm using Flex
Builder 2). If someone could refer to some tutorials I might have
missed or if you wouldn't mind giving me some sample code to get me
started I would really appreciate it. I seem to be running into a
lot of errors trying on my own. Thank you,
-DanHi there,
This tutorial has a section on craeting web requests. It's
not too hard in Flex 2.0
<mx:HTTPService id="idofservice" method="POST"
url="url_to_service.php?" useProxy="false">
<mx:request xmlns="">
<!-- this is where the data you want to send to the script
goes -->
<username>{username.text}</username>
<!-- assuming you had a text input field named username of
course. -->
<password>{password.text}</password>
Take a look at the tutorial.
Hope it helps!
</mx:request>
</mx:HTTPService> -
Need Help with some Resolution Basics (I think)
Hi,
I'm trying to use my Powerbook G4 15-in 1.5 GHz to connect to a 23-in ACD. I'm connecting to the ACD through the DVI port.
When I do, and after mirroring the displays, only part of the ACD screen is used, the rest being dark on the outside. The display settings are already set to their maximum resolution, 1280 x 854. Can I go any higher? Is resolution the answer to the "black box" around the desktop on the ACD?
There is an education hump with regard to the basics of resolution that I think I am not getting over.
Thanks.I'm not sure what forum this question should be asked in, but this isn't it.
That said,
select e.*
from equipment e -- get the list of all equipment
inner join (select e2.equipment_number -- get the list of all equipment with too many records.
from equipment e2
group by e2.equipment_number
having count(*) > 1
) e2_many
on e.equipment_number = e2_many.equipment_number -- return equipment if in both lists.
Don't have anything handy to test that with, cause I just shut down my database, so you'll get to correct any syntax boo-boos for yourself. :) -
Help with Client/Server - basic error
I get the following error message when I try to run the following code - why ?????? Is it something to do with it being run on a networked computer or what ??!?!
import java.net.*;
import java.io.*;
import java.util.*;
class ClientSimon {
public static void main (String args[]) throws Exception {
InetAddress addr = InetAddress.getByName(null);
System.out.println(addr);
try {
Socket s = new Socket("127.1.1.0", 4444);
} catch (UnknownHostException e) {
System.err.println("Don't know about host!");
System.exit(1);
//////////ERROR MESSAGE FOLLOWS////////////////
localhost/127.0.0.1
java.net.ConnectException: Connection refused: no further information
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
at java.net.Socket.<init>(Socket.java:273)
at java.net.Socket.<init>(Socket.java:100)
at ClientSimon.main(ClientSimon.java:13)hello earnshaw1,
did you run your ServerSocket using port 4444?
if you indicate a different port then it would definitely yield to the same error:
-->localhost/127.0.0.1
java.net.ConnectException: Connection refused: no further information
try changing the port of your ServerSocket to 4444 and run it first before running ClientSimon..
hope it helps!
enjoi! -
Need help with solving the (basic) programming error
I'm reaaaaaaaaaally new to Java and programming in general. I've been glancing through my older brother's old stuff (he's back at Uni!) and I've taken an interest.
Anyways, so I'm trying to finish this really simple program cause I wanna wow some friends ("wow" = "haha we've done this before a gazillion times") but I can't seem to solve this "incompatible lines" bug in the code, specifically line 24. I've been looking at it for exactly 4 hours!! Programming in Java 1.6.
Thanks for the help!! :)
import java.util.*;
import java.util.Scanner;
public class LuigisPizzaProgram {
public static void main(String args[]) {
System.out.println("Luigi's Pizza");
System.out.println("-------------------------------------------");
System.out.println(" a(SML) b(MED) c(LRG)");
System.out.println("1. Cheese 5.00 7.50 10.00");
System.out.println("2. Pepperoni 5.75 8.63 11.50");
System.out.println("3. Combination 6.50 9.75 13.00");
System.out.println("4. Vegetarian 7.25 10.88 14.50");
System.out.println("5. Meat Lovers 8.00 12.00 16.00");
System.out.println(" ");
System.out.println("What kind of pizza do you want?");
int kind = new Scanner(System.in).nextInt();
System.out.println(kind);
System.out.println("What size of pizza do you want?");
char size = new Scanner(System.in).nextLine();
System.out.println(size);
}Having said that, it is nontraditional to use Scanner like you are using it. There is no way to reuse it in order to get more input. Better would be something like:
System.out.println("What size of pizza do you want?");
Scanner scan = new Scanner(System.in); // create the scan variable
String size = scan.nextLine(); // now use the scan variable
System.out.println(size);Also, when posting your code, please use code tags so that your code will be well-formatted and readable. To do this, place the tag [code] at the top of your block of code and the tag [/code] at the bottom, like so:
[code]
// your code block goes here.
[/code]good luck, pete -
Need help with iTunes and audio config
i get an error message and can't open up the program.
iTunes cannot open because it has detected a problem with your audio configuration.
So what do i do??Try the instructions in this article.
(23165) -
Hi, I am embarrassed to say this but I can't figure out why this select isn't working.
SELECT single adrnr INTO w_adrnr FROM lfa1
WHERE lifnr = w_lifnr.
I know that I have a match in LFA1 where LIFNR = W_LIFNR but the select will not return anything. Can you tell me what [obvious] mistake I have made?
Regards,
DavisDavis,
did you see data at SE11 ? if so then use
Use Below FM -> pass CONVERSION_EXIT_ALPHA_INPUT
give input w_lifnr and output is w_lifnr
SELECT single adrnr INTO w_adrnr FROM lfa1
WHERE lifnr = w_lifnr.
now see the results
Thanks
Seshu -
Hi, I need help and advice. Basically me and my ex partner both had iphones and synced it with the same computer under the same ID. We split up and now im trying to get all my apps and info onto my new laptop with a new account but it keeps asking me for the old apple ID which she is still using and she changed the password. i tried backing it up but still nohing. When i try to back up purchased items being apps etc its keeps asking for the old one. help
See Recover your iTunes library from your iPod or iOS device. But you'll still need the password.
Once you have the computer authorized to use the account she could change the password again to stop you buying apps on her card (assuming it's not on yours!). It would lock you out of upgrading them too but they should work unless she uses the deathorize all feature.
It depends on how amicable the split is...
tt2 -
Help with Project Management setup from very basics...
hi all!
i am new to e-business suite and now i have installed vision demo database successfully on a Quad Core with 320 GB hard and 4 GB ram...now i need help to setup Project Management (PM) module for a hypothetical construction company with the required functionalities (just limited functionalities and Not complete functionalities as in EBS).i need help in setting up Project Management module from the very basics...so can you help me out in this...thanks in anticipationHi,
Please post only once (do not post same thread across multiple forums).
help with Financials setup from very basics...
Re: help with Financials setup from very basics...
Regards,
Hussein -
Hello Robohelp Users,
we want to create our own Robo Flash Help. Does it works with
the Flash Basic Version or do we need the Flash Professionell
version?
MargitMargit -
Flash Help is a product of Robohelp; your users only need
Macromedia's Flash player installed in order to view it. Which,
according to MM, is about 97.7% of the Internet-connected PCs.
So, it looks like you're good to go, yes?
Maybe you are looking for
-
Gallery css z-index problem in ie
Hy, I have a problem in ie with the gallery. If I move the cursor to the thumbnails, thats will be start to grow to a bigger size. The actual thumbnail get a zindex :150, but the round thumbnails cover the actual thumbnail a bit (a side of the image)
-
Can't adjust height in dreamweaver
1
-
My passport 1Tb hardrive keeps trying to quit on its own?
My passsport 1Tb portable hardrive keeps trying to quit on its own? While I am and when I am not using it?
-
JUst bought iPad. Photos not loading from iPhone. iCloud is on on all settings.
-
A Major Transaction Problem!
"A" is a record which has already been inserted into a table(TBL). "insert(Y)" is a method that inserts a given record -Y- into TBL. "foo(X)" is a method that takes a record as a parameter and queries it on a view(VIEW). This view is a huge select st