Daniel,gerei as classes do cliente,mas agora surgiu outro problema:
Qdo tento acessar o web service a seguinte exceção é lançada:
No serializer found for class bean.BeanItem in registry org.apache.axis.encoding.TypeMappingDelegate@1faf3f4
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:317)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)
at org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:554)
at org.apache.axis.Message.getContentType(Message.java:486)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:343)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at ServletCliente.service(ServletCliente.java:44)
at
Saberia dizer porque isso acontece?Ja acessei diversos fóruns,e é uma pergunta recorrente,mas infelizmente a resposta nao é…
Grato
Rafael Roque
Sun Certified Programmer for Java 2 PlatForm 1.4
Sun Certified Web Component Developer for Java 2 PlatForm 1.4
[quote=raf4ever]Daniel,gerei as classes do cliente,mas agora surgiu outro problema:
Qdo tento acessar o web service a seguinte exceção é lançada:[/quote]
Estranho. Se você seguiu todos os passos, deveria funcionar.
estou começando em web services, e tenho uma pergunta:
Eu apenas renomeio a minha classe de .java para .jws e tudo bem, mas e quando tenho várias classes e elas estão divididas em pacotes, o que devo fazer?