Code Monkey home page Code Monkey logo

webentwt's Introduction

WebEntwT

This is a project of web development (2012/13) for M.Sc. Media Processing and Interactive Services of the University of Applied Sciences Schmalkalden. It can also be obtained at GitHub.

Prerequisites

  • use NetBeans
  • open all three projects in NetBeans

Building and running

  1. clean, build and run WebService before you are running OnlineShop (OnlineShop needs to fetch the WSDL file from WebService to generate some sources)
  2. clean, build and run OnlineShop
  3. you are done

Additional information

Bilingual pages

  • New product
  • Edit product

Exceptions

  • When the project starts, a file not found exception is displayed (because the webservice is'nt running and it wants to refresh the WSDL)
  • When OnlineShop is built for the first time, there may appear a file not found exception sometimes, even if the webservice is running. If this is the case, just clean&build Onlineshop again and the error is gone.

webentwt's People

Contributors

chrisuse avatar delbertooo avatar label avatar lizardoluis avatar manicpumpkin avatar sketch89 avatar

Watchers

 avatar  avatar  avatar  avatar

webentwt's Issues

Hinzufügen zu ArrayListe über Bean klappt nicht

Folgendes Problem wenn ich und Danny versuchen über eine Bean ein Produkt oder in meinem Fall eine PriceNotification zu einer Liste hinzuzufügen klappt das nicht. Der User besitzt sowohl eine PriceNotificationList als auch einen Warenkorb (Cart). Versuchen wir nun etwas zu diesen Listen hinzuzufügen klappt dies scheinbar, allerdings wird bei einer Ausgabe der Listen keine Veränderung angezeigt.

Bitten um Hilfe...

webservice.WebEntw_Service Class Not Found?

Wenn ich eine Funktion des WebServices aufrufe (in meinem Fall removeProductFromWishlist) bekomme ich folgende Exceptions geschmissen:

org.apache.jasper.JasperException: An exception occurred processing JSP page /RemoveProductFromWishlist.jsp at line 17

14:
15: try{
16: //wishlistBean.removeProduct(sessionBean.getCurrentUserID(), Integer.parseInt(request.getParameter("productID")));
17: wishlistBean.removeProductWS(sessionBean.getCurrentUserID(), Integer.parseInt(request.getParameter("productID")));
18: }
19: catch(ProductDoesNotExistException ex){
20: session.setAttribute("error", ex.getMessage());

Caused by: javax.servlet.ServletException: java.lang.NoClassDefFoundError: webservice/WebEntw_Service

Caused by: java.lang.NoClassDefFoundError: webservice/WebEntw_Service

Caused by: java.lang.ClassNotFoundException: webservice.WebEntw_Service

Warum findet er die Klasse nicht? Passiert das bei euch auch?

removeProductWS won't work

Huhu Jungs,

ich habe ein Problem mit dem löschen eines Produkts aus dem Warenkorb über den Web Service. Ich greife auf den Webservice mit der Funktion removeProductWS zu und bekomme an der Stelle return wsp.removeProductToCart(pId, pProductId); eine NullPointer Exception in der CartBean.java. Scheinbar hängt es daran, dass ich versuche mit dem WebService auf das Cart zuzugreifen. Leider weiß ich auch nicht, warum das der Fall ist.

Der Fehler sieht wie folgt aus:
Jan 23, 2013 12:58:23 AM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
javax.xml.ws.soap.SOAPFaultException: java.lang.NullPointerException
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:129)
at $Proxy51.removeProductToCart(Unknown Source)
at beans.CartBean.removeProductWS(CartBean.java:56)

Hat jemand eine Idee?

Projects don't compile properly

Hey guys. I have some pretty damn problems here. Need help :/
I'm gonna go through them step by step:

  1. When I started WebService, the Java DB Database Process couldn't start. Problem was, that some Process was listening to port 1527 already ... I looked it up in my firewall, and tadaaa it was java itself. I shut it down, restarted WebService. Now the Java DB Database Process runs.
  2. I don't really now, whether or not the WebService is running now. In fact I get massive error messages ... but it seems to run.
  3. Online Shop doesn't start at all. Is it planned, that WebService starts a Glassfish Server, but OnlineShop want's to run a Tomcat Server? Because that's the problem, I guess. Tomcat can't start because Glassfish already uses port 8080.

I just need to push some work. I'm almost finished, but I can't go on now.

UTF-8 Fehler

...\OnlineShop\build\generated-sources\jax-ws\webservice\StorageData.java:11: error: unmappable character for encoding UTF-8

  • Java-Klasse f?r storageData complex type.

Umlaute erzeugen Fehler.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.