Skip to main content

error invoking a web service through a proxy in a jsf application

No replies
Joined: 2010-06-10
Points: 0

I have a developed a simple JSF application using Jdeveloper 11g.
To this application i have added a webservice proxy which generates the proxy client which communicates with the peoplesoft webservice.
when i run the standalone proxy class, it is able to connect to the webservice and get the required data.
But as i deploy the whole JSF application (where the managed bean calls a method in the client) in Integrated weblogic server, i get an XMLStreamReaderException.
To debug this issue i deployed the war file in apache-tomcat6.0.26 , it actually worked , my jsf application was able to get the data from the webservice.
I was thinking, it could be a packaging problem of JDev, the way it creates the war file may be faulty, but i tried building the war file externally
and still it did not work.
I am totally stuck currently how do i approach this problem.
I am not finding any links that can help me.
Any help is appreciated.

The error i get in the weblogic is unexpected XML tag. expected: {}Get__CompIntfc__KCM_WEB_CASE_CIResponse but found: {}Get__CompIntfc__KCM_WEB_CASE_CIResponse
avax.faces.el.EvaluationException: unexpected XML tag. expected: {}Get__CompIntfc__KCM_WEB_CASE_CIResponse but found: {}Get__CompIntfc__KCM_WEB_CASE_CIResponse
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(
at com.sun.faces.application.ActionListenerImpl.processAction(
at javax.faces.component.UICommand.broadcast(
at javax.faces.component.UIViewRoot.broadcastEvents(
at javax.faces.component.UIViewRoot.processApplication(
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(
at com.sun.faces.lifecycle.Phase.doPhase(
at com.sun.faces.lifecycle.LifecycleImpl.execute(
at javax.faces.webapp.FacesServlet.service(
at weblogic.servlet.internal.StubSecurityHelper$

thanks in advance