This content has been marked as final.
Show 5 replies
-
1. Re: wstools error from WSDL to Java
trivedi May 22, 2007 12:31 AM (in response to tejasjani)Can you provide me the wstools-config.xml file contents?
Thanks,
Trivedi -
2. Re: wstools error from WSDL to Java
tejasjani May 22, 2007 1:16 AM (in response to tejasjani)Here is the wstools-config.xml file: (both the wsdl and xsd files are in the same location)
<?xml version="1.0" encoding="UTF-8"?> <jbos:configuration xmlns:jbos="http://www.jboss.org/jbossws-tools"> <jbos:global> <jbos:package-namespace namespace="http://demandtec.com/integration/schema.xsd" package="test.types"/> <jbos:package-namespace namespace="http://www.w3.org/2004/11/xmlmime" package="test"/> <jbos:package-namespace namespace="http://demandtec.com/integration/schema" package="test"/> <jbos:package-namespace namespace="http://www.w3.org/2001/XMLSchema" package="test"/> </jbos:global> <jbos:wsdl-java location="C:\test\HEBService_Full_.wsdl" parameter-style="bare"> <jbos:mapping file="test-mapping.xml"/> <jbos:webservices ejb-link="" append="false"/> </jbos:wsdl-java> </jbos:configuration>
-
3. Re: wstools error from WSDL to Java
oskar.carlstedt May 22, 2007 2:50 AM (in response to tejasjani)Hello!!
You shall use forward slashes instead of the backslash in the windows path, i.e. change C:\test\HEBService_Full_.wsdl to C:/test/HEBService_Full_.wsdl
Kind Regards
Oskar -
4. Re: wstools error from WSDL to Java
trivedi May 22, 2007 4:52 AM (in response to tejasjani)Hello,
Instead of Location, use file as mentioned below:
<wsdl-java file="docreg.wsdl"
Thanks,
Trivedi -
5. Re: wstools error from WSDL to Java
tejasjani May 22, 2007 2:43 PM (in response to tejasjani)Thanks, here is the final file that seems to work
<?xml version="1.0" encoding="UTF-8"?> <jbos:configuration xmlns:jbos="http://www.jboss.org/jbossws-tools"> <jbos:global> <jbos:package-namespace namespace="http://demandtec.com/integration/schema.xsd" package="com.demandtec.ws.types"/> <jbos:package-namespace namespace="http://www.w3.org/2004/11/xmlmime" package="test"/> <jbos:package-namespace namespace="http://demandtec.com/integration/schema" package="com.demandtec.ws"/> <jbos:package-namespace namespace="http://www.w3.org/2001/XMLSchema" package="test"/> </jbos:global> <jbos:wsdl-java file="C:\test\HEBService_Full.wsdl" parameter-style="bare"> <jbos:mapping file="test-mapping.xml"/> <jbos:webservices ejb-link="" append="false"/> <jbos:webservices servlet-link="testImpl" append="false"/> </jbos:wsdl-java> </jbos:configuration>