Anton Pechsherov

Greenhorn
+ Follow
since Sep 09, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Anton Pechsherov

Hi,
i'm getting started with:
https://netbeans.org/kb/docs/websvc/jax-ws.html

but when check web service:

schema_reference: Failed to read schema document 'CalculatorWS?xsd=1', because 'http' access is not allowed due to restriction set by the accessExternalSchema property.

then, adding:
1)netbeans.conf:


restart NetBeans, and nothing changed:


What is is wrong in my "getting started" ? =)
Thanks.
7 years ago

Rob Prime wrote:Just remove the "Mime" part from Ulf's code. You should program against the interfaces and abstract classes anyway. Sure, getContent() returns a MimeMultipart now, but in the future that may change to some other Multipart implementation.

And don't forget to check the type of getContent() - it could very well be a String for plain text emails without attachments. So:


Thanks... this is
12 years ago

Ulf Dittmer wrote:That's why I said "Something like..."; I didn't want to do all your work :-)

Do you know how to find out the exact class of an arbitrary Java object? And are you familiar with the concept of casting?


Ok... thank you.. i ll try all i can find )))
12 years ago
Type mismatch: cannot convert from BodyPart to MimeBodyPart

12 years ago


Show INBOX for urkanah@pop.mail.ru
From:=?KOI8-R?B?68nS2sHeIPPB0M/H?= <urkanah@gmail.com>
Subject: test
Content: javax.mail.internet.MimeMultipart@787171

I can not get Content of my test message, how i can get it? Sorry of my english
12 years ago
Maybe , you can mistakes anywhere.. but it was enother Example ..
13 years ago
One more simple:
13 years ago

At first i thought that , need to make simple class (byte)(mod and div)2), but java has own instrument to get bits..
[ September 28, 2008: Message edited by: Anton Pechsherov ]
13 years ago
I fill nobody doesnt'n know it ...
Does it so hard?
Question closed...i made it myself.
13 years ago
I need vector(String , or somthink else) of bits from byte, how i can do it?
I tried make self class witch do it, but i think java have this method . Please help me.
13 years ago
Try:
I do not try this code , but i think , it works, answer when you tried.
[ September 24, 2008: Message edited by: Anton Pechsherov ]
13 years ago
You have two variants:
Make yuor code with Runtime() - i have some examples,
or download libruary:
Windows - RXTX
*nix - javax.comm;
Samlpe:

Thants all... but if this is not that you want ? i'm realy sorry
13 years ago
Hi Martijn,
Thanks for "link" ...
but its different libraries.. and there no examples with USBSocket.getInputStream()
USBSocket.getOutputStream .... and another))
Wait for java-usb programmer... or examples..

[ September 16, 2008: Message edited by: Anton Pechsherov ]
[ September 16, 2008: Message edited by: Anton Pechsherov ]
13 years ago
I have test class with this library... But there is no exaples to use USBSocket()
If you have more examples , i'll glad to test it))
How i can work with this method?(example)
USBSocket usbSocket = new USBSocket((Device)bus.getDevice(i));
But it's wrong(I think) ...
I have JavaDoc(usb.*).. but its pure documenation!
13 years ago