| Author |
Message |
|
|
Post subject: Other package for generated files
Posted: Jul 11, 2006 - 03:43 PM
|
|

Joined: Nov 25, 2004
Posts: 63
|
|
Is it possible to put the generated files (by the web service wizard) in another package (at generation). I know you can refactor and move those files. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 11, 2006 - 07:10 PM
|
|
Moderator


Joined: Aug 21, 2004
Posts: 2509
|
|
Hysterio,
Both top down and bottom up wizards give you a field into which you can put in your desired package name. For the POJOs generated by the top down wizard, those are decided based on the namespace in the WSDL document and cannot be changed.
Perhaps I have misunderstood your question, if so, could you elaborate a little more?
Best,
Brian. |
_________________ Brian
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 12, 2006 - 07:53 AM
|
|

Joined: Nov 25, 2004
Posts: 63
|
|
Brian,
i created already some JAX-WS web services with NetBeans 5.0, so i looked forward to the M2 release of ME5.0
So yesterday i spend a whole day to do some experiments with the web services.
in netbeans you have a build.xml and one of its entries is:
[target name="-pre-compile-test"]
[taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport"]
[classpath path="${javac.classpath}"/]
[/taskdef]
[!-- Use "debug" or "run" here. -->
[antcall target="run"/]
[echo]running wsimport[/echo]
[wsimport
debug="true"
keep="true"
destdir="test"
package="be.aquafin.webgis.ws03.server.generated"
wsdl="http://10.1.10.117:8084/WS03/dbService?wsdl"/]
[/target]
and like you can see, you can give a package (bold) and the generated files will be added to the package.
but depending on your explanation it isn't possible with MyEclipse 5.0M2 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 12, 2006 - 11:06 AM
|
|
Moderator


Joined: Aug 21, 2004
Posts: 2509
|
|
Hysterio,
1) Are you using the top down wizard or bottom up?
2) Have you tried specifying a package in the appropriate wizard fields? What happens?
If you're using the top down wizard, package names for the POJOs depends on the namespace within your WSDL file, this is usually what most people expect. Do you want to keep one namespace and use a non-corresponding package name?
The pacakge field controls the packe of the service interface, service implementation and test client if any.
Best,
Brian. |
_________________ Brian
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 12, 2006 - 11:36 AM
|
|

Joined: Nov 25, 2004
Posts: 63
|
|
OK, if i check "define custom mapping for namespace" and i add a mapping, the wizard puts the generated files in the package i defined. so you can do it and it works. you only have to know where to look in the wizard :)
so this was a not needed question if i had done some better experimenting and trying |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 13, 2006 - 12:03 AM
|
|
Moderator


Joined: Aug 21, 2004
Posts: 2509
|
|
Hysterio,
I'm afraid we don't have a "define custom mapping for namespace" setting in any of our wizards. I think you might have got our Wizards crossed with the WTP WebService wizards which we do not support right now.
Can you tell me how you invoke this wizard?
To see only MyEclipse wizards, please turn go to Window > Preferences > General > Capabilities and click Advanced. Under MyEclipse Standard Tools, turn WTP Exras and WTP Deprecated off.
If you installed a full Callisto stack, the capabilies might look a little different, turn off all capabilities under the development category except Java development (and optionally PDE).
Best,
Brian. |
_________________ Brian
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 13, 2006 - 10:27 AM
|
|

Joined: Nov 25, 2004
Posts: 63
|
|
The WTP Extras & WTP Deprecated are turned off by default, so i checked it again but they weren't checked
to retrieve what i'm talking about:
- go to Web Services explorer
- go to the wsdl view
- click on "wsdl main"
- type an url to a wsdl
- click go
- select in the navigator the link to the wsdl
- scroll in the Actions to the bottom. under "Other Actions" click on "Launch Web Service Wizard"
- select then "Web Service Client" and click Go
- a new window opens
- then i set "Client Project" to a project in my workspace and i set the "Client EAR project" to nothing and click next
- the following page is displayed
- and there is the "define custom mapping for namespace to package" checkbox. if you check that one, you get another screen when you click next (there you can tell which namespace has to be mapped to which package), otherwise you have to click on finish |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 13, 2006 - 10:58 AM
|
|
Moderator


