Problem creating webservice Consumer [message #1053354] |
Sat, 04 May 2013 11:19 |
Yassine MILHI Messages: 11 Registered: March 2013 |
Junior Member |
|
|
Hi,
I am using Scout Juno SR1. Its the first time I am generating a WebService Consumer.
When I create a webservice Consumer (using the tutorial on that topic: http://wiki.eclipse.org/Scout/Tutorial/3.8/webservices/Webservices_with_JAX-WS) I get an error as soon as I finish the wizard. I think all the files are generated but the service and Port type are not filled (see Attachment below). I get an Error on my source but I don't know how to fix it.
Console code
[INFO] JAX-WS option: -b WEB-INF/build/StockQuoteServiceSoapWebServiceClient-bindings.xml
[INFO] JAX-WS directive: -verbose
[INFO] JAX-WS option: -target 2.0
[INFO] JAX-WS directive: -Xdebug
[INFO] JAX-WS directive: -keep
[color=red][ERROR]java.lang.NullPointerException
at org.eclipse.scout.jaxws.tool.JaxWsStubGenerator.compile(JaxWsStubGenerator.java:345)
at org.eclipse.scout.jaxws.tool.JaxWsStubGenerator.main(JaxWsStubGenerator.java:248)[/color]
[INFO] Stub JAR-file 'StockQuoteService.jar' created
[INFO] JAX-WS stub generation completed. For debugging purpose, please see the following debug output.
[INFO] parsing WSDL...
[DEBUG] Authorization file "C:\Users\Administrateur\.metro\auth" not found. If the WSDL access needs Basic Authentication, please provide authorization file with read access at C:\Users\Administrateur\.metro\auth or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port//<url-path>
[WARNING] Ignoring SOAP port "StockQuoteServiceSoap12": it uses non-standard SOAP 1.2 binding.
You must specify the "-extension" option to use this binding.
line 130 of file:/C:/Users/Administrateur/WorkTmp/org.eclipse.scout.tutorial.jaxws.server.tutorial/WEB-INF/wsdl/consumer/StockQuoteService.asmx.wsdl
Generating code...
com\nexus6studio\services\ArrayOfStockQuote.java
com\nexus6studio\services\ArrayOfString.java
com\nexus6studio\services\GetStockQuote.java
com\nexus6studio\services\GetStockQuoteResponse.java
com\nexus6studio\services\GetStockQuotes.java
com\nexus6studio\services\GetStockQuotesResponse.java
com\nexus6studio\services\ObjectFactory.java
com\nexus6studio\services\StockQuote.java
com\nexus6studio\services\StockQuoteService.java
com\nexus6studio\services\StockQuoteServiceSoap.java
com\nexus6studio\services\package-info.java
[INFO] WSDL model could not be parsed to display service properties
How can I configure or fix this?
Regards Yassine
[Updated on: Sat, 04 May 2013 11:24] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.63631 seconds