[jboss-user] [JBossWS] - Re: Attachments with SOAP

2008-02-05 Thread sidgod
I am getting following exception where building the webservice itself :
org.jboss.ws.WSException: Cannot determine namespace, Class had no package

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126517#4126517

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126517
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Attachments with SOAP

2008-01-28 Thread sidgod
Hi,

   I am kind of new to Web Services and this is what i am using right now :
JBOSS AS 4.0.4.GA, JBoss WS 1.2 and jdk 1.5.12. I am trying to get SOAP with 
attachments working. I saw one MTOP example that comes with JBOSS WS 1.2 and 
was trying to do the same. 

I am taking DataHandler as one of the inputs to my method, i am not 
providing anything in configuration file to WSTools while building the 
application JAR. 
so API looks like:

public void transferFile(String msg, WrappedBean handle) { }

Can somebody please tell me why is this not working and whether anything else 
needs to be done or some other alternative to get Attachments working with SOAP 
?

Thanks  in advance 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4123951#4123951

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123951
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Attachments with SOAP

2008-01-28 Thread sidgod
Hi i forgot to specify bean i am using, Wrapped Bean looks like:
public class WrappedBean {
private String name = null;
private DataHandler legacyData = null;
 
 // getters and setters for name and legacyData
}

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4123952#4123952

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123952
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Error while using WSTools

2007-10-10 Thread sidgod
Hi i was using JBOSS AS 4.0.4.GA for the J2EE application. Now i am trying to 
the soap interface also. Thus i downloaded zip for 4.0.4.GA and i am using 
following file to generate wsdl from my interface:
activation.jar, mail.jar, javassist.jar, jbossall-client.jar, 
jboss-backport-concurrent.jar, jbossretro-rt.jar, jbossws14-client.jar and 
xercesImpl.jar. 

I was using jdk 1.4 06 earlier and i am still using the same. The command i am 
using to generate wsdl is : 
org.jboss.ws.tools.WSTools -cp all-my-jars -config config-file -dest 
some-dest

Its failing with error java.lang.NoClassDefFoundError: 
org/xml/sax/ext/Attributes2 i believe this class is available only from jdk 
1.5.x series onwards. But i think WS tools which are shipped with server binary 
zip file can be used with 1.4.x also. 

So please tell me whats wrong and how can i counter it ?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4093422#4093422

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093422
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user