Hugo Silva [http://community.jboss.org/people/ghostcompt] created the discussion
"Error: Unsupported Java encoding for writing wsdl file: 'ISO8859_15'." To view the discussion, visit: http://community.jboss.org/message/563478#563478 -------------------------------------------------------------- Hello, I'm having problems publishing a Web Service on JBoss AS 4.2.3 with *jbossws-native-3.1.1.GA* This is the code: @WebService public interface ZDepTestWSInterface { �...@webmethod integer getZValue(@WebParam(name="value") Integer value);} @statel...@webservice(endpointInterface="hugo.deptest.a.api.ZDepTestWSInterface")public class ZDepWS implements ZDepTestInterfaceRemote, ZDepTestWSInterface { public Integer getZValue(Integer value) { return value + 2; } } @WebService public interface ZDepTestWSInterface { @WebMethod Integer getZValue(@WebParam(name="value") Integer value); } I'm deploying on a Linux machine. If the locale is en_US.UTF-8 everything works ok. But if the locale is pt...@euro, i get the following exception: --- org.jboss.ws.WSException: Cannot publish wsdl to: /home/jboss/jboss-4.2.3.GA/server/all/data/wsdl/ZTest.ear/ZTest-EJB.jar/ZDepWSService2420312176256736548.wsdl at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishWsdlFiles(WSDLFilePublisher.java:142) at org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect.start(PublishContractDeploymentAspect.java:50) at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:129) at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:95) at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:88) ... Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=CONFIGURATION_ERROR: Unsupported Java encoding for writing wsdl file: 'ISO8859_15'. at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishWsdlImports(WSDLFilePublisher.java:188) at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishWsdlFiles(WSDLFilePublisher.java:125) ... 35 more --- This only happens if i use the endpointInterface on the WebService annotation. If i expose the getZValue as a WebMethod on the Staless bean class everything works ok. I don't know what is wrong. Can you please help ? Thank you -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/563478#563478] Start a new discussion in JBoss Web Services at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user