For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 5 replies, 2 voices, and was last updated 19 years, 1 month ago by
Loyal Water.
-
AuthorPosts
-
anlevinMemberHi,
I’ve created a new Web Service using myeclipse that exposes three methods:
I’ve also created a Web Service Client using myeclise. when I am debugging the application using myeclipse, everything seems to be working ok.
When I moved from my development workspace to the depolyed environment I get the following error:
ERROR -Thread-20- [SanityTestRunThread.java:198] 12 Jul 2007 07:05:47,790 SanityTestRunThread – Caught error while calling web service
org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Could not marshall type.
org.codehaus.xfire.fault.XFireFault: Could not marshall type.
at org.codehaus.xfire.jaxb2.JaxbType.writeObject(JaxbType.java:254)
at org.codehaus.xfire.aegis.AegisBindingProvider.writeParameter(AegisBindingProvider.java:200)
at org.codehaus.xfire.service.binding.AbstractBinding.writeParameter(AbstractBinding.java:273)
at org.codehaus.xfire.service.binding.WrappedBinding.writeMessage(WrappedBinding.java:89)
at org.codehaus.xfire.soap.SoapSerializer.writeMessage(SoapSerializer.java:80)
at org.codehaus.xfire.transport.http.HttpChannel.writeWithoutAttachments(HttpChannel.java:56)
at org.codehaus.xfire.transport.http.CommonsHttpMessageSender.getByteArrayRequestEntity(CommonsHttpMessageSender.java:313)
at org.codehaus.xfire.transport.http.CommonsHttpMessageSender.send(CommonsHttpMessageSender.java:251)
at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:123)
at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:75)
at org.codehaus.xfire.client.Client.invoke(Client.java:335)
at org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
at $Proxy15.runSanityTest(Unknown Source)
at managementLayer.SanityTestRunThread.run(SanityTestRunThread.java:191)
Caused by: javax.xml.bind.JAXBException: Unable to locate jaxb.properties for package logicallayer
at javax.xml.bind.ContextFinder.searchcontextPath(ContextFinder.java:205)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:149)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:281)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:238)
at org.codehaus.xfire.jaxb2.JaxbType.getJAXBContext(JaxbType.java:294)
at org.codehaus.xfire.jaxb2.JaxbType.writeObject(JaxbType.java:218)for one out of the three methods. This method recieves as parameters: String, String[] (which was translated by my eclipse to ArrayOfString ) and boolean.
When debugging in the production enviroment (but with another IDE) I also get the same problem.
Can someone tell me what am I missing?Thanks,
July 12, 2007 at 10:02 am #272652
Loyal WaterMemberCan you post your installation details for me please. The posting guideline is given at the top of the forum.
July 14, 2007 at 9:32 am #272717
anlevinMemberThis is the info I got from the “About”:
MyEclipse Enterprise WorkbenchVersion: 5.1.1 GA
Build id: 20070302-5.1.1-GAAny other information needed?
July 16, 2007 at 8:14 am #272749
Loyal WaterMemberI want to know what JDK you are using:-
https://www.genuitec.com/forums/topic/forum-posting-guidelines-please-read-10/July 17, 2007 at 1:10 am #272793
anlevinMemberThese are the details according to the instructions:
*** Date:
Tuesday, July 17, 2007 6:07:17 AM GMT** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_08*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.1.1 GA
Build id: 20070302-5.1.1-GA*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.1.1 GA
Build id: 20070302-5.1.1-GAEclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20060921-0945Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20060921-0945Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20070212-1330Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
884_70
-vm
C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\jre\bin\javaw.exeThanks,
July 17, 2007 at 1:25 pm #272834
Loyal WaterMemberEverything with your setup looks fine… and you said it used to work during development but production is giving you problems… can you think of any differences between the two?
-
AuthorPosts
