Estou passando pelo mesmo problema.
Alguem poderia nos ajudar?
Grato
Estou passando pelo mesmo problema.
Alguem poderia nos ajudar?
Grato
Oi pessoal!
Estou tentando montar um client para consumir um web service disponibilizado pelo Exchange da MS.
Estou tomando a seguinte exception:
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: The request failed schema validation: If the 'nillable' attribute is false in the schema, the 'xsi:nil' attribute must not be present in the instance.
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:116)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
at $Proxy42.findItem(Unknown Source)
at br.com.serasa.nfe.exchange.client.ItemTypeDAO.getFolderItems(ItemTypeDAO.java:73)
at br.com.serasa.nfe.exchange.client.ExchangeDevelopmentTest.main(ExchangeDevelopmentTest.java:44)
Após algumas pesquisas no google, percebi que não sou o único. Tentei algumas sugestões sem sucesso. Alguém já passou por isso?
As respostas mais próximas foram:
http://www.reidmiller.name/exchange_web_services_with_java_and_metro_exchangeserviceporttype_with_authentication
http://social.technet.microsoft.com/forums/en-US/exchangesvrdevelopment/thread/f235ab1b-0002-49ca-a931-bfef0817613c/
Obrigado!