Problem with btspp UUID, creating service record, following textbook code!!

I am quite confused over my problem.

I am trying to follow a basic server-client MIDlet source code from book entitled: "Bluetooth Application Programming with the Java API's"

Here is the connection string for the UUID:

try

{

StreamConnectionNotifier notifier = (StreamConnectionNotifier)Connector.open(

"btspp://localhost:102030405060708090A0B0C0D0E0F010; name= DataServer");

.....

Here is a long UUID 128-bit value. I've tried so many different types of combinations for this but everytime this expception is thrown:

"Uncaught exception java/lang/IllegalArgumentException:

Malformed URL: btspp://localhost:102030405060708090A0B0C0D0E0F010; name= DataServer."

What is malformed about my server connection string?

I really don't understant what the problem could be at the moment as debug falls over at this point everytime. Any suggestions anyone?

[932 byte] By [Hazzmana] at [2007-11-26 12:55:46]
# 1
Problem solved:NO SPACES ALLOWED IN THE CONNECTION STRING!!!"btspp://localhost:0123456789AF;name=DataServer"hope this helps people with similar problems.....
Hazzmana at 2007-7-7 16:49:41 > top of Java-index,Java Mobility Forums,Java ME Technologies...