[JBoss-user] [JBossWS] - About doc/literal in jboss-4.0.1sp1

2005-05-09 Thread sidazad
Hi,
There was a bug with namespace URIs being NULL in JBoss 4.0.1sp1 for 
document/literal web services. It has been fixed in JBoss-4.0.2. Are there any 
plans for making the fix available for JBoss 4.0.1sp1 also.
Please see:
http://www.jboss.org/index.html?module=bbop=viewtopict=63230
Thanks, Sid.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877071


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: DII call with literal xsi in SOAP request

2005-04-29 Thread sidazad
I don't have to use a DII Client. A Dynamic Proxy client would be fine for me. 
But I did follow the tutorial and ended up getting errors in the dynamic proxy. 
I posted those on :
http://www.jboss.org/index.html?module=bbop=viewtopict=63230
I also posted the soap message that is being generated by the client and I 
suspect it has something to do with the settings related to document/literal 
style services. I couldn't find on the tutorial whether there is any additiona 
setup required for dynamic proxies for document literal services (as there is 
required for DIIs).
Thanks, Sid.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875913


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS web-service from a Stateless Session Bean

2005-04-28 Thread sidazad
This is JBoss 4.0.1 sp1. 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875765


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS web-service from a Stateless Session Bean

2005-04-28 Thread sidazad
Also to create the service endpoint, I followed the tutorial for creating a 
anonymous wrote : Document style service. I am not sure if I need to do any 
additional settings in the Dynamic proxy client for this.
I know one needs to set certain properties in the Call Object when to specify 
document style or rpc style, but I am dealing with the port directly. 
The port class was also generated as explained in the Document Style client 
step by step tutorial.
Thanks.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875769


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS web-service from a Stateless Session Bean

2005-04-28 Thread sidazad
Finally I was able to see the SOAP message being sent to JBoss. I think this 
should provide a clue to what is going on here.

  | ?xml version=1.0 encoding=UTF-8?
  | soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  soapenv:Body
  |   concat xmlns=http://sidcomtest.com;
  |SidInput_1 xsi:type=ns1:Concat 
xmlns:ns1=http://sidcomtestclient.com; xmlns=
  | sidInput_1 xsi:nil=true/
  |/SidInput_1
  |   /concat
  |  /soapenv:Body
  | /soapenv:Envelope
  | 


The exception received from JBoss is :


  | 12:38:12,027 INFO  [AxisServlet] java.lang.IllegalArgumentException: 
Namespace URI cannot be null
  | 12:38:12,027 ERROR [Engine] StandardWrapperValve[SidStringBean]: 
Servlet.service() for servlet SidSt
  | ringBean threw exception
  | java.lang.NullPointerException
  | at 
org.apache.axis.encoding.DeserializationContextImpl.getTypeMapping(DeserializationContext
  | Impl.java:604)
  | at 
org.apache.axis.encoding.DeserializationContextImpl.getDeserializer(DeserializationContex
  | tImpl.java:564)
  | at 
org.apache.axis.encoding.DeserializationContextImpl.getDeserializerForType(Deserializatio
  | nContextImpl.java:596)
  | at 
org.apache.axis.message.SOAPFaultBuilder.onStartChild(SOAPFaultBuilder.java:370)
  | at 
org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextIm
  | pl.java:1166)
  | at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown 
Source)
  | at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
  | at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(
  | Unknown Source)
  | at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
  | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
  | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
  | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  | at javax.xml.parsers.SAXParser.parse(Unknown Source)
  | at 
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java
  | 

There is more stacktrace after this but I think this should provide a clue.
Please assist,
Thanks, Sid.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875810


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: DII call with literal xsi in SOAP request

2005-04-28 Thread sidazad
Noel, are DII or dynamic proxy clients supported for document/literal or 
document style services by JBossWS yet? If so, is there a tutorial on how to 
write these since I think they require some settings apart from the rpc/literal 
DII/Dynamic Proxy clients.
Thanks, Sid.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875834


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Problems by deploying the WS-Wiki-Example

2005-04-27 Thread sidazad
Hi,
I have the same exception. Did you find a solution to this? The class in the 
servlet-class tag is present in the war file classes directory but it is not a 
Servlet class since it is being used to deploy a web service, as described in 
the JBossWS document style web services tutorial.
The class declaration is :


  | public class SidTestWrappedImpl implements SidTestWrapped {}
  | 
  | public interface SidTestWrapped extends Remote {}
  | 

Thx, Sid.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875592


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Serializers generated by wscompile

2005-04-27 Thread sidazad
Thanks for the answer, I have ordered that book :)

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875612


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Problems by deploying the WS-Wiki-Example

2005-04-27 Thread sidazad
Hi,
I opened an issue:

http://jira.jboss.com/jira/secure/ManageAttachments.jspa?id=12314629

Thanks.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875632


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS web-service from a Stateless Session Bean

2005-04-27 Thread sidazad
I was able to do this but I have been unable to create a client application for 
the deployed web service. I was trying to make a DII client but I keep getting 
the following exception:


  | xception in thread Thread-1 java.lang.NoClassDefFoundError: 
javax/wsdl/factory/WSDLFactory
  | at 
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:404)
  | at 
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:393)
  | at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
  | at java.lang.Thread.run(Unknown Source)
  | javax.xml.rpc.ServiceException: Error processing WSDL document:  
  | javax.xml.rpc.ServiceException: Error processing WSDL document:  
  | javax.xml.rpc.ServiceException: Cannot find service:  
{http://sidtest.com}SidTestService
  | at org.apache.axis.client.Service.initService(Service.java:278)
  | at org.apache.axis.client.Service.init(Service.java:193)
  | at 
org.apache.axis.client.ServiceFactory.createService(ServiceFactory.java:232)
  | at com.sidtestclient.SidDynaClient.main(SidDynaClient.java:24)
  | 
  | 

Is it possible to have a Dynamic Proxy or a DII for a Document/Literal type web 
service with JBoss WS at this point?
Thanks.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875649


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS web-service from a Stateless Session Bean

2005-04-27 Thread sidazad
Okay, I got 1 step further but I think this should really work now but I still 
see an exception. Below is my code:


  | 
  |  ServiceFactory factory = ServiceFactory.newInstance();
  | QName sName = new QName(http://sidtest.com;, SidTestService);
  | URL wsdlURL = new 
URL(http://ny731-4w-324a:8080/sidtest-ejb/SidTestPort?wsdl;);
  | Service service = factory.createService(wsdlURL, sName);
  |QName pName = new QName(http://sidtest.com;, SidTestPort);
  | SidTest port = (SidTest)service.getPort(pName, SidTest.class);
  | SayHello request = new SayHello();
  | SayHelloResponse res = new SayHelloResponse();
  | if(port == null)
  | System.out.println(Port is null);
  | else
  | res = port.sayHello(request);
  | 
  | 


  | 
  | and here's the exception:
  | java.lang.NullPointerException
  | at 
org.apache.axis.client.AxisClientProxy.proxyParams2CallParams(AxisClientProxy.java:123)
  | at 
org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:185)
  | at $Proxy0.sayHello(Unknown Source)
  | at com.sidtestclient.SidDIIClient.main(SidDIIClient.java:36)
  | 
  | 
  | 
  | 
I belive the proxy is being created and I am also getting a reference to the 
port but when I call the method it throws a NullPointerException. 
Thanks.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875666


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Array element type mismatch error while accessing array of C

2005-04-26 Thread sidazad
Hi,
I am getting the following error message from JBoss 4.0.1 sp1 while acessing a 
method 
int printTypes(ComplexTypeArray ctr)

ERROR [BeanPropertyTarget] Could not convert [Lbb.wseetest1.data.ComplexType; 
to bean f
  | s[0]', type [Lbb.wseetest1.data.ComplexType;
  | ERROR [RPCInvocation] java.lang.IllegalArgumentException: array element 
type mismatch
  | egalArgumentException: array element type mismatch
  | 
g.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:243)
  | 
g.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:305)
  | 
g.apache.axis.encoding.ser.ArrayDeserializer.valueComplete(ArrayDeserializer.java:664)
  | 
g.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:590)
  | 
g.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl
  | 
  | g.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:252)
  | 
g.apache.axis.message.SOAPElementAxisImpl.publishToHandler(SOAPElementAxisImpl.java:138
  | 
  | 
g.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:436)
  | 