Joined: Aug 21, 2004
Posts: 2509
|
|
Hysterio,
Thanks for all that detail. The wizard you are referring to is a WTP wizard and not ours.
Through the capabilies settings, we suppress wizards and UI elements which we do not support in MyEclipse, this particular action to invoke the wizard was overlooked.
We do not support this wizard right now, but will in future releases.
To use the MyEclipse XFire based wizards, please see File > New > Other > MyEclipse > Web Services > Web Service.
You can also invoke this wizard from the Eclipse toolbar.
I apologize for the inconvenience and confusion,
Best,
Brian. |
_________________ Brian
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 13, 2006 - 11:57 AM
|
|

Joined: Nov 25, 2004
Posts: 63
|
|
OK, we are talking about the same thing now, so i will shoot some questions about those wizards:
1. wizard bottom-up
-----------------------
i create a web-service and i make some adjustments (with jax-ws and so). i'll get this very basic service
| Code: |
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
@WebService(name="Hallo", serviceName="HalloService")
public interface IHalloService {
@WebMethod
public String zegHallo(@WebParam(name="naam") String s);
}
|
i also have the implementation class adjusted.
i deploy the web services project to my tomcat.
now i can go to the wsdl-file in the web services explorer and try out my web service
2. top-down
--------------
i start the wizard and choose for wsdl url, so i give the same url i used in 1 to try out my web service, i give also a package and click op finish. a couple of new classes are generated, some in the new package i declared, some in other packages (so that's the answer to my initial question)
so things get a lot more obvious now:
- the question i posted here is solved because there i was using wizard of myeclipse and also the wizard of wtp, and that's why results (generated classes) were different
- the classes generated with the top-down of MyEclipse are very equivalent with those generated with NetBeans 5.0 (because i used that one first)
- 1 remark/question: i made some (very basic) web services with NetBeans 5.0, when i try to use the top-down wizard with a wsdl url, i got "error generating services" and the details-button is greyed out (disabled) so can't look to the details of it. if i try the same with the wizard of wtp (described above) everything is generated properly, no error.
in the error log i find
| Code: |
!ENTRY com.genuitec.eclipse.ws.xfire 4 0 2006-07-13 12:56:27.076
!MESSAGE Error generating services
!STACK 0
org.codehaus.xfire.XFireRuntimeException: Couldn't find schema for part: {http://server.ws03.webgis.aquafin.be/}getAantalRecords
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.isWrapped(WSDLServiceBuilder.java:521)
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLServiceBuilder.java:376)
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.build(WSDLServiceBuilder.java:187)
at org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:100)
at com.genuitec.eclipse.ws.xfire.generator.WSGenJob.run(WSGenJob.java:59)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
|
|
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 14, 2006 - 12:06 AM
|
|
Moderator


Joined: Aug 21, 2004
Posts: 2509
|
|
Hysterio,
Glad we're on the same page now.
Can you send us the WSDL in question? It appears that our top down generator fails for some files and we are investigating it right now. I could add yours to the report, it should help us fix this faster.
You can paste the WSDL here or mail it to support@myeclipseide.com ATTN Brian with a link to this thread.
Best,
Brian. |
_________________ Brian
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 14, 2006 - 08:45 AM
|
|

Joined: Nov 25, 2004
Posts: 63
|
|
|
|
|
 |
|
|
Post subject:
Posted: Jul 18, 2006 - 10:18 AM
|
|
Moderator


