Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

need help to resolve unexpected XML tag expected:.......  RSS feed

kunal kathrotia
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
unexpected XML tag. expected: {http://service/}getProjectsResponse but found: {}Envelope

this Error Occurs when i try to Retrieve the Project table data from a Stateless EJB Throgh a webservice in my jsf web application...
Project is entity class from database in EJB Module.....

In Newproject.xhtml..

<html xmlns=""
<title>Facelet Title</title>
<table align="center" style="margin-top: 100px;">
<h:inputText id="projectName" value="#{newProjectBean.projectName}"/>
<h:commandButton value="Add" action="#{newProjectBean.addProject}"/>
<h:dataTable value="#{newProjectBean.allProjects}" var="proj">
<f:facet name="header">
<hutputText value="#{proj.projName}"/>

in newProjectBean

@WebServiceRef(wsdlLocation = "WEB-INF/wsdl/localhost_8080/ProjEmpServiceService/ProjEmpService.wsdl")
private ProjEmpServiceService service;
service.ProjEmpService port;

public List<Project> getAllProjects()
return port.getProjects();

ANY suggestion will Appreciate..
Thanks in Advance.......
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!