Re: [JBoss-user] [JBoss.NET & SOAP] - JBossNET: method with argument

2004-02-06 Thread Giovanni Formenti
Yes... all the setup of WS is right...
I deployed the EAR in a "default.net" server (a "default" server with the
jboss-net.sar) because i don't want to load all the services of "all"
server.
Today I try the deploy in the "all" directory and it seems to work... maybe
i need to put some JAR to the "default.net/lib" directoy.
Any idea about the missing JARs?

Gio

> -Messaggio originale-
> Da: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] conto di Bruce
> Scharlau
> Inviato: venerdi 6 febbraio 2004 10.48
> A: [EMAIL PROTECTED]
> Oggetto: Re: [JBoss-user] [JBoss.NET & SOAP] - JBossNET: method with
> argument
>
>
> formenti wrote:
>
> > View the original post :
> http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820343#3820343
> >
> > Reply to the post :
> http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820343
> >
> > Hallo!
> >
> >
> >
> > I write a session bean exposed as a web service with JBoss.NET
> and XDoclet...
> >
> > If i try to call a test() method (it return a String) all is right!
> >
> > But if I try to call a method with a String parameter like
> test2(String test) it doesn't work! :(
> >
> >
> >
> > The error is:
> >
> >
> >
> > java.lang.NoClassDefFoundError
> >



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [JBoss.NET & SOAP] - JBossNET: method with argument

2004-02-06 Thread Bruce Scharlau
formenti wrote:

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

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

Hallo!



I write a session bean exposed as a web service with JBoss.NET and XDoclet...

If i try to call a test() method (it return a String) all is right!

But if I try to call a method with a String parameter like test2(String test) it doesn't work! :(



The error is:



java.lang.NoClassDefFoundError

at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:326)

at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:963)

at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)

at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:722)

at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:233)



Any idea?!



Gio

Gio,

the obvious question is, have you put a test2(string test) method in 
your session bean and then also put this into the web-service.xml file?
Or, rather put in the xdoclet tags to expose it as a web service?

--
cheers,
Bruce

Dr. Bruce Scharlau
Dept. of Computing Science
University of Aberdeen
Aberdeen AB24 3UE
01224 272193
http://www.csd.abdn.ac.uk/~bscharla
mailto:[EMAIL PROTECTED]


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET & SOAP] - JBossNET: method with argument

2004-02-05 Thread formenti
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820343#3820343

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

Hallo!



I write a session bean exposed as a web service with JBoss.NET and XDoclet...

If i try to call a test() method (it return a String) all is right!

But if I try to call a method with a String parameter like test2(String test) it 
doesn't work! :(



The error is:



java.lang.NoClassDefFoundError

at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:326)

at 
org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:963)

at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)

at 
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:722)

at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:233)



Any idea?!



Gio


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user