Einige Anpassungen auf 1.11.0-SNAPSHOT
This commit is contained in:
@@ -15,21 +15,29 @@ Nach der Code-Generierung müssen einige Schritte von Hand durchgeführt werden,
|
||||
enthalten ist:
|
||||
|
||||
1) Server (Class: OmdsServicePortImpl)
|
||||
Add import:
|
||||
import javax.xml.ws.soap.MTOM;
|
||||
Add a class annotation (above the class name):
|
||||
@MTOM(enabled = true, threshold = 1024)
|
||||
|
||||
Add a class annotation (above the class name):
|
||||
@MTOM(enabled = true, threshold = 1024)
|
||||
|
||||
Add import:
|
||||
import javax.xml.ws.soap.MTOM;
|
||||
|
||||
2) Client (Class: OmdsServicePortType_OmdsServicePort_Client)
|
||||
Add import:
|
||||
import javax.xml.ws.soap.MTOMFeature;
|
||||
Rewrite the OMDSService creation like following:
|
||||
OmdsService ss = new OmdsService(wsdlURL, SERVICE_NAME);
|
||||
OmdsServicePortType port = ss.getOmdsServicePort(new MTOMFeature(1024));
|
||||
|
||||
Rewrite the OMDSService creation like following:
|
||||
from
|
||||
OmdsService ss = new OmdsService(wsdlURL, SERVICE_NAME);
|
||||
OmdsServicePortType port = ss.getOmdsServicePort();
|
||||
to
|
||||
OmdsService ss = new OmdsService(wsdlURL, SERVICE_NAME);
|
||||
OmdsServicePortType port = ss.getOmdsServicePort(new MTOMFeature(1024));
|
||||
|
||||
Add import:
|
||||
import javax.xml.ws.soap.MTOMFeature;
|
||||
|
||||
# Fehlersuche
|
||||
* Wenn Bindings-Files fehlen, z.B. nicht im Pom deklariert sind, werden die Klassen zwar generiert,
|
||||
* Wenn Bindings-Files fehlen, z.B. nicht im Pom deklariert sind, werden die Klassen zwar generiert,
|
||||
aber der Pfad erscheint falsch, z.B. als _0._1._1
|
||||
* Wenn die X-Path-Ausdrücke in den Binding-Files versagen wird im Log nur eine Warnung ausgegeben,
|
||||
* Wenn die X-Path-Ausdrücke in den Binding-Files versagen wird im Log nur eine Warnung ausgegeben,
|
||||
die Generierung scheitert aber.
|
||||
*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user