This is the error that it's giving to me when I run
| wsrunclient wssec.HelloClient "Hello"
|
| [Fatal Error] :1:1: Content is not allowed in prolog.
| org.jboss.ws.WSException: java.io.IOException: org.xml.sax.SAXParseException: Co
| ntent is not allowed in prolog.
| at org.jboss.ws.metadata.config.JBossWSConfigFactory.getNamespaceURI(JBo
| ssWSConfigFactory.java:116)
| at org.jboss.ws.metadata.config.JBossWSConfigFactory.parse(JBossWSConfig
| Factory.java:80)
| at org.jboss.ws.metadata.config.JBossWSConfigFactory.getConfig(JBossWSCo
| nfigFactory.java:134)
| at org.jboss.ws.metadata.umdm.EndpointMetaData.initEndpointConfig(Endpoi
| ntMetaData.java:704)
| at org.jboss.ws.metadata.umdm.EndpointMetaData.setConfigNameInternal(End
| pointMetaData.java:695)
| at org.jboss.ws.metadata.umdm.EndpointMetaData.setConfigName(EndpointMet
| aData.java:679)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.proces
| sEndpointConfig(JAXWSClientMetaDataBuilder.java:323)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.rebuil
| dEndpointMetaData(JAXWSClientMetaDataBuilder.java:287)
| at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(Servi
| ceDelegateImpl.java:262)
| at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelega
| teImpl.java:233)
| at javax.xml.ws.Service.getPort(Service.java:185)
| at wssec.HelloClient.getPort(HelloClient.java:46)
| at wssec.HelloClient.main(HelloClient.java:31)
| Caused by: java.io.IOException: org.xml.sax.SAXParseException: Content is not al
| lowed in prolog.
| at org.jboss.wsf.common.DOMUtils.parse(DOMUtils.java:156)
| at org.jboss.ws.metadata.config.JBossWSConfigFactory.getNamespaceURI(JBo
| ssWSConfigFactory.java:111)
| ... 12 more
|
The WSDL file is taken directly from the server. It seems to be an error with some XML
file structure, but I don't know which one can be the one that is giving me the
mistake...
Thanks ;)
P.d: I've changed the keyStore and trustStore Type to "jks"
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121255#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...