• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JWSDP+JNI. Is it workable?

 
Robin CHEN
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to use JNI in the web service endpoint developed use Jave Web Service Development Package.
But if I include any code in the class used as the following:
System.loadLibrary(mylib);
The compile and deploy works find, but when I access from the client, no matter the service application call the JNI funciton or not, the cilent always got the error:
[java] java.rmi.ServerException: JAXRPC.JAXRPCSERVLET.28: Missing port information
[java] at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:372)
[java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:224)
[java] at myabcsc.MyABCIF_Stub.getSum(MyABCIF_Stub.java:69)
[java] at myabcsc.MyABCClient.main(Unknown Source)

Anyone knows the reason and solution?
Thanks a lot.

Best Regards,
guiii
[ March 02, 2004: Message edited by: guiii guiii ]
[ March 02, 2004: Message edited by: Robin CHEN ]
 
Prairie DawgTooKay
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[Unhelpful post deleted.]
[ March 11, 2004: Message edited by: Ernest Friedman-Hill ]
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mr. Dawg,
It seems that you may have missed a bit while registering for the Ranch; in particular, you seem to be unaware of several JavaRanch rules.
The first, and most important: be nice. We don't cotton to meanness here. If you can't say something helpful, well, then you're not required to say anything.
Second, we've got a naming policy which requires that your display name be a real first and last name. Please head over here and fix yours. Thanks!
Now, I know that this was just an honest mistake and that you'd like to be a good citizen here at the Ranch, so I'm a-givin' you another chance. Please don't waste it.
 
Leonardo Postacchini
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there!!!
I am getting the same exception.
Can anybody help with this?
Regards,
Leonardo.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic