[JBoss-user] [JBossWS] - Re: Could not find deserializer for type
Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=WSArrayTypeMapping View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3915543#3915543 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3915543 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Could not find deserializer for type
Hello geekgurl. Try to implement a complex type for your arrays. For an int-Array the complex type should look like: | public class IntArray { | private int[] intArray; | | public int[] getIntArray() { | return intArray; | } | | public void setIntArray(int[] intArray) { | this.intArray = intArray; | } | } | Using the complex Type (IntArray) looks like this: | IntArray iAry = new IntArray(); | iAry.setIntArray(...); | endpoint.doSomething(iAry); | I hope this will help you. Best Regards, Alex View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3915135#3915135 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3915135 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Could not find deserializer for type
ameisinger wrote : Hi to everyone! | | I made some attempts with complex types. Now they're working after inserting the corresponding typeMapping. | | I tried a new method: String setStrings(String[]) and there is the same error like before: | | No deserializer defined for array type {http://www.w3.org/2003/05/soap-encoding}string. | | My ws4ee-deployment.xml looks like | | | 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' | | | | ... | | | | typeMapping | | qname=ns1:ArrayOf_soapenc_string | | xmlns:ns1='http://Hello' | | type=java:java.lang.String[] | | serializer=org.jboss.axis.encoding.ser.ArraySerializerFactory | | deserializer=org.jboss.axis.encoding.ser.ArrayDeserializerFactory | | encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; | | / | | ... | | | | My wsdl file: | | | complexType name=ArrayOf_soapenc_string | | complexContent | | restriction base=soapenc:Array | | attribute ref=soapenc:arrayType wsdl:arrayType=soapenc:string[] xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; / | | /restriction | | /complexContent | | /complexType | | | | The method String[] getStrings() works without the typeMapping. | | | Is there any solution available for this problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914622#3914622 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914622 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Could not find deserializer for type
ameisinger wrote : Hi to everyone! | | I made some attempts with complex types. Now they're working after inserting the corresponding typeMapping. | | I tried a new method: String setStrings(String[]) and there is the same error like before: | | No deserializer defined for array type {http://www.w3.org/2003/05/soap-encoding}string. | | My ws4ee-deployment.xml looks like | | | 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' | | | | ... | | | | typeMapping | | qname=ns1:ArrayOf_soapenc_string | | xmlns:ns1='http://Hello' | | type=java:java.lang.String[] | | serializer=org.jboss.axis.encoding.ser.ArraySerializerFactory | | deserializer=org.jboss.axis.encoding.ser.ArrayDeserializerFactory | | encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; | | / | | ... | | | | My wsdl file: | | | complexType name=ArrayOf_soapenc_string | | complexContent | | restriction base=soapenc:Array | | attribute ref=soapenc:arrayType wsdl:arrayType=soapenc:string[] xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; / | | /restriction | | /complexContent | | /complexType | | | | The method String[] getStrings() works without the typeMapping. | | | Is there any solution available for this problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3908659#3908659 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3908659 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
I've added the follwing ws4ee-deployment.xml it's working. And I'm able to send WebServiceDO object to the client but member variable values are going as nill string. Pls tell me what might be the problem here. ws4ee-deployment.xml | | 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' | typeMapping qname='ns2:getMetaDataResponse' xmlns:ns2='http://com.test.csda.imaging/ws_acceptrequest/types' type='java:com.test.csda.imaging.common.WebServiceDO' serializer='org.jboss.axis.encoding.ser.BeanSerializerFactory' deserializer='org.jboss.axis.encoding.ser.BeanDeserializerFactory' | encodingStyle=''/ | /deployment | View the original post : http://locahost:8080/index.html?module=bbop=viewtopicp=3892456#3892456 Reply to the post : http://locahost:8080/index.html?module=bbop=postingmode=replyp=3892456 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
You could: 1. check if there is a mapping for the missing type in jaxrpc-mapping.xml 2. check if the mapped type is in your deployment 3. check the generated *.wsdd in ${jboss.data.dir}/wsdl for the missing type You could also use [ code ] instead of [ quote ] when posting View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3892050#3892050 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3892050 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
[EMAIL PROTECTED] wrote : You could read the wiki on DII clients. | | http://wiki.jboss.org/wiki/Wiki.jsp?page=WSClientDII Thomas I am struggling with this same issue; I think that full source of the classes that are excerpted in the Wiki page would go a long way to helping. (to provide example values for the parameters and such) Thanks ---Raymond View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887739#3887739 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887739 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
jtsoong - just read the wiki, as suggested on DII clients. You will see example of 5 parameter method that works. Regards, Mark View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887070#3887070 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887070 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
Hi Thomas, you wrote: anonymous wrote : Your client is aware of the wsdl, which defines the abstract contract, but is unaware of the java/wsdl mapping information. | | Use the WS4EE client deployment model, i.e. a JNDI lookup of a preconfigured stub or use | | Code: | | ServiceFactoryImpl factory = (ServiceFactoryImpl )ServiceFactory.newInstance(); | | Service service = factory.createService(wsdlURL, qname, mappingURL, portName); | I have been looking for this method, but can't find it anywhere (createService() with the 4 input parameters). I am compiling with axis-ws4ee.jar as the first thing in my classpath, but still can't find it. Any ideas on where it might be, it seems a number of people can't find it either. Cheers J View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886963#3886963 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886963 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
You could read the wiki on DII clients. http://wiki.jboss.org/wiki/Wiki.jsp?page=WSClientDII View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886121#3886121 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886121 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
I think it's the ws4ee-deployment.xml file (you can declare additional type mappings there, looks like they're translated into the wsdd at runtime, together with wsdl informations about the elements of the types...) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3884666#3884666 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884666 --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
Thomas, You wrote: [EMAIL PROTECTED] wrote : Your client is aware of the wsdl, which defines the abstract contract, but is unaware of the java/wsdl mapping information. | | Use the WS4EE client deployment model, i.e. a JNDI lookup of a preconfigured stub or use | | | | ServiceFactoryImpl factory = (ServiceFactoryImpl )ServiceFactory.newInstance(); | | Service service = factory.createService(wsdlURL, qname, mappingURL, portName); | | I couldn't find that method, but instead found: createService(java.net.URL wsdlLocation, java.net.URL mappingLocation, java.net.URL ws4eeMetaData, QName serviceName, java.lang.String portName) JavaDoc is at: http://docs.jboss.com/jbossas/javadoc/4.0.2/org/jboss/webservice/client/ServiceFactoryImpl.html#createService(java.net.URL,%20java.net.URL,%20java.net.URL,%20javax.xml.namespace.QName,%20java.lang.String) My question is, which file is the ws4eeMetaData file? It obviously is NOT the jaxrpc-mapping.xml or the wsdl files, so I guess it could be the wscompile-config.xml file, webservices.xml file or the ws4ee-deployment.xml file. Any help would be appreciated! Thanks and Regards, Barry View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3884582#3884582 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884582 --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
The key issue is that with this type of WS client the web service engine has to come up with some sort of wsdl/java mapping. Reflection on the SEI is the natural coice, but is nothing more than guess work. What is needed are explicit mapping directives like we have with JSR-181 annotations (jboss-5.x) or the JSR-109 jaxrpc-mapping.xml file (jboss-4.x). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3883836#3883836 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3883836 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
Your client is aware of the wsdl, which defines the abstract contract, but is unaware of the java/wsdl mapping information. Use the WS4EE client deployment model, i.e. a JNDI lookup of a preconfigured stub or use | ServiceFactoryImpl factory = (ServiceFactoryImpl )ServiceFactory.newInstance(); | Service service = factory.createService(wsdlURL, qname, mappingURL, portName); | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3883665#3883665 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3883665 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
In future versions we might auto-discover jaxrpc-mapping.xml http://jira.jboss.org/jira/browse/JBWS-314 IMHO, this is a flaw in the jaxrpc API that forces a provider to generate static stubs. The wsdl/java mapping is however defined in JSR-109 and should be usable with jaxrpc View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3883668#3883668 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3883668 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
Hi Thomas, [Code: ServiceFactoryImpl factory = (ServiceFactoryImpl )ServiceFactory.newInstance(); Service service = factory.createService(wsdlURL, qname, mappingURL, portName); ] Thanks for your reply.I will try this.what is the mappingUrl ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3883683#3883683 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3883683 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
Location of your jaxrpc-mapping.xml file. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3883684#3883684 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3883684 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
Thomas, Re: | ServiceFactoryImpl factory = (ServiceFactoryImpl )ServiceFactory.newInstance(); | Service service = factory.createService(wsdlURL, qname, mappingURL, portName); | I can't see anything in javax.xml.rpc.ServiceFactory which resembles the createService() method shown above. What implementation of ServiceFactory are you talking about? Is this JBoss specific code? Finally, can this technique be used with non-DII implementations? My code is something like: | URL url = new URL( urlstr ); | QName qname = new QName( SESSION_URN, serviceName ); | ServiceFactory factory = ServiceFactory.newInstance(); | Service service = factory.createService(url, qname); | WebServicesTest svc = (WebServicesTest) service.getPort(WebServicesTest.class); | System.out.println( output: + svc.getStringArray() ); | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3883729#3883729 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3883729 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Could not find deserializer for type
Hi, I've tested it with an int-Array, too. And I have to use a IntArray-JavaBean. With that it works. | public class IntArray { | private int[] intArray; | | public int[] getIntArray() { | return intArray; | } | | public void setIntArray(int[] intArray) { | this.intArray = intArray; | } | } | Regards, Alex View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3882227#3882227 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3882227 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Could not find deserializer for type
[EMAIL PROTECTED] wrote : Once again do not use soap encoding, use document/literal or rpc/literal. . | Arrays need to be nested in a javabean in order to work properly. | | -Jason -- is this also true for Arrays with simple types like double[] - Arrays? Thanks a lot [I have JBoss Version 4.0.2 and get the fault 13:42:51,639 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://org.jboss.test.webservice/samples/types/arrays/}doubleArray 13:42:51,689 WARN [TypeMappingDescription] Class not found: org.jboss.test.webservice.samples._arrays.doubleArray] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3882092#3882092 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3882092 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Could not find deserializer for type
Hello Tom, anonymous wrote : | Once again do not use soap encoding, use document/literal or rpc/literal. Arrays need to be nested in a javabean in order to work properly. | I did what you've recommended and for datatypes like int, string and my complex type Animal it works. But for arrays it does not work. What did I wrong? Here is my new wsdl-file (rpc/literal) | ?xml version=1.0 encoding=UTF-8? | wsdl:definitions targetNamespace=http://Hello; | xmlns:impl=http://Hello; xmlns:intf=http://Hello; | xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/; | xmlns:apachesoap=http://xml.apache.org/xml-soap; | xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; | xmlns:xsd=http://www.w3.org/2001/XMLSchema; | xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; | xmlns=http://schemas.xmlsoap.org/wsdl/; | !--WSDL created by Apache Axis version: 1.2 | Built on May 03, 2005 (02:20:24 EDT)-- | wsdl:types | schema xmlns=http://www.w3.org/2001/XMLSchema; targetNamespace=http://Hello; |import namespace=http://schemas.xmlsoap.org/soap/encoding// |complexType name=Animal | sequence | element name=age type=xsd:int/ | element name=name nillable=true type=xsd:string/ | /sequence |/complexType |complexType name=ArrayOfAnimal | sequence | element name=item type=impl:Animal minOccurs=0 maxOccurs=unbounded/ | /sequence |/complexType |complexType name=AnimalArray | sequence | element name=animalArray nillable=true type=impl:ArrayOfAnimal/ | /sequence |/complexType | /schema | /wsdl:types |wsdl:message name=createAnimalResponse | wsdl:part name=createAnimalReturn type=impl:Animal/ |/wsdl:message |wsdl:message name=greetAnimalRequest | wsdl:part name=in0 type=impl:Animal/ |/wsdl:message |wsdl:message name=sayRoarRequest | wsdl:part name=in0 type=xsd:string/ |/wsdl:message |wsdl:message name=getAnimalsResponse | wsdl:part name=getAnimalsReturn type=impl:AnimalArray/ |/wsdl:message |wsdl:message name=getAnimalsRequest |/wsdl:message |wsdl:message name=greetAnimalResponse | wsdl:part name=greetAnimalReturn type=xsd:string/ |/wsdl:message |wsdl:message name=sayRoarResponse | wsdl:part name=sayRoarReturn type=xsd:string/ |/wsdl:message |wsdl:message name=createAnimalRequest | wsdl:part name=in0 type=xsd:string/ | wsdl:part name=in1 type=xsd:int/ |/wsdl:message |wsdl:portType name=AnimalEndpoint | wsdl:operation name=sayRoar parameterOrder=in0 | wsdl:input name=sayRoarRequest message=impl:sayRoarRequest/ | wsdl:output name=sayRoarResponse message=impl:sayRoarResponse/ | /wsdl:operation | wsdl:operation name=greetAnimal parameterOrder=in0 | wsdl:input name=greetAnimalRequest message=impl:greetAnimalRequest/ | wsdl:output name=greetAnimalResponse message=impl:greetAnimalResponse/ | /wsdl:operation | wsdl:operation name=createAnimal parameterOrder=in0 in1 | wsdl:input name=createAnimalRequest message=impl:createAnimalRequest/ | wsdl:output name=createAnimalResponse message=impl:createAnimalResponse/ | /wsdl:operation | wsdl:operation name=getAnimals | wsdl:input name=getAnimalsRequest message=impl:getAnimalsRequest/ | wsdl:output name=getAnimalsResponse message=impl:getAnimalsResponse/ | /wsdl:operation |/wsdl:portType |wsdl:binding name=AnimalEndpointPortSoapBinding type=impl:AnimalEndpoint | wsdlsoap:binding style=rpc transport=http://schemas.xmlsoap.org/soap/http/ | wsdl:operation name=sayRoar | wsdlsoap:operation soapAction=/ | wsdl:input name=sayRoarRequest | wsdlsoap:body use=literal namespace=http://Hello/ | /wsdl:input | wsdl:output name=sayRoarResponse | wsdlsoap:body use=literal namespace=http://Hello/ | /wsdl:output | /wsdl:operation | wsdl:operation name=greetAnimal | wsdlsoap:operation soapAction=/ | wsdl:input name=greetAnimalRequest | wsdlsoap:body use=literal namespace=http://Hello/ | /wsdl:input | wsdl:output name=greetAnimalResponse | wsdlsoap:body use=literal namespace=http://Hello/ | /wsdl:output | /wsdl:operation | wsdl:operation name=createAnimal | wsdlsoap:operation soapAction=/ | wsdl:input name=createAnimalRequest | wsdlsoap:body use=literal namespace=http://Hello/ | /wsdl:input | wsdl:output name=createAnimalResponse | wsdlsoap:body use=literal namespace=http://Hello/ | /wsdl:output | /wsdl:operation | wsdl:operation
[JBoss-user] [JBossWS] - Re: Could not find deserializer for type
Hi to everyone! I made some attempts with complex types. Now they're working after inserting the corresponding typeMapping. I tried a new method: String setStrings(String[]) and there is the same error like before: No deserializer defined for array type {http://www.w3.org/2003/05/soap-encoding}string. My ws4ee-deployment.xml looks like | 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' | | ... | | typeMapping | qname=ns1:ArrayOf_soapenc_string | xmlns:ns1='http://Hello' | type=java:java.lang.String[] | serializer=org.jboss.axis.encoding.ser.ArraySerializerFactory | deserializer=org.jboss.axis.encoding.ser.ArrayDeserializerFactory | encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; | / | ... | My wsdl file: | complexType name=ArrayOf_soapenc_string | complexContent | restriction base=soapenc:Array | attribute ref=soapenc:arrayType wsdl:arrayType=soapenc:string[] xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; / | /restriction | /complexContent | /complexType | The method String[] getStrings() works without the typeMapping. Is there any solution available for this problem? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3880607#3880607 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880607 --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: 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: Could not find deserializer for type
Once again do not use soap encoding, use document/literal or rpc/literal. . Arrays need to be nested in a javabean in order to work properly. -Jason View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3880628#3880628 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880628 --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: 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: Could not find deserializer for type
Don't use soap encoding, sitch to either rpc/literal or doc/literal. Read the wiki, and look at the step-by-step tutorials. Thanks -Jason View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3880530#3880530 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880530 --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: 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: Could not find deserializer for type
I forgot to write a META-INF/ws4ee-deployment.xml file (similar to: http://wiki.jboss.org/wiki/Wiki.jsp?page=WSTypeMapping). After this it worked. | 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' | | typeMapping | qname='ns1:Animal' | xmlns:ns1='http://Hello' | type='java:interfaces.Animal' | serializer='org.jboss.axis.encoding.ser.BeanSerializerFactory' | deserializer='org.jboss.axis.encoding.ser.BeanDeserializerFactory' | encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' | / | /deployment | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3880556#3880556 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880556 --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: 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: could not find deserializer for type
Thanks, Bruce. Keep up the good work. You might be interested in looking at our new JBossWS stack that is targeted for jboss-5.0 and will once and for all cut the Axis umbilical cord. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3877970#3877970 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877970 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
Just as a followup in case others need to work this out later. I figured that I should say what I found the problem to be. Too many ingredients getting in the way, as I suspected. The app has Jade agents, RDF, and other bits and pieces too. I just needed to sort out what was getting in the way of the web services and then ensure that the RDF construction happened clearly on the correct side of the service before putting the triples into strings as part of objects. The problem was that the error messages were not coming through, even when jars were not on the classpath, as also turned out to be the case, or were outdated ones, as also was the case. The interesting thing is that the whole thing worked rather well as an RPC-literal example, but fell to pieces as soon as I tried to put it into a doc-lit version. I guess the RPC is more forgiving, than the doc lit, and that it needs to be put together with more thought and attention than I was giving it. In case anyone is wondering how JBoss works with all of these, then the answer is 'brilliantly'. It rocks! cheers, Bruce View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3877896#3877896 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877896 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
Thomas, thanks for pointing out the samples. Anyways, I'm slowly working out more on this problem. I switched to 4.0.2, and got a doc lit war version with a servlet working ok, and have also got a jar version with a simpler doc lit EJB version working ok. Therefore, I suspect that the problem lies somewhere amongst a classpath issue in my application. The app builds ok, and deploys the WS ok, generating the wsdd and wsdl under the data directory. However, when I try to call the wsdl from a client, I get a StackOverflow error in the console, plus client reports no root in the wsdl document. A check of the wsdl in the data directory shows that it is ok. Does this mean that it is rebuilt everytime it is called, or was it just poorly retrieved by the client? I'll try it again with a different client to see if I can get more feedback on the error message. Bruce View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3877385#3877385 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877385 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
The classes should go with the other classes in your EJB endpoint deployment. Below META-INF is definitely incorrect. Have you followed the StepByStep tutorials on doc/lit? There are also samples available at the bottom of the wiki that use doc/lit. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3876748#3876748 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3876748 --- 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