Jagan,

looks to me as if you are trying to use a service with unsupported or unmapped parameter or return types. If you have no idea what it is you might want to debug that XFire code to get more information about the particular type which is causing the trouble. I would always suspect any type which is not a simple type, collection or a bean with properties of those types. Maybe it is also possible to increase the log level, not sure.

And did you see the root cause:

Caused by: javax.xml.bind.JAXBException: Unable to locate
jaxb.properties for package
https.secure_newcropaccounts_com.v7.webservices

Werner

Jagan Mohan Reddy wrote:
hi to all
i am trying to use Xfire in my application. i am getting the below mentioned
exception.
org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested
exception is org.codehaus.xfire.fault.XFireFault: Could not marshall
org.codehaus.xfire.fault.XFireFault: Could not marshall type.
        at org.codehaus.xfire.jaxb2.JaxbType.writeObject(JaxbType.java:266)
        at
org.codehaus.xfire.aegis.AegisBindingProvider.writeParameter(AegisBindingProvider.java:229)
        at
org.codehaus.xfire.service.binding.AbstractBinding.writeParameter(AbstractBinding.java:273)
        at
org.codehaus.xfire.service.binding.WrappedBinding.writeMessage(WrappedBinding.java:90)
        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:422)
        at
org.codehaus.xfire.transport.http.CommonsHttpMessageSender.send(CommonsHttpMessageSender.java:360)
        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:79)
        at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)
        at org.codehaus.xfire.client.Client.invoke(Client.java:336)
        at
org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
        at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
        at $Proxy12.getPatientFullMedicationHistory6(Unknown Source)
        at
com.itrust.ariel.client.EligibilityEnquiry.callMethod(EligibilityEnquiry.java:2149)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
com.itrust.ariel.client.EventHandler.invoke(EventHandler.java:23148)
        at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
com.itrust.ariel.client.EventHandler.callEvent(EventHandler.java:414)
        at
com.itrust.ariel.client.EventHandler.callEvents(EventHandler.java:293)
        at
com.itrust.ariel.client.EventHandler.executeEvent(EventHandler.java:535)
        at
com.itrust.ariel.client.FDBClientHandler$TabChangeListener.stateChanged(FDBClientHandler.java:4461)
        at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:290)
        at
javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:222)
        at
javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
        at
javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
        at
javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:478)
        at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:464)
        at
javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mousePressed(BasicTabbedPaneUI.java:3237)
        at java.awt.Component.processMouseEvent(Component.java:5514)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
        at java.awt.Component.processEvent(Component.java:5282)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3984)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3819)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
        at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1791)
        at java.awt.Component.dispatchEvent(Component.java:3819)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: javax.xml.bind.JAXBException: Unable to locate jaxb.properties
for package https.secure_newcropaccounts_com.v7.webservices
        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)

https.secure_newcropaccounts_com.v7.webservices this package name is come
from one jar created by my self using some class files. in this java class
they uses the xfire jar to create the soap message.
i added the both jars in the classpath but while runtime i am getting the
exception. plz any one help me on this issue ASAP, because its very urgent
to me

thanks in advance


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to