g.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextIm
  | 
  | g.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:244)
  | 
g.apache.axis.message.SOAPElementAxisImpl.publishToHandler(SOAPElementAxisImpl.java:138
  | 
  | g.apache.axis.message.RPCElement.deserialize(RPCElement.java:262)
  | g.apache.axis.message.RPCElement.getParams(RPCElement.java:396)
  | 
g.apache.axis.providers.java.RPCInvocation.prepareFromRequestEnvelope(RPCInvocation.java

I am not sure why this is since the type of the ComplexType element that it is 
trying to assing to an element of the array, is the same 
anonymous wrote : [Lbb.wseetest1.data.ComplexType

I am successfully able to access a method returning a ComplexType that is not 
an array, though.

Please help.
Thanks, Sid.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875342


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Array element type mismatch error while accessing array

2005-04-26 Thread sidazad
Also, I tried without my ws4ee-deployment.xml and in this case the .wsdd uses 
the following mappings:


  | deployment
  |  xmlns='http://xml.apache.org/axis/wsdd/'
  |  xmlns:java='http://xml.apache.org/axis/wsdd/providers/java'
  |  xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/'
  |  xmlns:xsi='http://www.w3.org/2000/10/XMLSchema-instance'
  |  xmlns:xsd='http://www.w3.org/2001/XMLSchema'
  | 
  | service name='wseetest1.ear/wseetest1-ejb.jar#WseeEndpoint1' style='rpc' 
use='literal' provider='Handler'
  | 
  |   parameter name='webserviceID' 
value='wseetest1.ear/wseetest1-ejb.jar#WseeEndpoint1' /
  |   parameter name='handlerClass' 
value='org.jboss.webservice.server.InvokerProviderEJB' /
  | 
  |   operation name='getFirstName' qname='ns1:getFirstName' 
returnQName='getFirstNameReturn' returnType='xsd:string' 
xmlns:ns1='http://interfaces.wseetest1.bb' 
  | parameter name='in0' qname='in0' mode='IN' type='xsd:int' /
  |   /operation
  |   operation name='getNameType' qname='ns1:getNameType' 
returnQName='ns2:ComplexType' returnType='ns2:ComplexType' 
xmlns:ns1='http://interfaces.wseetest1.bb' xmlns:ns2='http://data.wseetest1.bb' 

  |   /operation
  |   operation name='printTypes' qname='ns1:printTypes' 
returnQName='printTypesReturn' returnType='xsd:int' 
xmlns:ns1='http://interfaces.wseetest1.bb' 
  | parameter name='in0' qname='ns2:ComplexTypeArray' mode='IN' 
type='ns2:ComplexTypeArray' xmlns:ns2='http://data.wseetest1.bb' /
  |   /operation
  | 
  |   typeMapping
  | qname='ns2:ComplexType' xmlns:ns2='http://data.wseetest1.bb'
  | type='java:bb.wseetest1.data.ComplexType'
  | 
serializer='org.jboss.webservice.encoding.ser.MetaDataBeanSerializerFactory'
  | 
deserializer='org.jboss.webservice.encoding.ser.MetaDataBeanDeserializerFactory'
  | encodingStyle=''
  |   typeDesc
  | elementDesc fieldName='name' xmlName='name'/
  | elementOrder  element name='name'/
  | /elementOrder  /typeDesc
  |   /typeMapping
  | 
  |   typeMapping
  | qname='ns2:ComplexTypeArray' xmlns:ns2='http://data.wseetest1.bb'
  | type='java:bb.wseetest1.data.ComplexTypeArray'
  | 
serializer='org.jboss.webservice.encoding.ser.MetaDataBeanSerializerFactory'
  | 
deserializer='org.jboss.webservice.encoding.ser.MetaDataBeanDeserializerFactory'
  | encodingStyle=''
  |   typeDesc
  | elementDesc fieldName='elements' xmlName='elements'/
  | elementOrder  element name='elements'/
  | /elementOrder  /typeDesc
  |   /typeMapping
  | 
  | 
  | /service
  | /deployment
  | 
  | 

That is the MetaDataBeanSerializerFactory. I copied the last 2 typeMapping 
entries as they are into my ws4ee-deployment.xml and simply changed the 
Serializer/DeSerializers to org.apache.axis.encoding.ser.BeanSerializerFactory 
and so on, but whether I use the ws4ee-deployment.xml or not, I receive the 
same error message.
Thanks.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875438


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Array element type mismatch error while accessing array

2005-04-26 Thread sidazad
Hi,
I am using a ws4ee-deployment.xml file and the resulting .wsdd is pasted below:

deployment
  |  xmlns='http://xml.apache.org/axis/wsdd/'
  |  xmlns:java='http://xml.apache.org/axis/wsdd/providers/java'
  |  xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/'
  |  xmlns:xsi='http://www.w3.org/2000/10/XMLSchema-instance'
  |  xmlns:xsd='http://www.w3.org/2001/XMLSchema'
  | 
  | service name='wseetest1.ear/wseetest1-ejb.jar#WseeEndpoint1' style='rpc' 
use='literal' provider='Handler'
  | 
  |   parameter name='webserviceID' 
value='wseetest1.ear/wseetest1-ejb.jar#WseeEndpoint1' /
  |   parameter name='handlerClass' 
value='org.jboss.webservice.server.InvokerProviderEJB' /
  | 
  |   operation name='getFirstName' qname='ns1:getFirstName' 
returnQName='getFirstNameReturn' returnType='xsd:string' 
xmlns:ns1='http://interfaces.wseetest1.bb' 
  | parameter name='in0' qname='in0' mode='IN' type='xsd:int' /
  |   /operation
  |   operation name='getNameType' qname='ns1:getNameType' 
returnQName='ns2:ComplexType' returnType='ns2:ComplexType' 
xmlns:ns1='http://interfaces.wseetest1.bb' xmlns:ns2='http://data.wseetest1.bb' 

  |   /operation
  |   operation name='printTypes' qname='ns1:printTypes' 
returnQName='printTypesReturn' returnType='xsd:int' 
xmlns:ns1='http://interfaces.wseetest1.bb' 
  | parameter name='in0' qname='ns2:ComplexTypeArray' mode='IN' 
type='ns2:ComplexTypeArray' xmlns:ns2='http://data.wseetest1.bb' /
  |   /operation
  | 
  |   !-- User defined type mapping --
  |   typeMapping
  | qname='ns2:ComplexType' xmlns:ns2='http://data.wseetest1.bb'
  | type='java:bb.wseetest1.data.ComplexType'
  | serializer='org.apache.axis.encoding.ser.BeanSerializerFactory'
  | deserializer='org.apache.axis.encoding.ser.BeanDeserializerFactory'
  | encodingStyle=''
  |   typeDesc
  |   /typeDesc
  |   /typeMapping
  | 
  |   !-- User defined type mapping --
  |   typeMapping
  | qname='ns2:ComplexTypeArray' xmlns:ns2='http://data.wseetest1.bb'
  | type='java:bb.wseetest1.data.ComplexTypeArray'
  | serializer='org.apache.axis.encoding.ser.BeanSerializerFactory'
  | deserializer='org.apache.axis.encoding.ser.BeanDeserializerFactory'
  | encodingStyle=''
  |   typeDesc
  |   /typeDesc
  |   /typeMapping
  | 
  |   !-- User defined type mapping --
  |   typeMapping
  | qname='ns2:printTypesRequest' xmlns:ns2='http://data.wseetest1.bb'
  | type='java:bb.wseetest1.data.ComplexTypeArray'
  | serializer='org.apache.axis.encoding.ser.BeanSerializerFactory'
  | deserializer='org.apache.axis.encoding.ser.BeanDeserializerFactory'
  | encodingStyle=''
  |   typeDesc
  |   /typeDesc
  |   /typeMapping
  | 
  | 
  | /service
  | /deployment
  | 
  | 

I will also paste an excerpt from my .wsdl just in case:



  | 
  | wsdl:types
  | schema targetNamespace=http://data.wseetest1.bb; 
xmlns=http://www.w3.org/2001/XMLSchema;
  |import namespace=http://schemas.xmlsoap.org/soap/encoding//
  |complexType name=ComplexType
  | sequence
  |  element name=name nillable=true type=xsd:string/
  | /sequence
  |/complexType
  |complexType name=ComplexTypeArray
  | sequence
  |  element name=elements nillable=true 
type=impl:ArrayOf_tns2_ComplexType/
  | /sequence
  |/complexType
  |   /schema
  | schema targetNamespace=http://interfaces.wseetest1.bb; 
xmlns=http://www.w3.org/2001/XMLSchema;
  |import namespace=http://schemas.xmlsoap.org/soap/encoding//
  |complexType name=ArrayOf_tns2_ComplexType
  | complexContent
  |  restriction base=soapenc:Array
  |   attribute ref=soapenc:arrayType 
wsdl:arrayType=tns2:ComplexType[] 
xmlns:wsdl=http://schemas.xmlsoap.org/wsdl//
  |  /restriction
  | /complexContent
  |/complexType
  |   /schema
  |   /wsdl:types
  |   wsdl:message name=getNameTypeRequest
  |   /wsdl:message
  |   wsdl:message name=getFirstNameRequest
  | wsdl:part name=in0 type=xsd:int/
  |   /wsdl:message
  |   wsdl:message name=printTypesResponse
  | wsdl:part name=printTypesReturn type=xsd:int/
  |   /wsdl:message
  |   wsdl:message name=getFirstNameResponse
  | wsdl:part name=getFirstNameReturn type=xsd:string/
  |   /wsdl:message
  |   wsdl:message name=printTypesRequest
  | wsdl:part name=in0 type=tns2:ComplexTypeArray/
  |   /wsdl:message
  |   wsdl:message name=getNameTypeResponse
  | wsdl:part name=getNameTypeReturn type=tns2:ComplexType/
  |   /wsdl:message
  |   wsdl:portType name=WseeEndpoint1
  | wsdl:operation name=getFirstName parameterOrder=in0
  |   wsdl:input name=getFirstNameRequest 
message=impl:getFirstNameRequest/
  |   wsdl:output name=getFirstNameResponse 
message=impl:getFirstNameResponse/
  | /wsdl:operation
  | wsdl:operation name=getNameType
  |   wsdl:input name=getNameTypeRequest 
message=impl:getNameTypeRequest/
  |   wsdl:output name=getNameTypeResponse 
message=impl:getNameTypeResponse/
  | 

[JBoss-user] [JBossWS] - Re: Array element type mismatch error while accessing array

2005-04-26 Thread sidazad
You are right, I have a DII client and I just did the following:


  | call.setProperty(ENCODING_STYLE_PROPERTY, );
  | call.setProperty(Call.OPERATION_STYLE_PROPERTY, document);
  | 

This also gave an error message, 
14:33:30,750 ERROR [ServerEngine] Server error
  | java.lang.IllegalArgumentException: Namespace URI cannot be null
  | at org.apache.axis.utils.Mapping.setNamespaceURI(Mapping.java:87)
but it's a different one. I haven't used wscompile to generate the DII client 
and just wrote my own plus I haven't played around enough with it to complain 
yet :)
Thanks.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875478


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - JBossWS web-service from a Stateless Session Bean

2005-04-26 Thread sidazad
Hi,
I am trying to create a JBossWS web-service from a stateless session bean, but 
not getting much success. Is this how it should be done:

(1. Create an SEI (extends Remote) and write a Session Bean.

(2. From these 2 classes, generate the .wsdl using wscompile:

wscompile -define...

(3. Generate the jaxrpc-mapping file from the .wsdl using wscompile -gen..

I am able to do the above and deploy the web-service and the wsdl shows up via 
http://localhost:8080/ws4ee
But obviously a lot is missing here since I haven't used any other .java or 
.class files generated by wscompile and I am not sure how to proceed from this 
point on.
Thanks, Sid.





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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875499


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Serializers generated by wscompile

2005-04-26 Thread sidazad
Hi,
One thing that is confusing me (forgive me if I missed it from the tutorials) 
are the Serializers/DeSerializers that are being generated by wscompile. I need 
to use these on the client side since the Stub class generated by wscompile 
makes use of these.
But if I use these Serializers/DeSerializers on the client side, don't I need 
to do 1 of the following 2 things:

(1. Use the same generated Serializers/DeSerializers on the server side (JBoss) 
also by specifying these in ws4ee-deployment.xml for each type.
  OR
(2. Specify the BeanSerializer/BeanDeserializer for every wrapper type 
generated by wscompile.

Please help,
Thanks, Sid.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875516


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - 2 Masters in a Singleton service!

2005-04-21 Thread sidazad
Hi, I am able to consistently replicate a case where I get 2 Masters elected in 
a Singleton service deployed on 2 hosts on the same cluster. This is what I did:
(Using JBoss 3.2.3.)
(1. Started JBOss and the singleton service on a host, say Host A. This becomes 
the Master.
(2. Started JBoss and the singleton service on another host, say Host B.
(3. Host A is the Master at this point.
(4. I remove the LAN cable and disconnect host A from the network.
(5. Now Host B becomes the Master and host A remains to be the Master. Of 
course they are not on the same cluster any more since there is no conenctivity 
from host B to host A.
(6. Now I reconnect the LAN cable to host A to restore connectivity. Host B 
receives a cluster membership changed event and shows host A as 1 of the 
members in the cluster.
(7. Host A also shows host B in its list of cluster members, BUT remains to be 
the Master!
Hence we have 2 masters at this point, both Host A and host B, that are on the 
same cluster.
I was able to see this problem in JBoss 3.2.3. This problem DOES NOT happen in 
JBoss 4.0.1 sp1.
Please advise,
Thanks, Sid.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874937


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Notification when a node is connected to the network

2005-04-13 Thread sidazad
Hi, I don't seem to be getting the cluster membership event on the node I took 
away from the network. Below is a summary of exactly what I did:
A Singleton service subscribes to the HAMembershipListener.
JBoss version 3.2.3

(1. Started JBoss on Host A, service is Master here.

(2. Started JBoss on Host B, service is not Master here.

(3. Confirm that Host A and B are on the same cluster (received Membership 
changed event on Host B with Delta 1)

(4. Pulled the network cable from host B. The service on Host A received a 
membership changed event. The service on Host B did not.

(5. Reconnected the network cable. The service on Host A received a membership 
changed event.. The service on Host B did not.

(6. Host B received the trace:

09:08:57,666 INFO  [STDOUT]
---
GMS: address is NY731-4W-324a:4844 (additional data: 17 bytes)
---
09:08:57,666 ERROR [up] corr == null
09:08:57,666 ERROR [up] corr == null

Thats all that happenned. Is this the expected behavior?

Thanks, Sid.






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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3873753


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Notification when a node is connected to the network

2005-04-12 Thread sidazad
Hi,
I have a service that listens to cluster membership events. It also uses a 
channel to which all memers of the group subscribe. Now suppose the network 
cable is unplugged from 1 of the nodes, the rest of the cluster receives 
cluster membership notifications with a dead member.
Now if I reconnect this host to the network, is there a way of knowing that 
this node has rejoined the cluster on this node itself. I know that the other 
cluster members will get a membership changed, but this node doesn't get such 
an event.
Thanks, Sid.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3873637


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Programatically removing a node from a cluster

2005-04-06 Thread sidazad
Hi, Is it possible to programatically remove a node from a cluster, if it's 
Address is known? If so, can someone point me to the API?
Thanks, Sid.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872922


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Programatically removing a node from a cluster

2005-04-06 Thread sidazad
Got it. Thx!

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872950


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - EJBTimerService

2005-03-08 Thread sidazad
Hi, I am trying to configure and run JBOSS 4.0.1. I have removed hsqldb-ds.xml 
since I don't want to use Hypersonic. My previous version, 3.2.6 worked fine 
with this change but in 4.0.1 EJBTimerService has a problem at startup.
I think this is because EJBTimerService is linked to Hypersonic DB in some way. 
Is there a way I could have EJBTimerService start up without hsql?
Thanks, Sid.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3869290


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - RMIServerSocketAddr

2005-03-07 Thread sidazad
Hi,
I am trying to switch to JBOSS 4.0.1 from JBOSS 3.2.6. I noticed a new 
attribute, RMIServerSocketAddr. Specifically, jboss-service.xml contains the 
following line:

attribute name=RMIServerSocketAddrcustom/attribute

Can anyone tell me what this attribute means and whether I need to do anything 
to it for the switch from 3.2.6 to 4.0.1?
Thanks!

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3869070


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user