wood burning stoves 2.0
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JWSDP+JNI. Is it workable? " Watch "JWSDP+JNI. Is it workable? " New topic

JWSDP+JNI. Is it workable?

Robin CHEN

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:
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,
[ March 02, 2004: Message edited by: guiii guiii ]
[ March 02, 2004: Message edited by: Robin CHEN ]
Prairie DawgTooKay

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

Joined: Jul 08, 2003
Posts: 24199

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

Joined: Mar 30, 2004
Posts: 6
Hello there!!!
I am getting the same exception.
Can anybody help with this?
I agree. Here's the link: http://aspose.com/file-tools
subject: JWSDP+JNI. Is it workable?
jQuery in Action, 3rd edition