title: Soap Mismatch between Java model and WSDL model found
body: <p>I'm developing an <code>SOAP Service</code> in Java but i encountered this error:</p>
  
  <pre><code>WARNING: Mismatch between Java model and WSDL model found, For wsdl operation 
  {http://database.unitn.it/}isLoginOkay,There is no matching wsdl fault with detail 
  QName {http://interfaces.database.unitn.it/}Exception
  com.sun.xml.internal.ws.spi.db.DatabindingException: Unknown JAXBContext 
  implementation: class com.sun.xml.bind.v2.runtime.JAXBContextImpl
  at  com.sun.xml.internal.ws.spi.db.BindingContextFactory.getJAXBFactory(BindingContextFactory.j
  ava:192)
  at com.sun.xml.internal.ws.spi.db.BindingContextFactory.create(BindingContextFactory.java:134)
  at com.sun.xml.internal.ws.message.jaxb.JAXBMessage.create(JAXBMessage.java:152)
  at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createSOAPFaultMessage(SOAPFaultBuilder.java:241)
  at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createSOAPFaultMessage(SOAPFaultBuilder.java:224)
  at com.sun.xml.internal.ws.wsdl.PayloadQNameBasedOperationFinder.getWSDLOperationMapping(PayloadQNameBasedOperationFinder.java:143)
  at com.sun.xml.internal.ws.wsdl.OperationDispatcher.getWSDLOperationMapping(OperationDispatcher.java:82)
  at com.sun.xml.internal.ws.api.message.Packet.getWSDLOperationMapping(Packet.java:285)
  at com.sun.xml.internal.ws.api.message.Message.getOperation(Message.java:284)
  at com.sun.xml.internal.ws.api.message.Message.getOperation(Message.java:302)
  at com.sun.xml.internal.ws.api.message.Message.isOneWay(Message.java:379)
  
  ...
  </code></pre>
  
  <p>I am working with java 1.8 and everything run on localhost. The wsdl seams to work fine.
  I do not know what the problem could be. I tried a lot to solve the problem but I have not four no one thread that talk about this problem.
  Please help.</p>
  
  <p>EDIT:</p>
  
  <p>Here the publisher:</p>
  
  <pre><code>private static final String mUrl = "http://localhost:" + Ports.MASTER_DATABASE_SERVICE + "/database";
  
  public static void launch() throws Exception
  {
      System.out.println("----Starting on ..." + mUrl);
      Endpoint.publish(mUrl, new Database());
      System.out.println("----SOAP Service started!!!!");
  }
  </code></pre>
  
  <p>Here the interface for the client part:</p>
  
  <pre><code>@WebService
  @SOAPBinding(style = Style.RPC)
  public interface DatabaseAPIsInterface
  {
  
      @WebMethod
      public User isLoginOkay(String password, String email) throws Exception;
  
  }
  </code></pre>
  
  <p>Here the implementation of the method <code>isLoginOkay(...)</code> </p>
  
  <pre><code>@Override
  public User isLoginOkay(String password, String email) throws Exception
  {
      Database db = null;
      try
      {
          db = fromConnectionPool();
          Dao&lt;User, Integer&gt; dao = createPersonDAO(db);
          throwIfSomeNull(password, email);
  
          QueryBuilder&lt;User, Integer&gt; builder = dao.queryBuilder();
  
          User user = builder.where().eq(User.FIELD_NAME_EMAIL, email).and().eq(User.FIELD_NAME_PASSWORD, password).queryForFirst();
          if (user != null) return user;
          else throw new FileNotFoundException("User does not exist");
  
      } finally
      {
          close(db);
      }
  }
  </code></pre>
  
  <p>And here the client part:</p>
  
  <pre><code>    String mUrl = "http://localhost:" + Ports.MASTER_DATABASE_SERVICE + "/database?wsdl";
      URL url = new URL(mUrl);
      QName qname = new QName("http://database.unitn.it/", "DatabaseService");
      Service service = Service.create(url, qname);
      DatabaseInterface database = service.getPort(new QName("http://database.unitn.it/", "DatabasePort"), DatabaseAPIsInterface.class);
      User user = database.isLoginOkay(password, email);
      System.out.println(user);
  </code></pre>