Joined: Aug 21, 2004
Posts: 2509
|
|
I apologize for the late response,
We received your WSDL files and I was able to reproduce this issue locally. Your problem is because you are referring to some schema in your wsdl files, which our generator attempts to reach and download (http://10.x.x....) , but is unable to do so, causing the gneration to fail. You can look at the Error Log for more details.
If you can make sure that the referenced schema is available, the generator should work without issue. Let us know how it goes.
Best,
Brian. |
_________________ Brian
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 18, 2006 - 10:30 AM
|
|

Joined: Nov 25, 2004
Posts: 63
|
|
on startup i got this error:
!SESSION 2006-07-18 11:26:41.783 -----------------------------------------------
eclipse.buildId=M20060629-1905
java.version=1.5.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_BE
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.jdt.core 4 4 2006-07-18 11:26:57.076
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
package be.aquafin.webgis.ws01me.server;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
@WebService(name="Hallo", serviceName="HalloService")
public interface IHalloService {
@WebMethod
public String zegHallo(@WebParam(name="naam") String s);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:41)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073)
at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4188)
at com.genuitec.eclipse.j2eedt.classpath.J2EEContainerInitializer.initialize(Unknown Source)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073)
at org.eclipse.jdt.internal.core.JavaProject.buildStructure(JavaProject.java:337)
at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:229)
at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:505)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:249)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:235)
at org.eclipse.jdt.internal.core.JavaProject.getJavaProjectElementInfo(JavaProject.java:1635)
at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2552)
at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:53)
at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:67)
at org.eclipse.jdt.internal.core.CancelableNameEnvironment.<init>(CancelableNameEnvironment.java:26)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:159)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:248)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:152)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:71)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:779)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1123)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:97)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:82)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initialReconcile(JavaReconcilingStrategy.java:172)
at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.initialReconcile(CompositeReconcilingStrategy.java:114)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.initialReconcile(JavaCompositeReconcilingStrategy.java:120)
at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.java:103)
at org.eclipse.jdt.internal.ui.text.JavaReconciler.initialProcess(JavaReconciler.java:331)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:170)
!ENTRY org.eclipse.jdt.ui 4 0 2006-07-18 11:26:57.106
!MESSAGE Error in JDT Core during reconcile
!STACK 1
Java Model Exception: java.lang.NullPointerException
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:226)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:248)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:152)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:71)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:779)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1123)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:97)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:82)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initialReconcile(JavaReconcilingStrategy.java:172)
at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.initialReconcile(CompositeReconcilingStrategy.java:114)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.initialReconcile(JavaCompositeReconcilingStrategy.java:120)
at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.java:103)
at org.eclipse.jdt.internal.ui.text.JavaReconciler.initialProcess(JavaReconciler.java:331)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:170)
org.eclipse.jdt.core.JavaModelException[1005]: java.lang.NullPointerException
at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:41)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073)
at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4188)
at com.genuitec.eclipse.j2eedt.classpath.J2EEContainerInitializer.initialize(Unknown Source)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073)
at org.eclipse.jdt.internal.core.JavaProject.buildStructure(JavaProject.java:337)
at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:229)
at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:505)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:249)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:235)
at org.eclipse.jdt.internal.core.JavaProject.getJavaProjectElementInfo(JavaProject.java:1635)
at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2552)
at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:53)
at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:67)
at org.eclipse.jdt.internal.core.CancelableNameEnvironment.<init>(CancelableNameEnvironment.java:26)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:159)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:248)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:152)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:71)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:779)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1123)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:97)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:82)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initialReconcile(JavaReconcilingStrategy.java:172)
at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.initialReconcile(CompositeReconcilingStrategy.java:114)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.initialReconcile(JavaCompositeReconcilingStrategy.java:120)
at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.java:103)
at org.eclipse.jdt.internal.ui.text.JavaReconciler.initialProcess(JavaReconciler.java:331)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:170)
Caused by: java.lang.NullPointerException
at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:41)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073)
at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4188)
at com.genuitec.eclipse.j2eedt.classpath.J2EEContainerInitializer.initialize(Unknown Source)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073)
at org.eclipse.jdt.internal.core.JavaProject.buildStructure(JavaProject.java:337)
at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:229)
at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:505)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:249)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:235)
at org.eclipse.jdt.internal.core.JavaProject.getJavaProjectElementInfo(JavaProject.java:1635)
at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2552)
at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:53)
at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:67)
at org.eclipse.jdt.internal.core.CancelableNameEnvironment.<init>(CancelableNameEnvironment.java:26)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:159)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:248)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:152)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:71)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:779)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1123)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:97)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:82)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initialReconcile(JavaReconcilingStrategy.java:172)
at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.initialReconcile(CompositeReconcilingStrategy.java:114)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.initialReconcile(JavaCompositeReconcilingStrategy.java:120)
at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.java:103)
at org.eclipse.jdt.internal.ui.text.JavaReconciler.initialProcess(JavaReconciler.java:331)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:170)
!SUBENTRY 1 org.eclipse.jdt.core 4 1005 2006-07-18 11:26:57.106
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:41)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073)
at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4188)
at com.genuitec.eclipse.j2eedt.classpath.J2EEContainerInitializer.initialize(Unknown Source)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073)
at org.eclipse.jdt.internal.core.JavaProject.buildStructure(JavaProject.java:337)
at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:229)
at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:505)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:249)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:235)
at org.eclipse.jdt.internal.core.JavaProject.getJavaProjectElementInfo(JavaProject.java:1635)
at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2552)
at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:53)
at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:67)
at org.eclipse.jdt.internal.core.CancelableNameEnvironment.<init>(CancelableNameEnvironment.java:26)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:159)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:248)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:152)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:71)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:779)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1123)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:97)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:82)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initialReconcile(JavaReconcilingStrategy.java:172)
at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.initialReconcile(CompositeReconcilingStrategy.java:114)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.initialReconcile(JavaCompositeReconcilingStrategy.java:120)
at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.java:103)
at org.eclipse.jdt.internal.ui.text.JavaReconciler.initialProcess(JavaReconciler.java:331)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:170) |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 18, 2006 - 10:35 AM
|
|
Moderator


