Consumir o serviço

0 respostas
C
olá estou tentando consumir o serviço está dando esse erro .
------------ ---------------- ---------------
------------- Standard Error -----------------
06/11/2008 09:08:35 [com.sun.xml.ws.policy.jaxws.PolicyConfigParser]  parseModel
INFO: WSP1049: Loaded WSIT configuration from file: file:/C:/Documents%20and%20Settings/rsantos/Meus%20documentos/NetBeansProjects/BOMBEIO_WEB/Bombeio-WEB-WS/build/web/WEB-INF/classes/META-INF/wsit-client.xml
------------- ---------------- ---------------
Testcase: testServicePocoDetalhado(br.uff.addlabs.teste.TestePocoSimplesService):	Caused an ERROR
Failed to read a response: javax.xml.bind.UnmarshalException
 - with linked exception:
[javax.xml.stream.XMLStreamException: ParseError at [row,col]:[97,33]
Message: The element type "poco:ModeloEquipamento" must be terminated by the matching end-tag "</poco:ModeloEquipamento>".]
com.sun.xml.ws.encoding.soap.DeserializationException: Failed to read a response: javax.xml.bind.UnmarshalException
 - with linked exception:
[javax.xml.stream.XMLStreamException: ParseError at [row,col]:[97,33]
Message: The element type "poco:ModeloEquipamento" must be terminated by the matching end-tag "</poco:ModeloEquipamento>".]
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:259)
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:224)
        at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:117)
        at $Proxy31.getPocos(Unknown Source)
        at br.uff.addlabs.webService.client.PocoWS.getPoco(PocoWS.java:54)
        at br.uff.addlabs.webService.dao.DAOPocoSimples.getPocoDetalhado(DAOPocoSimples.java:141)
        at br.uff.addlabs.teste.TestePocoSimplesService.testServicePocoDetalhado(TestePocoSimplesService.java:49)
Caused by: javax.xml.bind.UnmarshalException
 - with linked exception:
[javax.xml.stream.XMLStreamException: ParseError at [row,col]:[97,33]
Message: The element type "poco:ModeloEquipamento" must be terminated by the matching end-tag "</poco:ModeloEquipamento>".]
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:422)
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:360)
        at com.sun.xml.bind.v2.runtime.BridgeImpl.unmarshal(BridgeImpl.java:120)
        at com.sun.xml.bind.api.Bridge.unmarshal(Bridge.java:233)
        at com.sun.xml.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:515)
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:256)
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[97,33]
Message: The element type "poco:ModeloEquipamento" must be terminated by the matching end-tag "</poco:ModeloEquipamento>".
        at com.sun.xml.stream.XMLReaderImpl.next(XMLReaderImpl.java:563)
        at com.sun.xml.ws.util.xml.XMLStreamReaderFilter.next(XMLStreamReaderFilter.java:92)
        at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:225)
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:358)
Criado 6 de novembro de 2008
Respostas 0
Participantes 1