[JBoss-user] [JBoss and NetBeans] - Re: JBoss vs. Sun Server WS - do not work with complex types

2006-03-20 Thread zoharat
Hey I am facing a similar issue. 

Please look at the following..

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=79276

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Problems with ComplexTypes

2006-03-20 Thread zoharat
Hey,
 I am trying to attain the same thing. I have a UserObject which serializable , 
and it has just one property called name. I did not  have a  
ws4ee-deployment.xml in the web-inf folder.

It yet serialized the UserObject.

I had methods which returned an array of the UserObject and a Map of the 
UserObject.

The generated wsdd did not find the serializers and deserializers for the Array 
OfUserObject nor for the map.

When I created a static client,  I could use methods which used UserObject as 
return and input types, even the Array of UserObjects worked. But Maps didn't 
work.

When I switched over to dynamic clients the UserObject , Array of UserObject 
nor maps would work.

Do I need to wrtie my own serializers/deserializers, if so could somone provide 
information on how they are to be done.

Do I need to add more informaiton in to the deployement descritors..

Have been struggling with this issue for a couple of days please help..

This is the wsdd that gets generated...


  | 
  | 
  | 
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  |   
  |   
  |   
  |   
  | 
  |   
  |   
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  | 
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  | 
  | 
  | 



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - RemoteException , trying to return Maps

2006-03-17 Thread zoharat
Hi,
 I have a web service which has been deployed on jboss-4.0.3SP1. The web 
service contains the following method call

 public Map getUserMap(Integer size){
Map map = new HashMap();
UserObject u = null;
for(int i=0;ihttp://xml.apache.org/xml-soap}Map
at 
com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:318)
at 
com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:300)
at 
complex_stub.WebServiceIntf_Stub.getUserMap(WebServiceIntf_Stub.java:374)
at com.docfinity.client.TestClient.main(TestClient.java:81)
Caused by: deserialization error: unexpected element type: expected=, 
actual={http://xml.apache.org/xml-soap}Map
at 
com.sun.xml.rpc.encoding.SOAPDeserializationContext.deserializeMultiRefObjects(SOAPDeserializationContext.java:90)
at 
com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:226)
... 2 more.


The same web service when deployed on the Sun App server in the exact same way 
works fine. Please help I really need to get this working on the JBoss server.



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - gen : server - generate ties

2006-03-14 Thread zoharat
Hi, 
 I had been deploying most of my web services on the Sun App Server for 
testing. The Sun App Server would create the ties for the web service behind 
the scenes.

I deployed the same service on the JBoss Server, which did not contain the ties.

It worked fine. The war just contained the wsdl,mapping,interface and 
implementation class. No ties were in it.

My question is are ties required to be added to the war file, what role do they 
play. If they are required how does the web service  on JBoss work without them.



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - wscompile or Java2WSDL

2006-03-13 Thread zoharat
Hi,
 I have been researching on web services. Looking into interoperability between 
Java and .NET. I want to develop the web services in Java and they should also 
work with .NET.

Could someone guide me with this.

-Which tool is best to generate the WSDL file , wscompile or Java2WSDL ? ( I 
have used wscompile)

-Which encoding is to be used ? ( I want to send collection objects back and 
forth)

-Simple int datatype would throw an exception for a client generated using 
WSDL2Java, NumberFormat Exceptions.

-Thanks


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user