Joined: Aug 21, 2004
Posts: 2509
|
|
Hysterio,
Please clean and rebuild your project, delete the error log and restart Eclipse. Check the log again so that we know the errrors are current and not stale.
I see these logs, but are you experiencing any issues with usability? Did you fix the WSDL generation issue?
Best,
Brian |
_________________ Brian
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 18, 2006 - 10:36 AM
|
|

Joined: Nov 25, 2004
Posts: 63
|
|
wsdl: http://10.1.10.117:8080/WS01/hallo?wsdl
the ip-adress is the adress of my pc, so it would be the same as localhost
(ipconfig)
IP Address. . . . . . . . . . . . : 10.1.10.117
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 10.1.30.1
when i open the wsdl in IE, i got the xml-schema
when i open the web service with the web services wizard of MyEclipse i'm able to test it, so i would think it's accessible
even tough if i try to create web service top-down with an url i got "error while generating services". if i save wsdl to file on disk and try the same (but of course with wsdl file), i got same error
in log file:
!ENTRY com.genuitec.eclipse.ws.xfire 4 0 2006-07-18 11:35:51.330
!MESSAGE Error generating services
!STACK 0
java.io.IOException: Could not find resource 'the ip-adress is the adress of my pc, so it would be the same as localhost' relative to 'null'
at org.codehaus.xfire.util.Resolver.<init>(Resolver.java:117)
at org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:80)
at com.genuitec.eclipse.ws.xfire.generator.WSGenJob.run(WSGenJob.java:59)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
!ENTRY com.genuitec.eclipse.ws.xfire 4 0 2006-07-18 11:36:07.752
!MESSAGE Error generating services
!STACK 0
org.codehaus.xfire.XFireRuntimeException: Couldn't find schema for part: {http://server.ws01.webgis.aquafin.be/}zegHallo
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.isWrapped(WSDLServiceBuilder.java:521)
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLServiceBuilder.java:376)
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.build(WSDLServiceBuilder.java:187)
at org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:100)
at com.genuitec.eclipse.ws.xfire.generator.WSGenJob.run(WSGenJob.java:59)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) |
|
|
| |
|
|
|
 |
|
|