Hi, I tried org.apache.tuscany.sdo.generate.JavaGenerator to generate classes. In my wsdl file, I have a xsd schema including complexType. Some attributes are xsd:date.The generation does not fail but these attributes are generated as String fields
into the corresponding java class. Is there an error here ?
An other issue : The same wsdl and xsd schema allow me to publish this service in an other SOAP compliant server. When requesting something from tuscany an error is thrown when handling the date field.According to the specifications, a xsd:date is represented as 'YYYY-MM-DD[Z]'
My server reply "2006-05-10Z", seems to be Ok. But tuscany says me that this is an illegal value. here comes a small stack trace :[java] Exception in thread "main" javax.xml.ws.WebServiceException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Value '2006-05-10Z' is not legal. (http:///temp.xml, 3, 123) [java] at org.apache.tuscany.binding.celtix.handler.io.NodeDataReader.readWrapper(NodeDataReader.java:105) [java] at org.apache.tuscany.binding.celtix.handler.io.NodeDataReader.readWrapper(NodeDataReader.java:41) [java] at org.objectweb.celtix.bus.bindings.soap.SOAPBindingImpl.getParts(SOAPBindingImpl.java:504) [java] at org.objectweb.celtix.bus.bindings.soap.SOAPBindingImpl.unmarshal(SOAPBindingImpl.java:237) [java] at org.objectweb.celtix.bindings.Response.processLogical(Response.java:118) [java] at org.objectweb.celtix.bindings.AbstractClientBinding.invoke(AbstractClientBinding.java:160) [java] at org.apache.tuscany.binding.celtix.handler.ExternalWebServiceClient.invoke(ExternalWebServiceClient.java:164) [java] at org.apache.tuscany.binding.celtix.handler.ExternalWebServiceTargetInvoker.invokeTarget(ExternalWebServiceTargetInvoker.java:74) [java] at org.apache.tuscany.binding.celtix.handler.ExternalWebServiceTargetInvoker.invoke(ExternalWebServiceTargetInvoker.java:86) [java] at org.apache.tuscany.core.wire.impl.InvokerInterceptor.invoke(InvokerInterceptor.java:39) [java] at org.apache.tuscany.core.wire.jdk.JDKInvocationHandler.invoke(JDKInvocationHandler.java:112)
[...] Have you encounter this problem ? -- Guillaume DufrĂȘne.
smime.p7s
Description: S/MIME Cryptographic Signature
