Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Webservice ohne Eclipse auf Tomcat

Empfohlene Antworten

Veröffentlicht

Hallo,

ich habe einen Webservice und einen Client geschrieben (Eclipse). Wenn ich den Service mit Eclipse starte (Tomcat/Axis2) funktioniert das ganze. Der Client wird ohne Fehlermeldung ausgeführt.

Nun möchte ich den Service auf einem Tomcat (Stand alone) deployen. Dazu habe ich die Inhalte von WEB-INF aus Eclipse in das axis/WEB-INF - Verzeichnis der Tomcat geschoben und die .class Datei in axis/WEB_INF/classes.

Übrer die MangerKonsole des Tomcat kann sehe ich den Webservice (running). Allerdings bekomme ich folgende Fehlermeldung, wenn ich den Client starte:

Code:

[iNFO] Unable to sendViaPost to url[http://192.168.2.3:8080/FRM_WebService/services/WS]

org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found

at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:296)

at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:190)

at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)

at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:371)

at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:209)

at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)

at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)

at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)

at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)

at org.apache.ws.axis2.WSStub.return_hash(WSStub.java:410)

at org.apache.ws.axis2.WSClient.hashString(WSClient.java:30)

at org.apache.ws.axis2.WSClient.main(WSClient.java:15)

org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found

at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:296)

at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:190)

at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)

at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:371)

at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:209)

at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)

at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)

at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)

at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)

at org.apache.ws.axis2.WSStub.return_hash(WSStub.java:410)

at org.apache.ws.axis2.WSClient.hashString(WSClient.java:30)

at org.apache.ws.axis2.WSClient.main(WSClient.java:15)

Hat jemand eine Idee was ich vergessen habe?

Oder ist der Ansatz falsch?

Grüße Oli

Ich würde tippen, dass der Context Path Deiner Axis Webanwendung nicht "/FRM_WebService" ist, sondern "/axis".

Schöne Grüße,

Peter

Die Frage ist trotzdem, unter welchem Context Path die Webanwendung Axis im Tomcat deployed wird. Und das ist im Standardfall der Name des WARs. Wenn Du unter webapps/ also ein Verzeichnis axis/ hast, dann ist der Context Path /axis. Erst darunter löst dann die Anwendung auf.

Peter

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.