aspose file tools*
The moose likes Web Services and the fly likes JWSDP+JNI. Is it workable? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "JWSDP+JNI. Is it workable? " Watch "JWSDP+JNI. Is it workable? " New topic
Author

JWSDP+JNI. Is it workable?

Robin CHEN
Greenhorn

Joined: Mar 02, 2004
Posts: 3
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

Joined: Mar 11, 2004
Posts: 3
[Unhelpful post deleted.]
[ March 11, 2004: Message edited by: Ernest Friedman-Hill ]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

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.


[Jess in Action][AskingGoodQuestions]
Leonardo Postacchini
Greenhorn

Joined: Mar 30, 2004
Posts: 6
Hello there!!!
I am getting the same exception.
Can anybody help with this?
Regards,
Leonardo.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JWSDP+JNI. Is it workable?