11 years ago
Generate code > JAX-WS >> Cannot generate the service
Hi everyone,
When I try and generating a code with SoapUI I get the following error message:
Could you help me please?
FYI the WSDL has been generated by an Application Server on iSeries and works perfectly (tried it in PHP).
Fabien
When I try and generating a code with SoapUI I get the following error message:
Running JAX-WS wsimport for [WSPOS01ServicesPortBinding]
directory: C:\Program Files\Java\jaxws-ri\bin
command: [cmd.exe, /C, wsimport.bat, -verbose, C:\Users\username\AppData\Local\Temp\tempdir6209372167031725870.tmp\WSPOS01_1.wsdl]
parsing WSDL...
Generating code...
[ERROR] Could not generate Service, class: iseries.wsbeans.wspos01.WSPOS01 already exists. Rename wsdl:Service "{http://wspos01.wsbeans.iseries/}WSPOS01" using JAX-WS customization
line 106 of file:/C:/Users/username/AppData/Local/Temp/tempdir6209372167031725870.tmp/WSPOS01_1.wsdl
iseries\wsbeans\wspos01\IHEADER.java
iseries\wsbeans\wspos01\IITEM.java
iseries\wsbeans\wspos01\IMEANSOP.java
iseries\wsbeans\wspos01\OPOINTS.java
iseries\wsbeans\wspos01\ORESPONSE.java
iseries\wsbeans\wspos01\ObjectFactory.java
iseries\wsbeans\wspos01\WSPOS01Services.java
iseries\wsbeans\wspos01\Wspos01.java
iseries\wsbeans\wspos01\Wspos01Input.java
iseries\wsbeans\wspos01\Wspos01Response.java
iseries\wsbeans\wspos01\Wspos01Result.java
iseries\wsbeans\wspos01\package-info.java
Compiling code...
javac -d C:\Program Files\Java\jaxws-ri\bin\. -classpath C:\Program Files\Java\jaxws-ri\lib\jaxws-tools.jar -Xbootclasspath/p:C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\rt.jar C:\Program Files\Java\jaxws-ri\bin\.\iseries\wsbeans\wspos01\IHEADER.java C:\Program Files\Java\jaxws-ri\bin\.\iseries\wsbeans\wspos01\IITEM.java C:\Program Files\Java\jaxws-ri\bin\.\iseries\wsbeans\wspos01\IMEANSOP.java C:\Program Files\Java\jaxws-ri\bin\.\iseries\wsbeans\wspos01\OPOINTS.java C:\Program Files\Java\jaxws-ri\bin\.\iseries\wsbeans\wspos01\ORESPONSE.java C:\Program Files\Java\jaxws-ri\bin\.\iseries\wsbeans\wspos01\ObjectFactory.java C:\Program Files\Java\jaxws-ri\bin\.\iseries\wsbeans\wspos01\WSPOS01Services.java C:\Program Files\Java\jaxws-ri\bin\.\iseries\wsbeans\wspos01\Wspos01.java C:\Program Files\Java\jaxws-ri\bin\.\iseries\wsbeans\wspos01\Wspos01Input.java C:\Program Files\Java\jaxws-ri\bin\.\iseries\wsbeans\wspos01\Wspos01Response.java C:\Program Files\Java\jaxws-ri\bin\.\iseries\wsbeans\wspos01\Wspos01Result.java C:\Program Files\Java\jaxws-ri\bin\.\iseries\wsbeans\wspos01\package-info.java
Could you help me please?
FYI the WSDL has been generated by an Application Server on iSeries and works perfectly (tried it in PHP).
Fabien