Hi,

I'm trying to expose a stateless session bean as a web service in order to 
access it via a C# client. The occuring problems are as follows:

1. I can't use RPC/literal SOAP messages since C# tells me during the WSDL file 
import that this style is not supported (ok, I know, this is not JBoss' 
problem). Therefore, I decided to expose the session bean by document/literal 
style where the next problem comes arises:

2. At the end of the document-style wiki, the WSDD-synchronizing problem is 
mentioned, but how do I incorporate this btw. rather bumpy wrapper onto my 
session bean?

3. Failing in exposing the session bean, I used the document-style wiki example 
(with the wrapper solution) to finally get a working example. I tried to write 
a simple method that takes an array of Longs (Long[]) and returns the sum of 
them. The wrapped web service deployes fine and I get the WSDL imported into C# 
as well. But: when trying to invoke the method, JBoss claims an empty namespace 
("Namespace URI cannot be null") which was already addressed in the forum and 
promised to be fixed in 4.0.2.

If you're wondering, what I'm trying to ask: I cut it short: Is there any way 
to make a SLSB expose its methods (that use complex types like arrays) as a 
webservice that can be accessed by a non-Java client, namely C#? I thought 
that's what WS are about but I only find endpoints/clients both written in the 
same language.

Regards,
Matthias


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869725#3869725

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869725


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to