[jbossws-users] [JBossWS] - Compile errors with wsconsume generated source
earniedyke
do-not-reply at jboss.com
Mon Mar 10 13:33:40 EDT 2008
Greetings all,
I am trying to use wsconsume to generate the artifacts for a very simple web service (see wsdl below). Here are the results of executing the command:
C:\JBoss\jboss-4.2.2.GA\bin>wsconsume -k -p org.ebsinc.adalert.ws -o c:\ebs\work
| spaces\ws-adalert\adalert-service\src -s c:\ebworkspaces\ws-adalert\adalert-serv
| uces\src http://localhost:81/services/echoService?wsdl
| parsing WSDL...
|
|
| generating code...
| org\ebsinc\adalert\ws\\Proxy0.java
| org\ebsinc\adalert\ws\Echo.java
| org\ebsinc\adalert\ws\EchoResponse.java
| org\ebsinc\adalert\ws\EchoService.java
| org\ebsinc\adalert\ws\Log.java
| org\ebsinc\adalert\ws\LogResponse.java
| org\ebsinc\adalert\ws\ObjectFactory.java
| org\ebsinc\adalert\ws\package-info.java
| c:\ebworkspaces\ws-adalert\adalert-servuces\src\org\ebsinc\adalert\ws\Proxy0.java:2:<identifier>expected package org.ebsinc.adalert.ws.;
| ^
| c:\ebworkspaces\ws-adalert\adalert-servuces\src\org\ebsinc\adalert\ws\EchoServic
| e.java:10: malformed floating point literal
| import org.ebsinc.adalert.ws..Proxy0;
| ^
| 2 errors
| compilation failed, errors should have been reported
| Failed to invoke WsImport
| java.lang.IllegalStateException: WsImport invocation failed. Try the verbose swi
| tch for more information
| at org.jboss.ws.tools.jaxws.impl.SunRIConsumerImpl.consume(SunRIConsumer
| Impl.java:190)
| at org.jboss.wsf.spi.tools.cmd.WSConsume.importServices(WSConsume.java:2
| 16)
| at org.jboss.wsf.spi.tools.cmd.WSConsume.main(WSConsume.java:79)
|
Any ideas why this is happening? I am using JBoss 4.2.2.GA's wsconsume.
Thanks in advance for any and all help.
Earnie!
wsdl:
<?xml version="1.0" encoding="UTF-8"?>
| <wsdl:definitions targetNamespace="http://simple.components.mule.org" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://simple.components.mule.org" xmlns:intf="http://simple.components.mule.org" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><!--WSDL created by Apache Axis version: 1.4
| Built on Apr 22, 2006 (06:55:48 PDT)--><wsdl:types><schema elementFormDefault="qualified" targetNamespace="http://simple.components.mule.org" xmlns="http://www.w3.org/2001/XMLSchema"><element name="echo"><complexType><sequence><element name="in0" type="xsd:string"/></sequence></complexType></element><element name="echoResponse"><complexType><sequence><element name="echoReturn" type="xsd:string"/></sequence></complexType></element><element name="log"><complexType><sequence><element name="in0" type="xsd:string"/></sequence></complexType></element><element name="logResponse"><complexType/></element></schema></wsdl:types>
| <wsdl:message name="logRequest">
| <wsdl:part element="impl:log" name="parameters"/>
| </wsdl:message>
| <wsdl:message name="echoRequest">
| <wsdl:part element="impl:echo" name="parameters"/>
| </wsdl:message>
| <wsdl:message name="echoResponse">
| <wsdl:part element="impl:echoResponse" name="parameters"/>
|
| </wsdl:message>
| <wsdl:message name="logResponse">
| <wsdl:part element="impl:logResponse" name="parameters"/>
| </wsdl:message>
| <wsdl:portType name="$Proxy0">
| <wsdl:operation name="echo">
| <wsdl:input message="impl:echoRequest" name="echoRequest"/>
| <wsdl:output message="impl:echoResponse" name="echoResponse"/>
| </wsdl:operation>
|
| <wsdl:operation name="log">
| <wsdl:input message="impl:logRequest" name="logRequest"/>
| <wsdl:output message="impl:logResponse" name="logResponse"/>
| </wsdl:operation>
| </wsdl:portType>
| <wsdl:binding name="echoServiceSoapBinding" type="impl:$Proxy0">
| <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
| <wsdl:operation name="echo">
| <wsdlsoap:operation soapAction=""/>
|
| <wsdl:input name="echoRequest">
| <wsdlsoap:body use="literal"/>
| </wsdl:input>
| <wsdl:output name="echoResponse">
| <wsdlsoap:body use="literal"/>
| </wsdl:output>
| </wsdl:operation>
| <wsdl:operation name="log">
| <wsdlsoap:operation soapAction=""/>
|
| <wsdl:input name="logRequest">
| <wsdlsoap:body use="literal"/>
| </wsdl:input>
| <wsdl:output name="logResponse">
| <wsdlsoap:body use="literal"/>
| </wsdl:output>
| </wsdl:operation>
| </wsdl:binding>
| <wsdl:service name="echoService">
|
| <wsdl:port binding="impl:echoServiceSoapBinding" name="echoService">
| <wsdlsoap:address location="http://localhost:81/services/echoService"/>
| </wsdl:port>
| </wsdl:service>
| </wsdl:definitions>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135406#4135406
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4135406
More information about the jbossws-users
mailing list